Browse Source

test: break grid view tests into 2

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3848/head
Raju Udava 2 years ago committed by Muhammed Mustafa
parent
commit
12d7a9cb4b
  1. 6
      scripts/playwright/tests/gridViewShare.spec.ts

6
scripts/playwright/tests/gridViewShare.spec.ts

@ -167,7 +167,9 @@ test.describe("Shared view", () => {
"Download as CSV", "Download as CSV",
"./expectedData.txt" "./expectedData.txt"
); );
});
test("Shared view: password", async ({ page }) => {
/** /**
* 5. Enable shared view password, disable download: verify * 5. Enable shared view password, disable download: verify
* - Incorrect password * - Incorrect password
@ -176,9 +178,7 @@ test.describe("Shared view", () => {
* - Add new record & column after shared view creation; verify * - Add new record & column after shared view creation; verify
**/ **/
// visit main page await dashboard.closeTab({ title: "Team & Auth" });
await page.goto(mainPageLink);
await dashboard.closeTab({ title: "Address" });
await dashboard.treeView.openTable({ title: "Country" }); await dashboard.treeView.openTable({ title: "Country" });
// enable password & verify share link // enable password & verify share link

Loading…
Cancel
Save