mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
Add transparency integration test
This commit is contained in:
parent
572c6dd497
commit
2f0b3ebac4
2 changed files with 10 additions and 0 deletions
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
|
|
@ -24,6 +24,16 @@ it("should render the Topaz skin", async () => {
|
|||
expect(await page.screenshot()).toMatchImageSnapshot();
|
||||
});
|
||||
|
||||
it("should render a skin that defines transparent regions", async () => {
|
||||
await page.goto(`http://localhost:8080/#{"disableMarquee":true}`);
|
||||
expect(page).toUploadFile(
|
||||
"#webamp-file-input",
|
||||
"./skins/Green-Dimension-V2.wsz"
|
||||
);
|
||||
await new Promise(resolve => setTimeout(resolve, 200));
|
||||
expect(await page.screenshot()).toMatchImageSnapshot();
|
||||
});
|
||||
|
||||
it("uses the volume spirtes as a fallback when balance spirtes are missing", async () => {
|
||||
await page.goto(`http://localhost:8080/#{"disableMarquee":true}`);
|
||||
expect(page).toUploadFile("#webamp-file-input", "./skins/AmigaPPC-dark.wsz");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue