web-stories-wp
web-stories-wp copied to clipboard
End to end test - CORS check
Feature Description
Test is timing out waiting for page navigation. Unclear why that's happening on this test as it's a generic logout.
FAIL packages/e2e-tests/src/specs/wordpress/corsCheck.js (14.504 s)
● CORS check › should see media dialog
TimeoutError: Navigation timeout of 10000 ms exceeded
23 | await page.goto(createURL('wp-login.php', 'action=logout'));
24 | await expect(page).toClick('a', { text: 'log out' });
> 25 | await page.waitForNavigation();
| ^
26 |
27 | await expect(page).toMatch(/You are now logged out/i);
28 | }