Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
briangregoryholmes committed Dec 12, 2024
1 parent 93694a2 commit 60e4252
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ test.describe("leaderboard and dimension table sorting", () => {
page.getByRole("row", { name: "null 32.9k" }),
);

// add time comparison and select Pct change
await page.getByRole("button", { name: "Comparing" }).click();

await openTimeRangeMenu();
await page.getByRole("menuitem", { name: "Last 24 Hours" }).click();

// add time comparison and select Pct change
await page.getByRole("button", { name: "Comparing" }).click();

// need a slight delay for the time range to update
// and the "Pct change" option to be available
// in the context column dropdown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ test.describe("leaderboard context column", () => {
await interactWithTimeRangeMenu(page, async () => {
await page.getByRole("menuitem", { name: "All Time" }).click();
});
await page.getByRole("button", { name: "Comparing" }).click();

// Check that time comparison context column is hidden
await expect(page.getByText(comparisonColumnRegex)).not.toBeVisible();
Expand Down

0 comments on commit 60e4252

Please sign in to comment.