mirror of https://github.com/coder/coder.git
test: verify actually uploaded license with assert (#12934)
Prior page.GetByText did not assert it existed
This commit is contained in:
parent
e801e878ba
commit
8da8b89af7
|
@ -30,6 +30,8 @@ test("setup deployment", async ({ page }) => {
|
||||||
await page.getByRole("textbox").fill(constants.enterpriseLicense);
|
await page.getByRole("textbox").fill(constants.enterpriseLicense);
|
||||||
await page.getByText("Upload License").click();
|
await page.getByText("Upload License").click();
|
||||||
|
|
||||||
await page.getByText("You have successfully added a license").isVisible();
|
await expect(
|
||||||
|
page.getByText("You have successfully added a license"),
|
||||||
|
).toBeVisible();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue