-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb2a27d
commit 1cf58bd
Showing
7 changed files
with
117 additions
and
49 deletions.
There are no files selected for viewing
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,33 @@ | ||
import { expect, test } from "@playwright/test"; | ||
|
||
import { search, selectedInstance } from "./utils"; | ||
|
||
test.describe.serial("player", () => { | ||
test.skip("play video", async ({ page }) => { | ||
await page.goto("localhost:3000"); | ||
|
||
await selectedInstance(page, "invidious.fdn.fr"); | ||
|
||
await page.reload(); | ||
|
||
await search(page, "Eminem lyric"); | ||
|
||
await page | ||
.getByRole("list", { name: "Search result list Eminem lyric" }) | ||
.getByRole("listitem") | ||
.first() | ||
.click(); | ||
|
||
await expect(page.getByRole("dialog", { name: "Player" })).toBeVisible({ | ||
timeout: 15000, | ||
}); | ||
|
||
// Ne fonctionne pas | ||
|
||
await expect( | ||
page.getByRole("status", { name: "Player loading" }), | ||
).toBeVisible({ | ||
timeout: 15000, | ||
}); | ||
}); | ||
}); |
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
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