Standardize public images on WebP and add conversion tooling
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
This commit is contained in:
parent
75592d7d7a
commit
ca39b76282
883 changed files with 503 additions and 90 deletions
|
|
@ -122,7 +122,7 @@ test("catalogue, overview and deferred Aniimo loading preserve filters across na
|
|||
await page.locator('a.game-card-cover[href="#/games/aniimo"]').click();
|
||||
await expect(page.getByRole("heading", { name: "Aniimo", exact: true })).toBeVisible();
|
||||
const cover = page.locator('.aniimo-home-card img');
|
||||
await expect(cover).toHaveAttribute("src", "/static/img/aniimo/emberpup__basic_form.png");
|
||||
await expect(cover).toHaveAttribute("src", "/static/img/aniimo/emberpup__basic_form.webp");
|
||||
await expect(cover).toHaveCSS("object-fit", "cover");
|
||||
await expect(cover).toHaveCSS("object-position", "50% 38%");
|
||||
await expect(cover).toHaveCSS("height", "120px");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue