From c84045be49fee73b4afd25814b2a27664a8bd631 Mon Sep 17 00:00:00 2001 From: Vinay Badgujar Date: Sun, 6 Oct 2024 13:57:25 +0530 Subject: [PATCH] edit: click on partner goal switch mode button instead of navigating to home page after initiating collaboration --- .../collaboration-feature/goal-collaboration-feature.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright/tests/collaboration-feature/goal-collaboration-feature.spec.ts b/playwright/tests/collaboration-feature/goal-collaboration-feature.spec.ts index c74ed7013..1c055c133 100644 --- a/playwright/tests/collaboration-feature/goal-collaboration-feature.spec.ts +++ b/playwright/tests/collaboration-feature/goal-collaboration-feature.spec.ts @@ -141,7 +141,7 @@ test.describe("Goal Sharing Feature", () => { test(`check if collaborated goal is visible in User ${receiver}'s MyGoal`, async () => { console.log(`Checking if collaborated goal is visible in User ${receiver}'s MyGoal...`); - await goToMyGoalsPageFlow(receiverPage()); + await receiverPage().locator(".header-logo-wrapper").click(); await expect(receiverPage().locator(".my-goals-content").first()).toContainText(currentGoalTitle); }); });