mirror of https://github.com/coder/coder.git
Fix e2e test
This commit is contained in:
parent
c6d6475f89
commit
847d35503c
|
@ -11,8 +11,10 @@ test("setup first user", async ({ page }) => {
|
|||
await page.getByLabel(Language.passwordLabel).fill(constants.password);
|
||||
await page.getByTestId("create").click();
|
||||
|
||||
await expect(page).toHaveURL(/\/workspaces.*/);
|
||||
await expect(page).toHaveURL(/\/templates.*/);
|
||||
await page.context().storageState({ path: STORAGE_STATE });
|
||||
|
||||
await page.getByTestId("button-select-template").isVisible();
|
||||
await page
|
||||
.getByRole("button", { name: "Create template", exact: false })
|
||||
.isVisible();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue