Skip to content

Commit a31f6c6

Browse files
authored
ci: disable 2 expects that are flaky with the current setup (#253)
1 parent 16d317d commit a31f6c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/e2e-tests/kit-node/__tests__/kit.spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ describe('kit-node', () => {
1919
it('should hydrate', async () => {
2020
// check content before hydration
2121
expect(await getText('h1')).toBe('Hello world!');
22-
expect(await getText('#load')).toBe('SERVER_LOADED');
23-
expect(await getText('#mount')).toBe('BEFORE_MOUNT');
22+
// sometimes jest or playwright is too slow and hydration already kicked in
23+
// so the next 2 expectations might flake. disable until we switch to a faster setup
24+
// expect(await getText('#load')).toBe('SERVER_LOADED');
25+
// expect(await getText('#mount')).toBe('BEFORE_MOUNT');
2426
expect(await getText('#i18n')).toBe('WELCOME');
2527
expect(await getText('#env')).toBe('FOOBARENV');
2628
// check that inline script added the initial node markers

0 commit comments

Comments
 (0)