From eb6fae47455e9cb75e40a72510ec5d2a4e226997 Mon Sep 17 00:00:00 2001 From: Megha-Dev-19 <100185149+Megha-Dev-19@users.noreply.github.com> Date: Tue, 10 Dec 2024 22:34:55 +0530 Subject: [PATCH] skip sunset tests --- playwright-tests/tests/sunset/blog.spec.js | 10 ++++++---- playwright-tests/tests/sunset/feed.spec.js | 10 ++++++---- playwright-tests/tests/sunset/search.spec.js | 4 +++- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/playwright-tests/tests/sunset/blog.spec.js b/playwright-tests/tests/sunset/blog.spec.js index 68a321f64..814fad094 100644 --- a/playwright-tests/tests/sunset/blog.spec.js +++ b/playwright-tests/tests/sunset/blog.spec.js @@ -4,7 +4,7 @@ test.describe("Sunset Blog addon", () => { test.use({ baseURL: "http://localhost:8080", }); - test("should load blogs in the sidebar for a given handle", async ({ + test.skip("should load blogs in the sidebar for a given handle", async ({ page, }) => { await page.goto( @@ -18,7 +18,7 @@ test.describe("Sunset Blog addon", () => { expect(sidebarBlogSelectors.length).toBeGreaterThanOrEqual(1); }); - test("should prepopulate the form when a blog is selected from the left", async ({ + test.skip("should prepopulate the form when a blog is selected from the left", async ({ page, }) => { test.setTimeout(60000); @@ -67,7 +67,9 @@ test.describe("Sunset Blog Addon", () => { test.use({ baseURL: "http://localhost:8080", }); - test("should have an empty form if select new blog", async ({ page }) => { + test.skip("should have an empty form if select new blog", async ({ + page, + }) => { await page.goto( "/devhub.near/widget/devhub.entity.addon.blog.Configurator" ); @@ -105,7 +107,7 @@ test.describe("Sunset Blog Addon", () => { } }); - test("should load a blog page and its blogs for a given community handle", async ({ + test.skip("should load a blog page and its blogs for a given community handle", async ({ page, }) => { await page.goto( diff --git a/playwright-tests/tests/sunset/feed.spec.js b/playwright-tests/tests/sunset/feed.spec.js index b35209477..49b0efa8d 100644 --- a/playwright-tests/tests/sunset/feed.spec.js +++ b/playwright-tests/tests/sunset/feed.spec.js @@ -1,7 +1,9 @@ import { expect, test } from "@playwright/test"; import { pauseIfVideoRecording } from "../../testUtils.js"; -test("should show post history for posts in the feed", async ({ page }) => { +test.skip("should show post history for posts in the feed", async ({ + page, +}) => { await page.goto("/devhub.near/widget/app?page=feed"); const firstPostHistoryButtonSelector = 'a.card-link[title="Post History"]'; @@ -22,7 +24,7 @@ test("should show post history for posts in the feed", async ({ page }) => { await page.waitForSelector(desiredChildSelector, { state: "visible" }); }); -test("should hide posts with devhub-test tag", async ({ page }) => { +test.skip("should hide posts with devhub-test tag", async ({ page }) => { // go to feeds page await page.goto("/devhub.near/widget/app?page=feed"); @@ -51,7 +53,7 @@ test.describe("Wallet is connected", () => { storageState: "playwright-tests/storage-states/wallet-connected.json", }); - test("should hide posts editor when hit cancel", async ({ page }) => { + test.skip("should hide posts editor when hit cancel", async ({ page }) => { // go to feed with logged in user account await page.goto("/devhub.near/widget/app?page=feed&author=efiz.near"); @@ -128,7 +130,7 @@ test.describe("Wallet is connected", () => { state: "hidden", }); }); - test("should reply to a post in the feed with a comment", async ({ + test.skip("should reply to a post in the feed with a comment", async ({ page, }) => { test.setTimeout(1200000); diff --git a/playwright-tests/tests/sunset/search.spec.js b/playwright-tests/tests/sunset/search.spec.js index 262a10eac..afd06403f 100644 --- a/playwright-tests/tests/sunset/search.spec.js +++ b/playwright-tests/tests/sunset/search.spec.js @@ -1,6 +1,8 @@ import { test } from "@playwright/test"; -test("should show post history for posts in the feed", async ({ page }) => { +test.skip("should show post history for posts in the feed", async ({ + page, +}) => { await page.goto("/devhub.near/widget/app?page=feed"); // Fill the search by content by to