fix(frontend): resolve lint blockers for gitea frontend-ci

This commit is contained in:
WorkClub Automation
2026-03-06 22:26:55 +01:00
parent ad6a23621d
commit 5cf43976f6
16 changed files with 112 additions and 96 deletions

View File

@@ -15,7 +15,7 @@ import { test, expect } from '@playwright/test';
/**
* Robust club selection helper with fallback locators
*/
async function selectClubIfPresent(page: any) {
async function selectClubIfPresent(page: import('@playwright/test').Page) {
const isOnSelectClub = page.url().includes('/select-club');
if (!isOnSelectClub) {
@@ -182,7 +182,7 @@ test.describe('Authentication Flow', () => {
});
});
async function authenticateUser(page: any, email: string, password: string) {
async function authenticateUser(page: import('@playwright/test').Page, email: string, password: string) {
await page.goto('/login');
await page.click('button:has-text("Sign in with Keycloak")');