test: project ops fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
Raju Udava
2022-10-26 12:55:04 +05:30
committed by Muhammed Mustafa
parent 7d250a991a
commit 09c2414568

View File

@@ -15,14 +15,16 @@ test.describe("Project operations", () => {
});
test("rename, delete", async () => {
await dashboard.clickHome();
await dashboard.createProject({ name: "project-1", type: "xcdb" });
await dashboard.clickHome();
await dashboard.renameProject({
title: "externalREST0",
newTitle: "externalREST0x",
title: "project-1",
newTitle: "project-new",
});
await dashboard.clickHome();
await dashboard.openProject({ title: "externalREST0x" });
await dashboard.openProject({ title: "project-new" });
await dashboard.clickHome();
await dashboard.deleteProject({ title: "externalREST0x" });
await dashboard.deleteProject({ title: "project-new" });
});
});