Fix E2E tests (#2640)
Some checks failed
E2E Tests / e2e (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled

This commit is contained in:
Kalle
2025-11-18 17:53:35 +02:00
committed by GitHub
parent abf491bac2
commit 30e22c2b1a
3 changed files with 3 additions and 18 deletions

View File

@@ -1,17 +0,0 @@
*If you are not adding a badge just clear this template*
## Badge adding checklist
Please check each and mark with "x" to indicate you have verified that requirement. This allows for more seamless badge reviews, thank you!
- [ ] The `.avif` file is static, not animated (generate it from the .png)
- [ ] Rotation of animation is counterclockwise
- [ ] Rotation is of correct speed (around 3 seconds for full round)
- [ ] Badge is centered both vertically and horizontally
- [ ] Badge is zoomed in enough (not too much blank space around it)
For full list of requirements that need to bet met for the badge to be added please check the instructions in /docs/badges.md file.
---
<!-- Add more info/context here if you want -->

View File

@@ -1,3 +1,5 @@
import { IS_E2E_TEST_RUN } from "~/utils/e2e";
/**
* List of seasons with their respective start and end dates.
*
@@ -15,6 +17,7 @@
export const list =
// when we do npm run setup NODE_ENV is not set -> use test seasons
!process.env.NODE_ENV ||
IS_E2E_TEST_RUN ||
// this gets checked when the project is running
(process.env.NODE_ENV === "development" &&
import.meta.env.VITE_PROD_MODE !== "true")

View File

@@ -15,7 +15,6 @@ test.describe("Tier List Maker", () => {
// Test that toggles are clickable (just verify they work)
await page.getByText("Allow duplicates").click();
await page.getByText("Show tier headers").click();
await page.getByText("Show arrow controls").click();
await page.getByText("Hide alt kits").click();
await page.getByText("Hide alt skins").click();