What happened?
Redirects do seem to be timing out on K6 Cloud. We have tests that get redirected to a homepage. The homepage redirection constantly timeouts. When the test is executed locally (from same region) the test works.
We have tried the following code
await Promise.all([
page.click(selector, {timeout: timeout ?? this.defaultTimeout });,
page.waitForNavigation({timeout: timeout ?? this.defaultTimeout })
]);
Generates the following error
2025-04-02 20:24:09.404
[portal_smoke:1:0] Error thrown: waiting for navigation: timed out after 1m0s
We have also tried sequential awaits without wait for navigation, wating for an know element to appear
await page.click(selector, {timeout: timeout ?? this.defaultTimeout });,
await page.waitForSelector(navselector, {timeout: timeout ?? this.defaultTimeout });
And the waitforselector timesout
What did you expect to happen?
Redirect to not timeoout. When the test is execite from a local host there are no timeouts. All URLs used by the test are public.
Did this work before?
No
How do we reproduce it?:
- Execute the “Risk Map Smoke Tests” linked above
- View errors in logs,
Is the bug inside a dashboard panel?
No
If the bug is inside a dashboard panel, please use the “Get help” feature. Select Dashboard in order to Download the panel and attach the data file to this ticket form.
Environment (with versions):
- Grafana version: Grafana cloud trial
- Operating system: Linux
- Browser: Chromium
- Datasource version(s) (prometheus, graphite, etc.): Grafana cloud trial
- Plugins: n/a