Skip to content

Commit

Permalink
edits to testing spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
arinkulshi committed Sep 17, 2024
1 parent c4b0eb0 commit de2210c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OCR/frontend/e2e/ReviewTemplate.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test.describe("ReviewTemplate Page", () => {
await scrollContainer.evaluate((el) => el.scrollBy(0, 100));
const afterScroll = await scrollContainer.evaluate((el) => el.scrollTop);

await expect(afterScroll).toBeGreaterThan(beforeScroll);
expect(afterScroll).toBeGreaterThan(beforeScroll);
});

// Test the Back button functionality
Expand All @@ -39,7 +39,7 @@ test.describe("ReviewTemplate Page", () => {
test("Displays extracted data with overall confidence score", async ({
page,
}) => {
const extractedDataHeader = await page.getByRole("heading", {
const extractedDataHeader = page.getByRole("heading", {
name: "Extracted Data",
});
await expect(extractedDataHeader).toBeVisible();
Expand Down

0 comments on commit de2210c

Please sign in to comment.