Add the server-backed card game: Discord login, recharging pack openings, album, trades, gifts, stardust shop, campaign codes and its administration, stored in SQLite and disabled in production until configured. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
768 B
JavaScript
18 lines
768 B
JavaScript
// Rôle : exécute les parcours Sokko TCG contre le vrai serveur Node et une base temporaire.
|
|
import { defineConfig, devices } from "@playwright/test";
|
|
|
|
export default defineConfig({
|
|
testDir: "./e2e",
|
|
testMatch: "nebula-cards.spec.js",
|
|
workers: 1,
|
|
outputDir: "test-results/cards",
|
|
reporter: [["list"], ["html", { open: "never", outputFolder: "playwright-report/cards" }]],
|
|
use: { baseURL: "http://127.0.0.1:4180", trace: "retain-on-failure", screenshot: "only-on-failure" },
|
|
webServer: {
|
|
command: "npm run build && node scripts/start-cards-e2e-server.mjs",
|
|
url: "http://127.0.0.1:4180/api/cards/config",
|
|
reuseExistingServer: false,
|
|
timeout: 120000
|
|
},
|
|
projects: [{ name: "chromium-cards", use: { ...devices["Desktop Chrome"] } }]
|
|
});
|