Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
rename util and a few test names
Browse files Browse the repository at this point in the history
  • Loading branch information
rylew1 committed May 16, 2024
1 parent 6944695 commit ef97ca9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/tests/e2e/search/search.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
selectSortBy,
toggleCheckboxes,
waitForSearchResultsLoaded,
} from "./searchUtil";
} from "./searchSpecUtil";
import { expect, test } from "@playwright/test";

test("should navigate from index to search page", async ({ page }) => {
Expand Down Expand Up @@ -91,7 +91,7 @@ test.describe("Search page tests", () => {
await expect(loadingIndicator).toBeVisible();
await expect(loadingIndicator).toBeHidden();
});
test("should retain filters in a new tab", async ({ page }) => {
test("should refresh and retain filters in a new tab", async ({ page }) => {
// Set all inputs, then refresh the page. Those same inputs should be
// set from query params.
const searchTerm = "education";
Expand Down Expand Up @@ -167,4 +167,8 @@ test.describe("Search page tests", () => {
await expectCheckboxIDIsChecked(page, `#${checkboxID}`);
}
});

test('resets page back to 1 when choosing a filter', () => {

});
});

0 comments on commit ef97ca9

Please sign in to comment.