Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/ui-on-call-boards.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,12 @@ test.describe("02 More — the second row is about the page you are on", () => {
// slug from the word in the bar and checks it against that `admin-help-`
// prefix, which holds for every word this page's rail can show.
await openBoard(page, ROUTES.logistics);
// While the rows load, every section (Support included) is drawn as a skeleton. Once they
// arrive, Support drops out when it has no rows (admin-help-page.tsx), so read the bar only
// after loading has finished, or a slower engine reads a word the settled page no longer has.
await expect(page.locator('[data-testid^="admin-help-"][data-testid$="-loading"]')).toHaveCount(0, {
timeout: 20_000,
});
for (const label of await barWords(page, ADMIN_SECTION_HEADER_PREFIX)) {
const slug = label
.trim()
Expand Down
Loading