Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-43280

[Spike] Research generation of RBAC UI test cases from IQE test source and conversion to Playwright tests

XMLWordPrintable

    • Future Sustainability
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None

      If we are to successfully migrate away from IQE UI tests, we'll need to confirm that we can rely on AI to help us migrate. Some rudimentary work has been done to confirm that we can generate test case docs and use those docs to create Playwright tests.

      1. Generated test case docs: https://github.com/RedHatInsights/insights-rbac-ui/blob/ee7281d035d99040e890cdb71fb940edb8bb96ab/playwright/Users.spec.ts
      2. Generated Playwright tests: https://github.com/catastrophe-brandon/insights-rbac-ui/blob/btweed/rbac-ui-playwright/playwright/Users.spec.ts 

      AC

      1. Use AI to generate test case docs for remainder of RBAC test suites (focus on the most meaningful/relevant test coverage).
      2. Using the test case docs, generate a subset of the tests, pick a source file of your choosing.
      3. Review and update the tests to confirm that they provide the desired coverage.
      4. Commit and merge the tests.

      Note: For this exercise the tests do not have to run in CI/CD pipeline, but they do need to work when run locally against stage.

              jjaquish@redhat.com Jack Jaquish
              btweed@redhat.com Brandon Tweed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: