Repository navigation
Setting up End-To-End Testing - #7
Merged
Merged
Conversation
- Testing via containers to run Playwright Tests
- Changed install dependencies step to use pnpm actions
- Attempt to fix missing msedge - Change all npm commands to execute via pnpm
- attempting solution from https://github.com/mxschmitt/firefox-github-actions-container/pull/3/files - thread: microsoft/playwright#6500
- On Deploy (Preview and Production), Run Playwright E2E Tests - Modify Push/Pull to run Playwright E2E Tests only on main/master
- Changed Job Names under each playwright testing environment
- added Deployment URL via env variable in URL attribute of playwright config
…review Deployments - Due to the nature of Vercel Preview, it creates preview deployments for all branches associated to the project. As such, the E2E tests run on all branches for which Vercel releases a deployment for (including preview) which applies to every branch. - We will get stability coverage across all branches on all pushes across the project. As such, it is not necessary to build and execute a web server on a container to E2E test again. As the build and execute process is automatically tested and reported by Vercel.
- Running into an issue where WebServer causes issues on workflow run after deployment with "reuseExistingServer" & URL / Port Already active - Decided to change local E2E Testing policy to run `pnpm run dev` on a separate terminal & run pnpm exec playwright test on a separate terminal
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Test Guidelines
npm inpx playwright install --with-depsnpx playwright install msedgenpx playwright test