From 3a1355d32f86a74508788f7a993dd408b855c29a Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 11 Dec 2024 14:10:34 +0100 Subject: [PATCH] skip tests --- playwright-tests/tests/sunset/blog.spec.js | 4 ++-- playwright-tests/tests/sunset/create.spec.js | 2 +- playwright-tests/tests/sunset/feed.spec.js | 16 +++++++++------- playwright-tests/tests/sunset/search.spec.js | 4 +++- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/playwright-tests/tests/sunset/blog.spec.js b/playwright-tests/tests/sunset/blog.spec.js index 68a321f64..7d1500b85 100644 --- a/playwright-tests/tests/sunset/blog.spec.js +++ b/playwright-tests/tests/sunset/blog.spec.js @@ -1,6 +1,6 @@ import { expect, test } from "@playwright/test"; -test.describe("Sunset Blog addon", () => { +test.skip("Sunset Blog addon", () => { test.use({ baseURL: "http://localhost:8080", }); @@ -63,7 +63,7 @@ test.describe("Sunset Blog addon", () => { }); }); -test.describe("Sunset Blog Addon", () => { +test.skip("Sunset Blog Addon", () => { test.use({ baseURL: "http://localhost:8080", }); diff --git a/playwright-tests/tests/sunset/create.spec.js b/playwright-tests/tests/sunset/create.spec.js index a36d41ad4..13cf2080b 100644 --- a/playwright-tests/tests/sunset/create.spec.js +++ b/playwright-tests/tests/sunset/create.spec.js @@ -32,7 +32,7 @@ test.describe("Wallet is connected", () => { storageState: "playwright-tests/storage-states/wallet-connected.json", }); - test("should be able to submit a solution (funding request) with USDC as currency", async ({ + test.skip("should be able to submit a solution (funding request) with USDC as currency", async ({ page, }) => { test.setTimeout(120000); diff --git a/playwright-tests/tests/sunset/feed.spec.js b/playwright-tests/tests/sunset/feed.spec.js index b35209477..a49c0349b 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"); @@ -90,7 +92,7 @@ test.describe("Wallet is connected", () => { }); }); - test("successful idea reply post should not show the editor", async ({ + test.skip("successful idea reply post should not show the editor", async ({ page, }) => { await page.goto( @@ -103,7 +105,7 @@ test.describe("Wallet is connected", () => { }); }); - test("successful comment post should not show the editor", async ({ + test.skip("successful comment post should not show the editor", async ({ page, }) => { await page.goto( @@ -116,7 +118,7 @@ test.describe("Wallet is connected", () => { }); }); - test("successful edited post should not show the editor", async ({ + test.skip("successful edited post should not show the editor", async ({ page, }) => { await page.goto( @@ -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