diff --git a/playwright-tests/tests/community/community.spec.js b/playwright-tests/tests/community/community.spec.js index cbe692ac..74b2bef2 100644 --- a/playwright-tests/tests/community/community.spec.js +++ b/playwright-tests/tests/community/community.spec.js @@ -232,7 +232,7 @@ test.describe("Is DevHUB platform community admin", () => { await page .getByTestId("-repoURL") - .fill("https://github.com/NEAR-DevHub/neardevhub-portal"); + .fill("https://github.com/NEAR-DevHub/neardevhub-bos"); await pauseIfVideoRecording(page); await page.getByTestId("-title").fill("DevHUB NEAR components"); await pauseIfVideoRecording(page); @@ -257,7 +257,9 @@ test.describe("Is DevHUB platform community admin", () => { await expect( await page.getByRole("heading", { name: "Bugs" }) ).toBeVisible(); - await expect(await page.locator(".card-header").first()).toBeVisible({timeout: 10_000}); + await expect(await page.locator(".card-header").first()).toBeVisible({ + timeout: 10_000, + }); await expect(await page.locator(".card-header").count()).toBeGreaterThan(1); await page.locator(".card-header").nth(2).scrollIntoViewIfNeeded(); await pauseIfVideoRecording(page); diff --git a/playwright-tests/tests/infrastructure/rfp.spec.js b/playwright-tests/tests/infrastructure/rfp.spec.js index 5f1d32a0..3db59c3d 100644 --- a/playwright-tests/tests/infrastructure/rfp.spec.js +++ b/playwright-tests/tests/infrastructure/rfp.spec.js @@ -491,9 +491,7 @@ test.describe("Admin with don't ask again enabled", () => { submittedTransactionJsonObject.data["petersalomonsen.near"].post.comment ); expect(submittedComment.text).toEqual(commentText); - let commentElement = await page - .frameLocator("#petersalomonsennear129162427 iframe") - .locator("#content"); + let commentElement = await page.locator("#petersalomonsennear129162427"); await expect(commentElement).toBeVisible({ timeout: 30_000 }); await expect(commentElement).toContainText(commentText, { timeout: 30_000, @@ -501,9 +499,7 @@ test.describe("Admin with don't ask again enabled", () => { await page.reload(); - commentElement = await page - .frameLocator("#petersalomonsennear129162427 iframe") - .locator("#content"); + commentElement = await page.locator("#petersalomonsennear129162427"); await expect(commentElement).toBeVisible({ timeout: 30_000 }); await expect(commentElement).toContainText(commentText, { timeout: 30_000,