Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8da8b89

Browse files
authoredApr 10, 2024
test: verify actually uploaded license with assert (#12934)
Prior page.GetByText did not assert it existed
1 parent e801e87 commit 8da8b89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎site/e2e/global.setup.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ test("setup deployment", async ({ page }) => {
3030
await page.getByRole("textbox").fill(constants.enterpriseLicense);
3131
await page.getByText("Upload License").click();
3232

33-
await page.getByText("You have successfully added a license").isVisible();
33+
await expect(
34+
page.getByText("You have successfully added a license"),
35+
).toBeVisible();
3436
}
3537
});

0 commit comments

Comments
 (0)
Failed to load comments.