fix(frontend): resolve lint blockers for gitea frontend-ci
This commit is contained in:
@@ -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")');
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import { test, expect } from '@playwright/test';
|
||||
* - Visual capacity indicators (progress bar, spot counts)
|
||||
*/
|
||||
|
||||
async function selectClubIfPresent(page: any) {
|
||||
async function selectClubIfPresent(page: import('@playwright/test').Page) {
|
||||
const isOnSelectClub = page.url().includes('/select-club');
|
||||
|
||||
if (!isOnSelectClub) {
|
||||
@@ -51,7 +51,7 @@ async function selectClubIfPresent(page: any) {
|
||||
}
|
||||
}
|
||||
|
||||
async function loginAs(page: any, email: string, password: string) {
|
||||
async function loginAs(page: import('@playwright/test').Page, email: string, password: string) {
|
||||
await page.goto('/login');
|
||||
await page.click('button:has-text("Sign in with Keycloak")');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user