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

chore: add e2e dev workflow #3230

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

HendrikThePendric
Copy link
Contributor

@HendrikThePendric HendrikThePendric commented Feb 27, 2025

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 😄

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Feb 27, 2025

🚀 Deployed on https://pr-3230.dashboard.netlify.dhis2.org

@dhis2-bot dhis2-bot temporarily deployed to netlify February 27, 2025 16:22 Inactive
@HendrikThePendric HendrikThePendric marked this pull request as ready for review February 27, 2025 16:25
username: ${{ secrets.CYPRESS_DHIS2_USERNAME }}
password: ${{ secrets.CYPRESS_DHIS2_PASSWORD }}

e2e-record:
Copy link
Collaborator

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')
Copy link
Collaborator

@jenniferarnesen jenniferarnesen Feb 28, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants