mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-11 21:40:02 -04:00
fix tests
This commit is contained in:
parent
3025110378
commit
7d85942725
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ test.describe("Google", () => {
|
|||
test("The front page can load.", async ({ page }) => {
|
||||
const frame = await setupPage(page, "https://www.google.com/");
|
||||
|
||||
const logo = await frame.locator("img[alt='Google']").first().getAttribute("src");
|
||||
expect(logo).not.toBeNull();
|
||||
const search = await frame.locator("textarea[Title='Search']").first().waitFor({ state: "visible" });
|
||||
expect(search).not.toBeNull();
|
||||
});
|
||||
|
||||
test("The Google Apps menu opens and content is visible.", async ({ page }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue