Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: test timeouts when using webSecurity: false in electron #31438

Open
ZFail opened this issue Jun 25, 2024 · 0 comments
Open

[Bug]: test timeouts when using webSecurity: false in electron #31438

ZFail opened this issue Jun 25, 2024 · 0 comments

Comments

@ZFail
Copy link

ZFail commented Jun 25, 2024

Version

1.45.0

Steps to reproduce

git clone -b websecurity https://github.com/ZFail/electron-playwright-repro.git
cd electron-playwright-repro
npm ci
npm run test

Expected behavior

complete test sucessfully

Actual behavior

Running 1 test using 1 worker

  ✘  1 [electron] › tests.spec.ts:3:5 › check initial state (30.1s)


  1) [electron] › tests.spec.ts:3:5 › check initial state ──────────────────────────────────────────

    Test timeout of 30000ms exceeded.

Additional info

if you change webSecurity to true in main.js test completes sucessfully

Environment

System:
    OS: Windows 11 10.0.22631
    CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
    Memory: 22.43 GB / 63.91 GB
  Binaries:
    Node: 20.11.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
  IDEs:
    VSCode: 1.90.2 - C:\Users\zfail\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
  Languages:
    Bash: 5.1.16 - C:\WINDOWS\system32\bash.EXE
  npmPackages:
    @playwright/test: ^1.45.0 => 1.45.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants