site(e2e): wait for empty workspaces (#9987)

This commit is contained in:
Marcin Tojek
2023-10-02 11:53:44 +00:00
committed by GitHub
parent 4b0565c895
commit 57909e0c72
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -14,4 +14,6 @@ test("create first user", async ({ page }) => {
await expect(page).toHaveURL(/\/workspaces.*/);
await page.context().storageState({ path: STORAGE_STATE });
await page.getByTestId("button-select-template").isVisible();
});
@@ -112,6 +112,7 @@ export const WorkspacesTable: FC<WorkspacesTableProps> = ({
to="/templates"
startIcon={<AddOutlined />}
variant="contained"
data-testid="button-select-template"
>
Select a Template
</Button>