Skip to content

Commit

Permalink
Update comment, Playwright's "latest" tag will not be updated ( micro…
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorm committed Sep 18, 2024
1 parent d665d23 commit 68e1387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/browser.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const require = module.createRequire(import.meta.url);
* It is possible to run the tests on a remote server by setting the environment variable "PW_TEST_CONNECT_WS_ENDPOINT".
* E.g.:
* The following command will start a server on port 3000:
* $ docker run --rm -it -p 127.0.0.1:3000:3000/tcp --entrypoint /bin/sh mcr.microsoft.com/playwright:latest -euc 'npx -y playwright run-server --port 3000'
* $ docker run --rm -it -p 127.0.0.1:3000:3000/tcp --entrypoint /bin/sh mcr.microsoft.com/playwright:${PLAYWRIGHT_VERSION} -euc 'npx -y playwright run-server --port 3000'
* Then, the tests can be run with:
* $ PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:3000/ npm run test:browser
*/
Expand Down

0 comments on commit 68e1387

Please sign in to comment.