5 Commits
Author SHA1 Message Date
Artem ZakharchenkoandGitHub 03adcad4d3 fix(graphql): remove redundant DocumentNode union (#2645) 2025-12-27 16:32:26 +01:00
Artem ZakharchenkoandGitHub 55de7c2693 chore: remove "node-fetch" (#1864) 2023-11-16 14:07:19 +01:00
Artem ZakharchenkoandGitHub 22da721820 chore: use vitest for tests (#1817) 2023-11-01 13:05:12 +01:00
8c8e959b49 feat!: adopt the global Fetch API (#1436)
Co-authored-by: Frederik Rabøl <[email protected]>
Co-authored-by: Christoph Fricke <[email protected]>
Co-authored-by: Piotr <[email protected]>
Co-authored-by: Kristján Oddsson <[email protected]>
Co-authored-by: thepassle <[email protected]>
Co-authored-by: Kevin Østerkilde <[email protected]>
Co-authored-by: Laryssa Rocha <[email protected]>
Co-authored-by: Matthew Costabile <[email protected]>
2023-10-23 09:45:04 +02:00
62efeb303c 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 <[email protected]>
2023-02-19 19:43:30 +01:00