diff --git a/playwright-tests/tests/announcements.spec.js b/playwright-tests/tests/announcements.spec.js index d4ef6d74f..dd46c5f6a 100644 --- a/playwright-tests/tests/announcements.spec.js +++ b/playwright-tests/tests/announcements.spec.js @@ -92,7 +92,7 @@ test.describe("Admin wallet is connected", () => { await page.goto( "/devhub.near/widget/app?page=community&handle=devhub-test" ); - const postLocator = page.locator(".post"); + const postLocator = page.locator(".post").first(); await postLocator.focus(); }); diff --git a/playwright-tests/tests/blog.spec.js b/playwright-tests/tests/blog.spec.js index 5f3b46605..7fd0d9337 100644 --- a/playwright-tests/tests/blog.spec.js +++ b/playwright-tests/tests/blog.spec.js @@ -4,7 +4,7 @@ test("should load blogs in the sidebar for a given handle", async ({ page, }) => { await page.goto( - "/devhub.near/widget/devhub.entity.addon.blog.Configurator?handle=devhub-test" + "/devgovgigs.near/widget/devhub.entity.addon.blog.Configurator?handle=devhub-test" ); await page.waitForSelector(`[id^="edit-blog-selector-"]`); @@ -18,7 +18,7 @@ test("should prepopulate the form when a blog is selected from the left", async page, }) => { await page.goto( - "/devhub.near/widget/devhub.entity.addon.blog.Configurator?handle=devhub-test" + "/devgovgigs.near/widget/devhub.entity.addon.blog.Configurator?handle=devhub-test" ); await page.waitForSelector(`[id^="edit-blog-selector-"]`);