-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create desktop test for featured image * test(frontend): ✅ add tests for featured image * refactor: prettier write * test(frontend): ✅ update featured image tests --------- Co-authored-by: Mats <mnyflot@gmail.com>
- Loading branch information
2 people
authored and
GitHub
committed
Apr 16, 2024
1 parent
bbd41ff
commit 0883596
Showing
5 changed files
with
36 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import { test, expect } from "@playwright/test"; | ||
|
|
||
| test("test", async ({ page }) => { | ||
| await page.goto("/"); | ||
| await expect( | ||
| page.getByRole("img", { name: "Featured satellite image" }), | ||
| ).toBeVisible(); | ||
| await expect( | ||
| page.getByRole("heading", { name: "Featured Satellite Image" }), | ||
| ).toBeVisible(); | ||
| }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import { test, expect } from "@playwright/test"; | ||
|
|
||
| test("test", async ({ page }) => { | ||
| await page.goto("/"); | ||
| await expect( | ||
| page.getByRole("img", { name: "Featured satellite image" }), | ||
| ).toBeVisible(); | ||
| await expect( | ||
| page.getByRole("heading", { name: "Featured Satellite Image" }), | ||
| ).toBeVisible(); | ||
| }); |