mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
site(e2e): wait for empty workspaces (#9987)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user