-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Run playwright tests in CI #10708
Run playwright tests in CI #10708
Conversation
e51e335
to
e144d6f
Compare
ed1bee8
to
074b069
Compare
@vince-fugnitto Thanks again for reviewing #10494! I'd be very grateful if you could look at this PR too (as you already have the context) and let me know how whether you are fine with the way how the playwright build/verification is integrated. Thanks! |
@planger @JonasHelming should we make the decision in the next dev meeting? For example, who is expected to maintain these page object and how frequently do we update them (when they break vs before a release). |
@vince-fugnitto : Yes, let's at least point to this discussion in the meeting. I added it to the agenda. |
6b9a8b4
to
621aa4d
Compare
As discussed in the dev meeting, we decided to start with running the playwright tests on every PR & master commit and show the results in the list of checks, but don't make them blocking a merge if they happen to fail. This way we can observe their stability over a certain time period and decide later whether we make them a mandatory check or keep them just as information. Thus, I moved the playwright test run into an own job in a separate workflow Also, I re-triggered the tests a couple of times to check their behavior on this infrastructure with this config and so far they look fine. Please let me know if that meets the expectation as discussed in the dev meeting! Thanks a lot! |
9b28cbe
to
f130c45
Compare
Thanks a lot for your review @vince-fugnitto! Hm, the 3PP License Check fail seems unrelated on a first glance, as we didn't any dependency in this change.
|
@planger I believe there might have been an error on dash-licenses yesterday which resulted in a few deps being marked as false positives. The dependency is approved (twice actually):
I do have the pull-request #10725 which we can merge first if you'd like, it includes an upgrade and adds the approved deps to our baseline (until dash-licenses updates itself). |
@vince-fugnitto Ok great, thanks! Sure, let's merge PR #10725 first. I'm happy with the way you think is best. Thanks! |
eclipse-theia#10337 Change-Id: I4d431777333eb4c516071630379f1e6ed87e1850
f130c45
to
c6be714
Compare
Thanks, rebased and keeping my fingers crossed :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
What it does
yarn test:playwright
for conveniently running playwright tests in the CIbuild.yml
ubuntu-18.04, Node.js v16.x
If you prefer, we could also run the playwright tests in a separate job on every PR / master commit.
Alternatively, we could only run the playwright tests periodically in a separate action.
I tend to prefer running the tests on every PR and master commit (within build.yml) either as part of the build job (as in this PR) or as a separate build job, as this raises breakages immediately when a change either broke expected behavior or broke the page objects. However, I understand that this would potentially add responsibilities to the committers. So alternatively, we could run those tests in a nightly job and we batch-fix the page objects periodically.
Please let me know what you think! Thanks!
How to test
yarn && yarn build && yarn test:playwright
Build / ubuntu-18.04, Node.js v16.x
Review checklist
Reminder for reviewers