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

test: setup and add e2e tests using playwright #3067

Merged
merged 150 commits into from
Jan 8, 2025
Merged

Conversation

BobanL
Copy link
Collaborator

@BobanL BobanL commented Dec 16, 2024

PULL REQUEST

Summary

  • Add playwright and create two test files for ecr-viewer and ecr-library
  • Add Job to run playwright tests in github actions
  • Remove makefile

Related Issue

Fixes #2969

Acceptance Criteria

Please copy the acceptance criteria from your ticket and paste it here for your reviewer(s)

Additional Information

Anything else the review team should know?

Checklist

  • If this code affects the other scrum team, have they been notified? (In Slack, as reviewers, etc.)

docker compose --env-file .env.local --profile "*" up to test with different configs
containers/ecr-viewer/package.json Outdated Show resolved Hide resolved
containers/ecr-viewer/playwright.config.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@JNygaard-Skylight JNygaard-Skylight left a comment

Choose a reason for hiding this comment

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

Could you add some documentation on how to run the Playwright tests in a readme?


- name: Run seed data conversion
working-directory: ./containers/${{env.CONTAINER}}
run: npm run convert-seed-data
Copy link
Collaborator

Choose a reason for hiding this comment

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

could we limit this to a smaller number of ecrs to save time?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think that's a little out of scope for this work now since it would impact the seed script file. We do have some exiting tech debt that would handle this.

Copy link
Collaborator

@JNygaard-Skylight JNygaard-Skylight left a comment

Choose a reason for hiding this comment

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

LGTM!

@BobanL BobanL enabled auto-merge January 8, 2025 13:16
@BobanL BobanL added this pull request to the merge queue Jan 8, 2025
Merged via the queue into main with commit 5c15209 Jan 8, 2025
16 checks passed
@BobanL BobanL deleted the boban/2969-e2e-tests branch January 8, 2025 13:27
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.

Replace Cypress tests with Playwright
4 participants