Steps to reproduce:
Create a simple tests in playwright with typescript which require navigation between different domains:
e.g.:
import { test, expect } from '@playwright/test';
test('@mobile Redirects to external domain on click', async ({ page }) => {
await page.goto('https://example.com');
const link = page.getByRole('link', { name: 'More information...' });
await link.click();
await page.waitForTimeout(5000);
console.log(await page.url());
await expect(page).toHaveURL(/iana\.org/);
});
I tried to run it on:
platforms:
- browserName: safari
osVersion: 18
deviceName: iPhone 15
playwright version: "@playwright/test": "^1.50.1",
Actual result in browser stack video:
In the video youa re able to see that the page redirected crrectly to the new URL, and the new URL is visible, but the error says that is waiting for navigation..
TimeoutError: page.waitForNavigation: Timeout 60000ms exceeded.
