Files
2026-10-14 06:19:24 +00:00

79 lines
3.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
> find-word@0.1.0 test
> vitest run tests/playwright-config.test.ts
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.1
❯ tests/playwright-config.test.ts (5 tests | 5 failed) 2254ms
❯ 브라우저 sandbox 기본 정책 (5)
× opt-in=undefined이면 sandbox를 켠다 472ms
× opt-in=이면 sandbox를 켠다 441ms
× opt-in=0이면 sandbox를 켠다 447ms
× opt-in=false이면 sandbox를 켠다 450ms
× 명시적인 PLAYWRIGHT_NO_SANDBOX=1에서만 sandbox를 끈다 443ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 5 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/playwright-config.test.ts > 브라우저 sandbox 기본 정책 > opt-in=undefined이면 sandbox를 켠다
FAIL tests/playwright-config.test.ts > 브라우저 sandbox 기본 정책 > opt-in=이면 sandbox를 켠다
FAIL tests/playwright-config.test.ts > 브라우저 sandbox 기본 정책 > opt-in=0이면 sandbox를 켠다
FAIL tests/playwright-config.test.ts > 브라우저 sandbox 기본 정책 > opt-in=false이면 sandbox를 켠다
AssertionError: expected undefined to be true // Object.is equality
- Expected:
true
+ Received:
undefined
❯ tests/playwright-config.test.ts:22:42
20| it.each([undefined, "", "0", "false"])("opt-in=%s이면 sandbox를 켠다", (v…
21| const options = launchOptions(value);
22| expect.soft(options.chromiumSandbox).toBe(true);
| ^
23| expect.soft(options.args ?? []).not.toContain("--no-sandbox");
24| expect(options.executablePath).toBe("/usr/bin/google-chrome");
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/9]⎯
FAIL tests/playwright-config.test.ts > 브라우저 sandbox 기본 정책 > opt-in=undefined이면 sandbox를 켠다
FAIL tests/playwright-config.test.ts > 브라우저 sandbox 기본 정책 > opt-in=이면 sandbox를 켠다
FAIL tests/playwright-config.test.ts > 브라우저 sandbox 기본 정책 > opt-in=0이면 sandbox를 켠다
FAIL tests/playwright-config.test.ts > 브라우저 sandbox 기본 정책 > opt-in=false이면 sandbox를 켠다
AssertionError: expected [ '--no-sandbox' ] to not include '--no-sandbox'
❯ tests/playwright-config.test.ts:23:41
21| const options = launchOptions(value);
22| expect.soft(options.chromiumSandbox).toBe(true);
23| expect.soft(options.args ?? []).not.toContain("--no-sandbox");
| ^
24| expect(options.executablePath).toBe("/usr/bin/google-chrome");
25| });
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/9]⎯
FAIL tests/playwright-config.test.ts > 브라우저 sandbox 기본 정책 > 명시적인 PLAYWRIGHT_NO_SANDBOX=1에서만 sandbox를 끈다
AssertionError: expected undefined to be false // Object.is equality
- Expected:
false
+ Received:
undefined
❯ tests/playwright-config.test.ts:27:48
25| });
26| it("명시적인 PLAYWRIGHT_NO_SANDBOX=1에서만 sandbox를 끈다", () => {
27| expect(launchOptions("1").chromiumSandbox).toBe(false);
| ^
28| });
29| });
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/9]⎯
Test Files 1 failed (1)
Tests 5 failed (5)
Start at 05:54:57
Duration 2.57s (tests 93%, setup 5%, transform 1%)