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
2 changes: 1 addition & 1 deletion e2e/journeys/overview/comparison.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const comparison = [
await openPage(tab, "/modules/api/overview");
await ctx.verify("the hero", [
tab.shows(/API health · live\s+Down/i),
tab.shows(/for 3 min\s*·\s*checked \d\d:\d\d:\d\d/),
tab.shows(/for [34] min\s*·\s*checked \d\d:\d\d:\d\d/),
check("the tooltip names the minute the verdict began", /^Down since \w+,? \d{1,2} \w+ \d{4} at \d\d:\d\d$/.test((await tab.page.locator("time").first().getAttribute("title")) ?? ""), await tab.page.locator("time").first().getAttribute("title")),
check("the tooltip's minute is the verdict's start, about 3 minutes ago", await (async () => {
const since = (await tab.page.locator("time").first().getAttribute("datetime")) ?? "";
Expand Down
Loading