test: verify actually uploaded license with assert (#12934)

Prior page.GetByText did not assert it existed
This commit is contained in:
Steven Masley 2024-04-10 18:02:08 -05:00 committed by GitHub
parent e801e878ba
commit 8da8b89af7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -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();
}
});