Skip to content

Commit ae5294d

Browse files
committed
fix web chromium issue
1 parent d7ac737 commit ae5294d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/WebChromiumTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ class WebChromiumTest extends Base
1515
'cp tests/languages/web/tests.js tests/sdks/web/tests.js',
1616
'cp tests/languages/web/node.js tests/sdks/web/node.js',
1717
'cp tests/languages/web/index.html tests/sdks/web/index.html',
18-
'docker run --rm -v $(pwd):/app -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal sh -c "npm install && npm run build"',
18+
'docker run --rm -v $(pwd):/app -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.56.1-jammy sh -c "npm install && npm run build"',
1919
];
2020
protected string $command =
21-
'docker run --network="mockapi" --rm -v $(pwd):/app -e BROWSER=chromium -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal node tests.js';
21+
'docker run --network="mockapi" --rm -v $(pwd):/app -e BROWSER=chromium -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.56.1-jammy node tests.js';
2222

2323
protected array $expectedOutput = [
2424
...Base::PING_RESPONSE,

0 commit comments

Comments
 (0)