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

refactor(reduce e2e tests against deployed app) #1586

Merged
merged 10 commits into from
Jan 10, 2025
Merged

Conversation

Spencer6497
Copy link
Contributor

This PR aims to save time on CI deployments by reducing the number of tests we run against the live, deployed app.

  • add new playwright project, staging, and adapt CI pipeline to run these tests after deployment
  • tweak ci-pipeline.yml to run preview tests

@Spencer6497
Copy link
Contributor Author

1m17s opposed to ~9.5min 🤯

Comment on lines 58 to 62
name: "local-chromium",
use: { ...devices["Desktop Chrome"] },
},
{
name: "Mobile Android",
name: "local-mobile",
Copy link
Member

@chohner chohner Jan 9, 2025

Choose a reason for hiding this comment

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

could we maybe call them something like full? I fear local might be missleading

Copy link
Member

Choose a reason for hiding this comment

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

quick question: are we actually using Android here, or is this just a test with a mobile viewport? (I was on holiday and missed this info)

Copy link
Member

Choose a reason for hiding this comment

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

just a mobile viewport

playwright.config.ts Outdated Show resolved Hide resolved
@chohner chohner merged commit 0107594 into main Jan 10, 2025
21 checks passed
@chohner chohner deleted the e2e-tests-staging branch January 10, 2025 11:22
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