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

2294 bciers apps e2e #2296

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Open

2294 bciers apps e2e #2296

wants to merge 12 commits into from

Conversation

marcellmueller
Copy link
Contributor

@marcellmueller marcellmueller commented Sep 26, 2024

#2294

  • Adds a docker-compose-bciers-apps.yaml file
  • Adds dashboard-e2e GitHub workflow
  • Modify run-nx-app action and test-nx-project-e2e workflow to accept another docker-compose file
  • Modify basic e2e test to take a picture of every app dashboard to show this is working
  • Fix reporting dashboard e2e again...I forgot to upsert CAS_ADMIN user so the previous fix didn't work.

Local testing

cd bc_obps && make run
cd bciers && yarn dev-all
yarn dash:e2e:ui

Making sure this is working in CI

To verify it's working in CI check out the cas-dashboard Happo diffs at the bottom of this PR.

Important:A console.log has been added to trigger nx affected for all apps. It was added for testing/reviewing purposes so we can make sure all e2e jobs are still functioning correctly :)

@marcellmueller marcellmueller force-pushed the 2294-bciers-apps-e2e branch 3 times, most recently from 8738dc8 to 68256c1 Compare September 27, 2024 19:12
@@ -6,3 +6,5 @@ export { default as Bread } from "./navigation/Bread";
export * from "./theme/ThemeRegistry";
export * from "./theme/EmotionCache";
export * from "./theme/theme";

console.log("Trigger NX Affected");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: need to remove this after this has been reviewed :)

Comment on lines -80 to 84
nx_project: coam
nx_app_port: 7000
image_url: "ghcr.io/bcgov/cas-coam-frontend"
is_nx_affected: ${{contains(needs.check-nx-affected.outputs.NX_AFFECTED_E2E, 'coam') || github.ref_name == 'develop' || github.ref_name == 'main' || github.head_ref == 'develop' || github.head_ref == 'main'}}
nx_app_port: 7000
nx_project: coam
secrets: inherit
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of these changes are me just neurotically putting things in alphabetical order 😅

@marcellmueller marcellmueller marked this pull request as ready for review September 27, 2024 20:15
@marcellmueller marcellmueller force-pushed the 2294-bciers-apps-e2e branch 2 times, most recently from 51306ab to b45389c Compare October 1, 2024 16:35
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.

1 participant