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
chore: refactor e2e tests to playwright #5080
Draft
mahdikhashan
wants to merge
72
commits into
webpack:master
Choose a base branch
from
mahdikhashan:issue-2843/refactor-e2e-tests-from-puppeter-to-playwright
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 2 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
13c06af
chore: setup playwright
mahdikhashan 18e0e30
chore: disable parallel test running
mahdikhashan 91ad989
feat: remove example test from playwright setup step
mahdikhashan 2f97665
test: refactor test/e2e/states.test.js
mahdikhashan 5f44a78
chore(deps): bump html-entities from 2.4.0 to 2.5.0 (#5083)
dependabot[bot] 1c20920
chore(deps-dev): bump cspell from 8.4.1 to 8.5.0 (#5082)
dependabot[bot] d58d557
chore(deps): bump express from 4.18.2 to 4.18.3 (#5078)
dependabot[bot] 3790bec
chore(deps-dev): bump @types/node from 20.11.22 to 20.11.24 (#5079)
dependabot[bot] cddf382
chore(deps-dev): bump @babel/preset-env from 7.23.9 to 7.24.0 (#5075)
dependabot[bot] 1e97fe0
chore(deps): bump html-entities from 2.5.0 to 2.5.2 (#5087)
dependabot[bot] 2aed762
refactor: add 'mode' property in second array object in examples (#5…
ayushkumarbhadani 71e5e9f
docs: fix migration guide (#5089)
alexander-akait a8cdccd
chore(deps-dev): bump puppeteer from 22.3.0 to 22.4.0 (#5090)
dependabot[bot] 53de75d
chore(deps-dev): bump cspell from 8.5.0 to 8.6.0 (#5091)
dependabot[bot] 2201442
chore(deps): update (#5096)
alexander-akait c6a3586
chore(deps-dev): bump puppeteer from 22.4.0 to 22.4.1 (#5099)
dependabot[bot] 8ea7cb8
chore(deps): bump open from 10.0.4 to 10.1.0 (#5100)
dependabot[bot] 6e1aed3
fix(types): proxy (#5101)
alexander-akait 37f4760
chore(deps-dev): bump @types/node from 20.11.25 to 20.11.26 (#5102)
dependabot[bot] 08cab58
chore(release): 5.0.3
alexander-akait ba9dfb6
chore(deps-dev): bump @commitlint/cli from 19.0.3 to 19.1.0 (#5103)
dependabot[bot] fb6f22a
chore(deps-dev): bump @commitlint/config-conventional (#5104)
dependabot[bot] aab576a
fix(security): bump webpack-dev-middleware (#5112)
alexander-akait 64a1860
chore(release): 5.0.4
alexander-akait 92a1bfd
chore(deps-dev): bump webpack from 5.90.3 to 5.91.0 (#5119)
dependabot[bot] 04e5695
chore(deps): bump express from 4.18.3 to 4.19.1 (#5117)
dependabot[bot] 7e6f046
chore(deps-dev): bump typescript from 5.4.2 to 5.4.3 (#5116)
dependabot[bot] af6bd68
chore(deps): bump webpack-dev-middleware from 7.1.0 to 7.1.1 (#5121)
dependabot[bot] 12d0fec
chore(deps-dev): bump @babel/preset-env from 7.24.1 to 7.24.3 (#5118)
dependabot[bot] edbc6e1
chore(deps-dev): bump @babel/core from 7.24.1 to 7.24.3 (#5115)
dependabot[bot] b48c59d
ci: update codecov action to v4 (#5122)
snitin315 294400a
chore(deps-dev): bump puppeteer from 22.5.0 to 22.6.0 (#5114)
dependabot[bot] 6b31b7f
chore(deps): bump express from 4.19.1 to 4.19.2 (#5124)
dependabot[bot] c72d437
chore(deps-dev): bump puppeteer from 22.6.0 to 22.6.1 (#5125)
dependabot[bot] 7989ec7
chore(deps-dev): bump cspell from 8.6.0 to 8.6.1 (#5123)
dependabot[bot] 1d1232f
chore(deps): bump webpack-dev-middleware from 7.1.1 to 7.2.0 (#5126)
dependabot[bot] a175b13
chore(deps-dev): bump @types/node from 20.11.30 to 20.12.2 (#5127)
dependabot[bot] 1c38253
chore(deps-dev): bump memfs from 4.8.0 to 4.8.1 (#5128)
dependabot[bot] ab6fb70
chore(deps): bump webpack-dev-middleware from 7.2.0 to 7.2.1 (#5131)
dependabot[bot] b5e81cd
chore(deps): bump @types/serve-static from 1.15.5 to 1.15.7 (#5133)
dependabot[bot] fec7c25
chore(deps-dev): bump @types/node from 20.12.2 to 20.12.3 (#5132)
dependabot[bot] 7110a26
chore(deps-dev): bump @babel/plugin-transform-runtime (#5120)
dependabot[bot] e13d3ae
chore(deps-dev): bump puppeteer from 22.6.1 to 22.6.2 (#5130)
dependabot[bot] 760657d
chore(deps-dev): bump css-loader from 6.10.0 to 6.11.0 (#5139)
dependabot[bot] f3788a0
chore(deps-dev): bump @types/node from 20.12.3 to 20.12.4 (#5137)
dependabot[bot] 9fddbb9
chore(deps-dev): bump @babel/preset-env from 7.24.3 to 7.24.4 (#5135)
dependabot[bot] c5aa7aa
chore(deps-dev): bump @types/node from 20.12.4 to 20.12.5 (#5144)
dependabot[bot] b318063
chore(deps-dev): bump @types/node from 20.12.5 to 20.12.7 (#5146)
dependabot[bot] 767b493
chore: upgrading express from version 4.17.3 to version 4.19.2 due to…
codingwithbenny 7c42ea0
chore(deps-dev): bump cspell from 8.6.1 to 8.7.0 (#5148)
dependabot[bot] f661407
chore(deps-dev): bump @commitlint/cli from 19.2.1 to 19.2.2 (#5151)
dependabot[bot] 1a81676
chore(deps-dev): bump memfs from 4.8.1 to 4.8.2 (#5152)
dependabot[bot] 31d9d77
chore(deps-dev): bump @babel/core from 7.24.3 to 7.24.4 (#5136)
dependabot[bot] 5c8544c
chore(deps-dev): bump marked from 12.0.1 to 12.0.2 (#5160)
dependabot[bot] c9f3bd4
chore(deps-dev): bump core-js from 3.36.1 to 3.37.0 (#5155)
dependabot[bot] d1fcc72
chore(deps-dev): bump @babel/runtime from 7.24.1 to 7.24.4 (#5138)
dependabot[bot] be8a832
chore(deps): bump ipaddr.js from 2.1.0 to 2.2.0 (#5159)
dependabot[bot] 1a1561f
fix: replace `rimraf` with `rm` (#5162)
askoufis 3096148
feat: added the `app` option to setup any `connect` compatibility HTT…
alexander-akait a3ced4d
ci: add Node v22 (#5164)
snitin315 69e21f1
chore: setup playwright
mahdikhashan 9a1b7e7
chore: disable parallel test running
mahdikhashan e690789
feat: remove example test from playwright setup step
mahdikhashan f371ae6
test: refactor test/e2e/states.test.js
mahdikhashan 8c663b0
Merge remote-tracking branch 'origin/issue-2843/refactor-e2e-tests-fr…
mahdikhashan e0cdf7d
chore: add playwright after it was removed by merge conflicts
mahdikhashan 8f5fdac
chore: initial config for playwright
mahdikhashan 82b52a8
test: remove old snapshots
mahdikhashan a80179c
fix: move `playwright` requires after `webpack` to fix eslint warning
mahdikhashan dd27f0e
chore: disable parallel config for playwright
mahdikhashan a5cc37e
test: snapshots for `stats.test.js`
mahdikhashan edb93fc
chore: make env CI variable a constant
mahdikhashan File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
"use strict"; | ||
|
||
module.exports = { | ||
testDir: "./test/e2e-playwright", | ||
fullyParallel: true, | ||
forbidOnly: !!process.env.CI, | ||
retries: process.env.CI ? 2 : 0, | ||
// eslint-disable-next-line no-undefined | ||
workers: process.env.CI ? 1 : undefined, | ||
reporter: "html", | ||
use: { | ||
trace: "on-first-retry", | ||
}, | ||
projects: [ | ||
{ | ||
name: "chromium", | ||
use: { browserName: "chromium" }, | ||
}, | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make the CI env a const variable instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done