Skip to content

Commit

Permalink
playwright: fixed Flakiness in test cases spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaileshParmar11 committed Sep 25, 2024
1 parent 30a091b commit 247b8f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ test('Table difference test case', async ({ page }) => {
await page.getByTestId('test-case').click();
await page.getByTestId('test-case-name').fill(testCase.name);
await page.getByTestId('test-type').click();
await page.getByTitle('Compare 2 tables for').click();
const tableListSearchResponse = page.waitForResponse(
`/api/v1/search/query?q=*index=table_search_index*`
);
await page.click('#tableTestForm_params_table2');
await page.getByTitle('Compare 2 tables for').click();
await tableListSearchResponse;
await page.click('#tableTestForm_params_table2');
const tableSearchResponse = page.waitForResponse(
`/api/v1/search/query?q=*${testCase.table2}*index=table_search_index*`
);
Expand Down

0 comments on commit 247b8f8

Please sign in to comment.