-
-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use playwright/test for integration tests (#1394)
* chore: add webpack http server * chore: configure playwright/test * chore: use "webpack-http-server" * chore: remove unnecessary configs * chore: migrate more tests to playwright * test: migrate more tests to playwright * chore: migrate even more test to playwright * chore: enable new tests on ci * test: mark "response-patching" tests as fixme * test: migrate graphql tests to playwright * test: migrating "msw-api" tests to playwright * chore: migrate "msw-api" * chore: fixing wrong testing setup * test: migrate "response-logging" to pw/test * chore: update "webpack-http-server" * test: migrate "shared-worker" test to pw/test * chore: use designated "browser" folder * chore: add "test:node" script * chore: split graphql tests * chore: move "msw-api" to playwright tests * chore: isolate node integration tests * chore: resolve test flakiness * test: use "list" reporter * chore: update playwright/test * chore: enable test retries * chore: use 2 cores for tests on ci * test(playwright configuration): use fullyParallel flag to isolate tests (#1532) * test(playwright configuration): use fullyParallel flag to isolate tests This flag makes playwright run each single test in a separate context in parallel, providing easier isolation, teardown and better performance when running in parallel in many workers * test(rest-api and grapghql-api tests): ensure each test has dedicated setup and teardown Since fullyParallel flag is enabled we should consider each test as independent unit. This changes make sure each test has separate setup and teardown. * fix missed hook * chore: try to ensure clearing of workerConsole * chore: use esbuild-loader vs ts-loader * chore: rework worker console, use parallel webpack server * test(fallback-mode): write to fs on "beforeEach" * chore: decrease playwright timeout to 10s * chore: dispose of test compilations * docs: update contributing guidelines * chore: skip iframe integration tests * chore: write runtime console logs * chore: upload test artifacts * chore: use "use.trace" from playwright * test: fix response patching tests * chore: restore headers-multiple test * chore: restore iframe tests --------- Co-authored-by: Maciej Szwarc <58426925+shwarcu@users.noreply.github.com>
- Loading branch information
1 parent
1cc61f1
commit 1df33a3
Showing
302 changed files
with
5,649 additions
and
4,500 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -9,4 +9,5 @@ stats.html | |
.vscode | ||
msw-*.tgz | ||
.husky/_ | ||
.env | ||
.env | ||
**/test-results |
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
Oops, something went wrong.