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]: When try to open with -ui-port #30794

Closed
alp148 opened this issue May 14, 2024 · 6 comments
Closed

[Bug]: When try to open with -ui-port #30794

alp148 opened this issue May 14, 2024 · 6 comments

Comments

@alp148
Copy link

alp148 commented May 14, 2024

Version

1.44.0

Steps to reproduce

1 - In debian 12
2 - create folder and init playwright proyect inside with: npm init playwright@latest
3 - run: npx playwright test --ui-port=8080 --ui-host=0.0.0.0
4 - browser page open as blank and in inspector console shows errors to access to uiMode.webmanifest

Expected behavior

open de ui interface with test suites

Actual behavior

browser page open as blank and in inspector console shows errors to access to uiMode.webmanifest

Additional context

No response

Environment

System:
    OS: Linux 6.5 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
    Memory: 5.67 GB / 15.50 GB
    Container: Yes
  Binaries:
    Node: 20.13.1 - ~/.nvm/versions/node/v20.13.1/bin/node
    npm: 10.5.2 - ~/.nvm/versions/node/v20.13.1/bin/npm
    bun: 1.0.29 - ~/.bun/bin/bun
  IDEs:
    VSCode: 1.86.2 - /usr/bin/code
  Languages:
    Bash: 5.2.15 - /usr/bin/bash
  npmPackages:
    @playwright/test: ^1.44.0 => 1.44.0
@yury-s
Copy link
Member

yury-s commented May 14, 2024

4 - browser page open as blank and in inspector console shows errors to access to uiMode.webmanifest

Do you access within the system or remotely? If it's a remote system, make sure that port forwarding is configured correctly. I was not able to reproduce it locally or with github codespaces.

@alp148
Copy link
Author

alp148 commented May 15, 2024

Locally and remotely

@alp148 alp148 changed the title [Bug]: Whe try to open with -ui-port [Bug]: When try to open with -ui-port May 15, 2024
@yury-s
Copy link
Member

yury-s commented May 15, 2024

Locally and remotely

Weird. It's likely some peculiar configuration on your system. Are you able to start it locally with explicit ip npx playwright test --ui-port=8080 --ui-host=127.0.0.1 ? We can't help with this without being able to reproduce the problem.

@alp148
Copy link
Author

alp148 commented May 16, 2024

The steps i follow are in the issue description:

i seed you screen shots:

image
image
image

And source code:

test-pl.tar.gz

@yury-s
Copy link
Member

yury-s commented May 17, 2024

Can you try opening the same page in incognito mode/different browser and see if it works there? It might have something to do with your browser config.

@yury-s
Copy link
Member

yury-s commented May 21, 2024

We need more information to act on this report. Please file a new one and link to this issue when you get back to it!

@yury-s yury-s closed this as completed May 21, 2024
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

2 participants