Closed AtofStryker closed 1 week ago
Passed #58413
•
cbdb33a5bb: chore: update system tests to use react 18 and install latest dependencies for a...
Project |
cypress
|
Branch Review |
chore/update-tests-prep-react-18-ct-update
|
Run status |
Passed #58413
|
Run duration | 17m 44s |
Commit |
cbdb33a5bb: chore: update system tests to use react 18 and install latest dependencies for a...
|
Committer | AtofStryker |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
4
|
Pending |
1326
|
Skipped |
0
|
Passing |
29318
|
View all changes introduced in this branch ↗︎ |
UI Coverage
45.79%
|
|
---|---|
Untested elements |
188
|
Tested elements |
163
|
Accessibility
92.56%
|
|
---|---|
Failed rules |
3 critical
8 serious
2 moderate
2 minor
|
Failed elements |
892
|
Additional details
The goal of this PR is to get our system tests up to date with the latest technologies that we support. This means:
webpack
/webpack-dev-server
fromv4
tov5
and related loaders/dependenciestypescript
fromv4
tov5
is most tests (except ts 4 explicit tests)react
system tests from16x
/17x
to18x
and using thecypress/react18
test harness as a precursor to #30590 (react17 system tests are removed here).package.json
webpack-preprocessor-awesome-typescript-loader
tests as it isn't actively maintained andts-loader
is now the used loader by mostreact-app-webpack-5-unconfigured
app and replacing withreact18-webpack-unconfigured
as it is a lot smaller and easier to maintain (not theeject
edcreate-react-app
)issue-25951-next-app
is removed as this is tested with next versions over 13 passively. We currently support 14+module-api
snapshots needed to be updated with updatingsnap-shot-it
2 major versions, so now the snapshots live in a single fileto make the system tests on webpack more deterministic, I changed the stat output to be errors only so we don't have a lot of drift when new modules or times exist in the snapshot
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?