Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to support/enable E2E tests for extensions #6871

Closed
nwmac opened this issue Sep 13, 2022 · 5 comments · Fixed by #10102
Closed

Figure out how to support/enable E2E tests for extensions #6871

nwmac opened this issue Sep 13, 2022 · 5 comments · Fixed by #10102
Assignees
Labels
area/extensions kind/tech-debt Technical debt QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Milestone

Comments

@nwmac
Copy link
Member

nwmac commented Sep 13, 2022

Figure out how to support/enable E2E tests for extensions (formerly plugins)

@nwmac nwmac modified the milestones: v2.7.0, v2.7.1 Sep 13, 2022
@gaktive gaktive modified the milestones: v2.7.2, v2.7.1 Oct 5, 2022
@nwmac nwmac modified the milestones: v2.7.1, v2.7.2 Oct 26, 2022
@catherineluse catherineluse added the kind/tech-debt Technical debt label Nov 6, 2022
@gaktive gaktive changed the title Figure out how to support/enable E2E tests for plugins Figure out how to support/enable E2E tests for extensions Dec 9, 2022
@gaktive gaktive added the QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this label May 8, 2023
@nwmac nwmac modified the milestones: v2.7.next2, v2.7.next3 May 9, 2023
@gaktive
Copy link
Member

gaktive commented Jun 8, 2023

Might require a 2nd ticket so that we periodically check other projects (Kubewarden, Elemental) to see that extensions don't break.

@aalves08
Copy link
Member

aalves08 commented Jun 21, 2023

@gaktive what's the scope/goals of this issue? 🙏

@gaktive
Copy link
Member

gaktive commented Jun 21, 2023

Let's check in with @nwmac when he's back but the key thinking here is how to regularly test the UI so that extensions don't break over time.

@aalves08
Copy link
Member

Ok. sounds good @gaktive . We have e2e tests for Elemental and Kubewarden already in place, so the goal is to figure out how to run them from time to time in our Dashboard test suite. 🙏

@nwmac nwmac modified the milestones: v2.7.next3, v2.7.next4 Jun 27, 2023
@nwmac nwmac modified the milestones: v2.8.0, v2.8.next1 Aug 15, 2023
@aalves08 aalves08 self-assigned this Nov 20, 2023
@aalves08
Copy link
Member

After some investigation on how to run the e2e tests that are already coded for Kubewarden and Elemental from a Dashboard workflow, it's very difficult to achieve because one of those e2e it's written for Playwright (kubewarden) and the other has a very specific environment that it runs on (elemental - https://github.com/rancher/elemental/tree/main/tests/cypress/latest).

Improving the test-plugins-build script to test extension build seems like an "easy" win in light to the work to run those e2e (if it's even possible to do so). With this we are increasing our test coverage on extension, even if indirectly.

FYI @nwmac @gaktive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/extensions kind/tech-debt Technical debt QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants