SPB Git

Repository Public

playwright.config.ts 2.1 KB 52 lines typescript

1/**2 * =============================================================================3 *                  SP BOUCHER | INFRASTRUCTURE & AUTOMATION4 *             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project          : MacLustr SMS Gateway8 * File             : dashboard/e2e/playwright.config.ts9 * Module           : dashboard10 * Repository       : https://git.spboucher.ai/maclustr-sms11 * Project Website  : https://sms.spboucher.ai12 * Created          : 2026-11-3013 * Last Modified    : 2026-11-3014 *15 * Author           : Simon-Pierre Boucher16 * Position         : Professor of Finance17 * Institution      : Université du Québec en Outaouais (UQO)18 * Organization     : SP Boucher19 * Website          : https://spboucher.ai20 * Git              : https://git.spboucher.ai21 *22 * Preferred Contact: admin@spboucher.ai23 * Technical Contact: dev@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 } from "@playwright/test"43// Le banc d'essai (backend/tests/harness.ts) lit ces variables à l'import.44process.env.SMS_TEST_PORT ??= "8762"45process.env.SMS_TEST_DB ??= "postgres://127.0.0.1/maclustr_sms_ui_test"46process.env.SMS_TEST_WEB_DIR ??= "dist/web"47process.env.SMS_TEST_RELEASES_DIR ??= "releases"48export default defineConfig({49  testDir: ".", timeout: 90_000, workers: 1, reporter: "list",50  use: { baseURL: "http://localhost:8762", viewport: { width: 1380, height: 900 }, colorScheme: "dark", locale: "fr-CA" },51})52
Files main
Menu

Theme