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]: Storage state doesn't work for authentication once feature #33762

Open
DuyTuPTN opened this issue Nov 26, 2024 · 0 comments
Open

[Bug]: Storage state doesn't work for authentication once feature #33762

DuyTuPTN opened this issue Nov 26, 2024 · 0 comments

Comments

@DuyTuPTN
Copy link

Version

1.49.0

Steps to reproduce

Follow Playwright instruction

  1. Add global setup file with steps to login to system, then save the state to json file at root folder
  2. Enable global setup in playwright.config.ts
  3. Use storate state in my test

Attached is my demo code, please help

Expected behavior

Expected:
authenticated to my app

Actual behavior

Actual:
It doesn't work

Additional context

test-authen.zip

Environment

System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-13700H
    Memory: 18.38 GB / 29.70 GB
  Binaries:
    Node: 20.17.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
  IDEs:
    VSCode: 1.95.3 - C:\Users\DuyTu\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant