Skip to content

Commit

Permalink
select first announcement, don't replace devgovgigs for blog yet
Browse files Browse the repository at this point in the history
  • Loading branch information
petersalomonsen committed Jan 21, 2024
1 parent 50f3878 commit f414c5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion playwright-tests/tests/announcements.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand Down
4 changes: 2 additions & 2 deletions playwright-tests/tests/blog.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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-"]`);
Expand All @@ -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-"]`);
Expand Down

0 comments on commit f414c5d

Please sign in to comment.