Skip to content

Commit

Permalink
fix: revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bjp232004 authored and oasisk committed May 25, 2024
1 parent b101ba7 commit f475cc7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/ui-testing/playwright-tests/dashboardtype.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ test.describe("dashboard testcases", () => {
await page.locator("[data-test='logs-search-bar-refresh-btn']").click({
force: true,
});
await page.waitForTimeout(3000);
// get the data from the search variable
// await expect.poll(async () => (await search).status()).toBe(200);
await expect.poll(async () => (await search).status()).toBe(200);
// await search.hits.FIXME_should("be.an", "array");
}

Expand Down
2 changes: 1 addition & 1 deletion tests/ui-testing/playwright-tests/region.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test.describe("Region testcases", () => {
force: true,
});
// get the data from the search variable
// await expect.poll(async () => (await search).status()).toBe(200);
await expect.poll(async () => (await search).status()).toBe(200);
// await search.hits.FIXME_should("be.an", "array");
}
// tebefore(async function () {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui-testing/playwright-tests/schema.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ test.describe("Schema testcases", () => {
force: true,
});
// get the data from the search variable
// await expect.poll(async () => (await search).status()).toBe(200);
await expect.poll(async () => (await search).status()).toBe(200);
// await search.hits.FIXME_should("be.an", "array");
}
// tebefore(async function () {
Expand Down

0 comments on commit f475cc7

Please sign in to comment.