https://github.com/hex0cter/playwright-slowness-issue
https://github.com/hex0cter/playwright-slowness-issue
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hex0cter/playwright-slowness-issue
- Owner: hex0cter
- Created: 2022-06-02T13:48:50.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-06T15:06:31.000Z (about 4 years ago)
- Last Synced: 2025-08-04T19:36:27.568Z (10 months ago)
- Language: HTML
- Homepage: https://github.com/microsoft/playwright/issues/14479
- Size: 3.84 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# playwright timeout on iPhone 12/Ubuntu 20.04
## Test environment:
```
$ node --version
v14.18.3
$ npm --version
6.14.17
```
## How to run the test:
On MacOS,
```
npm install
npm run test
```
To test in Ubuntu with docker, run
```
docker run --rm -it -v $(pwd):/opt/tests ubuntu:20.04
```
And in the container,
```
apt update
apt install -y curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm install 14.18.3
npm install -g npm@6.14.17
cd /opt/tests/
npm install
npx playwright install --with-deps
npm run test
```