Skip to content

Commit 782ffd3

Browse files
authored
E2E: Disable a flaky deployment test (#2016)
Disables an E2E test that notoriously fails: > When a new website version is deployed while the old version is still loaded, creating a new site should still work. I would love to improve this test, but this particular one is tedious and the process could take a few days I am not willing to put in right now. At the same time, keeping a failing test around lowers our confidence in the E2E test overall. Skipping it and keeping the code around for the next time we adjust the service worker seems like a good compromise, especially since the deployments seem to be in a good place now without many reports of the stale Playground version sticking around for too long.
1 parent 9f46e51 commit 782ffd3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/playground/website/playwright/e2e/deployment.spec.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@ for (const cachingEnabled of [true, false]) {
5858
});
5959
}
6060

61-
test(
61+
/**
62+
* This test is flaky and often fails on CI even after multiple retries. It
63+
* lowers the confidence in the test suite so it's being skipped. It is still
64+
* useful for manual testing when updating the service worker and may get
65+
* improved the next time we change something in the service worker.
66+
*/
67+
test.skip(
6268
'When a new website version is deployed while the old version is still loaded, ' +
6369
'creating a new site should still work.',
6470
async ({ website, page, wordpress }) => {

0 commit comments

Comments
 (0)