mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 23:10: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 }) => {
|
test("The front page can load.", async ({ page }) => {
|
||||||
const frame = await setupPage(page, "https://www.google.com/");
|
const frame = await setupPage(page, "https://www.google.com/");
|
||||||
|
|
||||||
const logo = await frame.locator("img[alt='Google']").first().getAttribute("src");
|
const search = await frame.locator("textarea[Title='Search']").first().waitFor({ state: "visible" });
|
||||||
expect(logo).not.toBeNull();
|
expect(search).not.toBeNull();
|
||||||
});
|
});
|
||||||
|
|
||||||
test("The Google Apps menu opens and content is visible.", async ({ page }) => {
|
test("The Google Apps menu opens and content is visible.", async ({ page }) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue