Repository Public
1/**2 * =============================================================================3 * SP BOUCHER | SOFTWARE & RESEARCH4 * ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project : UQO Éval — Le Grand Défi Immobilier8 * File : playwright.config.ts9 * Repository : https://git.spboucher.ai/uqo-eval-jeux10 * Project Website : https://jeux.uqo-eval.app11 * Created : 2026-11-2512 * Last Modified : 2026-11-2513 *14 * Author : Simon-Pierre Boucher15 * Position : Professor of Finance16 * Institution : Université du Québec en Outaouais (UQO)17 * Organization : SP Boucher18 * Website : https://spboucher.ai19 * Git : https://git.spboucher.ai20 *21 * Preferred Contact: contact@spboucher.ai22 * Development : dev@spboucher.ai23 * Support : support@spboucher.ai24 * Security/Admin : admin@spboucher.ai25 *26 * Copyright (c) 202627 * Simon-Pierre Boucher28 * All rights reserved where applicable. This file is governed by the29 * applicable project license, copyright notices and relevant law.30 * Existing third-party rights and notices remain unaffected.31 *32 * License : None specified (no license file in this repository)33 *34 * Do not embed credentials, private keys, access tokens,35 * certificates or confidential personal information.36 *37 * =============================================================================38 * END OF SP BOUCHER SOURCE HEADER39 * =============================================================================40 */4142import { defineConfig, devices } from "@playwright/test";4344/**45 * Tests de bout en bout par l'interface. Ils supposent un serveur déjà démarré46 * (base de développement synchronisée) : E2E_BASE_URL, défaut http://localhost:8090.47 */48export default defineConfig({49 testDir: "tests/e2e",50 timeout: 15 * 60 * 1000,51 expect: { timeout: 15_000 },52 fullyParallel: false,53 workers: 1,54 reporter: [["list"]],55 use: {56 baseURL: process.env.E2E_BASE_URL ?? "http://localhost:8090",57 locale: "fr-CA",58 reducedMotion: "reduce",59 trace: "retain-on-failure",60 },61 projects: [62 { name: "ordinateur", use: { ...devices["Desktop Chrome"], viewport: { width: 1440, height: 900 } } },63 { name: "mobile", use: { ...devices["iPhone 14"] }, grep: /@mobile/ },64 ],65});66