tests e2e with Playwright#917
Open
MarionGiusti wants to merge 1 commit into
Open
Conversation
70bc55d to
51b70e1
Compare
51b70e1 to
1cba4c6
Compare
pgiraud
reviewed
Jun 25, 2026
Member
|
Errors like: |
pgiraud
reviewed
Jun 25, 2026
|
|
||
| test('switches to dark mode', async ({ page }) => { | ||
| await page.getByTitle('Switch to dark mode').click(); | ||
| await expect(page).toHaveScreenshot('plan_darkMode.png'); |
Member
There was a problem hiding this comment.
I'm not sure if an argument is needed here.
20cafed to
2231fea
Compare
Member
|
I think it would be nice to separate e2e and visual regression (those with snapshots) tests. The former shouldn't require docker, while the latter probably does. |
pgiraud
reviewed
Jul 1, 2026
024db30 to
e0d8855
Compare
Exclude e2e and node_modules from Vitest config. Ensure consistent results between local and CI by running visual tests inside a Playwright Docker container. Use Firefox only for Playwright in Docker.
e0d8855 to
3b50f5a
Compare
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.
No description provided.