Skip to content

Commit

Permalink
Resolved merge conflicts and merged 'origin/report-builder-testscenar…
Browse files Browse the repository at this point in the history
…ios' into local branch
  • Loading branch information
nk2136 committed Nov 28, 2024
2 parents 5869e81 + 164bd3b commit a5e4beb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions end2end/tests/reportBuilder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@ test('Update current status to Initiator to generate report with no result', asy
const generateReportButton = page.locator('#generateReport');
await generateReportButton.click();

// Wait for the #reportStats element containing "Loading..." to be hidden
await page.locator('#reportStats:has-text("Loading...")').waitFor({ state: 'hidden' });
// Wait for the #reportStats element containing "Loading..." to be hidden
await page.locator('#reportStats:has-text("Loading...")').waitFor({ state: 'hidden' });

// Verify number of records displayed in the search results
await page.locator('#reportStats').waitFor({ state: 'visible' });
const reportText = await page.locator('#reportStats').textContent();
expect(reportText).toBe('0 records');
// Verify number of records displayed in the search results
await page.locator('#reportStats').waitFor({ state: 'visible' });
const reportText = await page.locator('#reportStats').textContent();
expect(reportText).toBe('0 records');
});

test('Validate comment approval functionality and comment visibility on record page', async ({ page }) => {
Expand Down

0 comments on commit a5e4beb

Please sign in to comment.