mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
test: verify actually uploaded license with assert (#12934)
Prior page.GetByText did not assert it existed
This commit is contained in:
@@ -30,6 +30,8 @@ test("setup deployment", async ({ page }) => {
|
||||
await page.getByRole("textbox").fill(constants.enterpriseLicense);
|
||||
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();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user