From a4ec12c08fe513949cfc603909257eb526fa0f21 Mon Sep 17 00:00:00 2001 From: mertmit Date: Tue, 10 Oct 2023 12:44:26 +0000 Subject: [PATCH] test: typo in variable --- tests/playwright/pages/Dashboard/TreeView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/pages/Dashboard/TreeView.ts b/tests/playwright/pages/Dashboard/TreeView.ts index 4171d8d322..7c61ca6d56 100644 --- a/tests/playwright/pages/Dashboard/TreeView.ts +++ b/tests/playwright/pages/Dashboard/TreeView.ts @@ -281,7 +281,7 @@ export class TreeViewPage extends BasePage { const pjtNode = await this.getProject({ title: param.baseTitle }); await pjtNode.hover(); - if (mode !== 'shareBase') { + if (param.mode !== 'shareBase') { // add new table button & context menu is visible only for owner & creator await expect(pjtNode.locator('[data-testid="nc-sidebar-add-base-entity"]')).toHaveCount(count); await expect(pjtNode.locator('[data-testid="nc-sidebar-context-menu"]')).toHaveCount(1);