Skip to content
Snippets Groups Projects
Commit ae2e51c8 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Introduced a timeout to example playwright.config to wait for server and avoid random CI failures

parent ee3b042f
Branches
No related tags found
1 merge request!295Updated 2 dependencies in TS example to avoid vulnerability reports specific to wax (even they are specific to example apps only)
Pipeline #118697 passed
......@@ -94,6 +94,7 @@ test.describe('Signature extension tests', () => {
const result = await testPage.waitForSelector('#tx-result');
const tx = JSON.parse(await result.textContent() as string);
console.log(`Received keyMatchText: ${keyMatchText}`);
//await page.pause();
expect(tx.signatures).toHaveLength(1);
......
......@@ -28,6 +28,9 @@ export default defineConfig({
],
webServer: {
command: 'npm run test:manual'
command: 'npm run test:manual',
"url": "http://localhost:1234",
"timeout": 120*1000,
"reuseExistingServer": false
}
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment