Skip to content

← All questions

net::ERR_ABORTED on an authenticated route is our single biggest source of failures

Asked 8,730 views3 answers

Top error signature in a clean single-worker run, by a wide margin:

text
page.goto: net::ERR_ABORTED at https://staging-app.example.com/workspace/<uuid>/home

55 of the 192 failures I captured, plus a big pile of click timeouts that I am fairly sure are downstream of it. The step behind it is a page-object method that deep-links the workspace:

ts
await this.page.goto(`/workspace/${workspaceId}/home`, { waitUntil: 'domcontentloaded' });
await this.page.waitForURL(new RegExp(`/workspace/${workspaceId}`), { timeout: 30_000 });

It is intermittent — the same scenario passes on a rerun maybe a third of the time. Failure screenshots are either a blank white page or the app frozen on "Loading session…". Our auth is client-side.

Is waitUntil: 'domcontentloaded' the wrong wait here?

asked by Elsa Nyman333 ·

3 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related