Skip to content

Commit

Permalink
Merge pull request #16189 from CDCgov/experience/16062/unskip-daily-data
Browse files Browse the repository at this point in the history
Un-skip E2E test: daily-data-page-user-flow.spec.ts #16062
  • Loading branch information
etanb authored Oct 10, 2024
2 parents ffbe8be + 5a90362 commit 80f9da6
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ test.describe(
);
});

test.skip("clears 'Report ID'", async ({ dailyDataPage }) => {
test("clears 'Report ID'", async ({ dailyDataPage }) => {
// Search by Report ID
const reportId = await tableDataCellValue(dailyDataPage.page, 0, 0);
await searchInput(dailyDataPage.page).fill(reportId);
Expand Down Expand Up @@ -289,7 +289,7 @@ test.describe(
expect(await tableDataCellValue(dailyDataPage.page, 0, 0)).toEqual(reportId);
});

test.skip("returns match for Filename", async ({ dailyDataPage }) => {
test("returns match for Filename", async ({ dailyDataPage }) => {
// Filename search is currently broken and being tracked
// in ticket #15644
const fileName = await tableDataCellValue(dailyDataPage.page, 0, 4);
Expand All @@ -302,7 +302,8 @@ test.describe(

// Check filter status lists receiver value
const filterStatusText = filterStatus([fileName]);
await expect(dailyDataPage.page.getByTestId("filter-status")).toContainText(filterStatusText);
const actualText = await dailyDataPage.page.getByTestId("filter-status").textContent();
expect(filterStatusText).toContain(actualText);

//Check table data matches search
expect(await tableDataCellValue(dailyDataPage.page, 0, 4)).toEqual(fileName);
Expand Down

0 comments on commit 80f9da6

Please sign in to comment.