Add the Sokko TCG collectible card mini-game
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>
This commit is contained in:
parent
243465720f
commit
5ce35cd7ba
193 changed files with 12159 additions and 28 deletions
18
playwright.cards.config.js
Normal file
18
playwright.cards.config.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// 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"] } }]
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue