Browse Source

test: typo in variable

pull/6637/head
mertmit 1 year ago
parent
commit
a4ec12c08f
  1. 2
      tests/playwright/pages/Dashboard/TreeView.ts

2
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);

Loading…
Cancel
Save