-
Notifications
You must be signed in to change notification settings - Fork 41
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
chore: add e2e dev workflow #3230
base: master
Are you sure you want to change the base?
Conversation
🚀 Deployed on https://pr-3230.dashboard.netlify.dhis2.org |
|
username: ${{ secrets.CYPRESS_DHIS2_USERNAME }} | ||
password: ${{ secrets.CYPRESS_DHIS2_PASSWORD }} | ||
|
||
e2e-record: |
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.
Should the job name instead be e2e-tests-dev
or similar?
|
||
jobs: | ||
compute-dev-version: | ||
if: contains(github.event.pull_request.labels.*.name, 'e2e-record') |
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.
Shouldn't we use a different label than e2e-record to determine whether to run this workflow (here and line 36)? Most of the time I imagine people just want to run the tests without recording since it isn't needed most of the time.
I think we need to blindly merge this PR so we have the workflow on the main branch. We can then start new branch from master and add the
e2e dev
label to it. I believe we should then see the job running on each commit. And that means we can start tweaking things until they work.There is also the off chance that I will have got everything right the first time around, but that would be quite unexpected 😄