Files
plantillas-proyectos/frontend/e2e/login.spec.ts
Kevin_Ramirez bdd089954b
Some checks failed
Build Producción & Push a Harbor / test (push) Failing after 3s
Build Producción & Push a Harbor / build (push) Has been skipped
Aduanasoft/plantillas-proyectos/pipeline/head There was a failure building this commit
feat: plantilla base workspace SaaS
2026-07-21 13:59:00 -05:00

17 lines
631 B
TypeScript

import { test, expect } from '@playwright/test'
// El login local fue reemplazado por SSO de Workspace; auth.setup.ts cubre el flujo de auth.
// Este spec mantiene solo verificaciones del dashboard tras el setup.
test.describe('Login', () => {
test('sesión válida lleva al dashboard', async ({ page }) => {
await page.goto('/dashboard')
await expect(page).toHaveURL(/dashboard/, { timeout: 15000 })
})
test('dashboard muestra encabezado', async ({ page }) => {
await page.goto('/dashboard')
await expect(page.locator('h1')).toBeVisible({ timeout: 15000 })
})
})