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: adjust e2e dev workflow so that it works #3231

Merged
merged 7 commits into from
Mar 3, 2025

Conversation

HendrikThePendric
Copy link
Contributor

@HendrikThePendric HendrikThePendric commented Mar 3, 2025

Changes in this PR:

  • We simply hardcode the dev API version to avoid complexity
  • We compute the test matrix manually so we can execute the test in parallel, also without using the cypress dashboard
  • We store SHOULD_RECORD in an env var to make the conditional logic less complex*

[*] Note that the env var is a string, so you see == 'true'. Also note that I could not do the same for SHOULD_RUN because env variables are not available in job-conditions (if properties of a job block).

I have checked and the parallelisation seems to be working fine.

I will also check if the e2e record label affects this new workflow as intended.

@HendrikThePendric HendrikThePendric added the e2e dev Apply this label to a pull request to trigger e2e tests against a dev instance label Mar 3, 2025
@dhis2-bot
Copy link
Contributor

dhis2-bot commented Mar 3, 2025

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

@dhis2-bot dhis2-bot temporarily deployed to netlify March 3, 2025 10:24 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 3, 2025 11:46 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 3, 2025 11:51 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 3, 2025 11:59 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 3, 2025 12:07 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 3, 2025 12:17 Inactive
@HendrikThePendric HendrikThePendric marked this pull request as ready for review March 3, 2025 12:26
Copy link

sonarqubecloud bot commented Mar 3, 2025

@dhis2-bot dhis2-bot temporarily deployed to netlify March 3, 2025 12:28 Inactive
@HendrikThePendric HendrikThePendric changed the title chore: use lower cased workflow name for consistency chore: adjust e2e dev workflow so that it works Mar 3, 2025
@HendrikThePendric HendrikThePendric added the e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud label Mar 3, 2025
Copy link

cypress bot commented Mar 3, 2025

dashboards-app    Run #5148

Run Properties:  status check passed Passed #5148  •  git commit c1f7376e43 ℹ️: Merge 487b1b676f678a3447ead98d1e820338ccf0fbba into 8856a5ad5a4a3c260e6751aae7fb...
Project dashboards-app
Branch Review chore/check-e2e-dev-workflow
Run status status check passed Passed #5148
Run duration 03m 00s
Commit git commit c1f7376e43 ℹ️: Merge 487b1b676f678a3447ead98d1e820338ccf0fbba into 8856a5ad5a4a3c260e6751aae7fb...
Committer Hendrik de Graaf
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 2
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 14
View all changes introduced in this branch ↗︎

@HendrikThePendric HendrikThePendric removed the e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud label Mar 3, 2025
@HendrikThePendric HendrikThePendric merged commit 637c104 into master Mar 3, 2025
88 of 94 checks passed
@HendrikThePendric HendrikThePendric deleted the chore/check-e2e-dev-workflow branch March 3, 2025 14:11
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 101.0.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e dev Apply this label to a pull request to trigger e2e tests against a dev instance released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants