feat(education): complete student core loop delivery

This commit is contained in:
2026-07-28 14:58:14 +08:00
parent 93f02df68c
commit ce02f8acb4
50 changed files with 1536 additions and 64 deletions

View File

@@ -0,0 +1,25 @@
// @ts-check
const { defineConfig } = require('@playwright/test');
const port = process.env.PW_PORT || '4197';
module.exports = defineConfig({
testDir: '.',
testMatch: /acceptance\.spec\.js$/,
timeout: 30_000,
fullyParallel: false,
reporter: [['list'], ['json', { outputFile: 'artifacts/playwright-results.json' }]],
use: {
baseURL: process.env.BASE_URL || `http://127.0.0.1:${port}`,
headless: true,
trace: 'retain-on-failure',
screenshot: 'only-on-failure',
video: 'off',
},
webServer: process.env.BASE_URL ? undefined : {
command: `PORT=${port} node server.js`,
url: `http://127.0.0.1:${port}`,
reuseExistingServer: false,
timeout: 10_000,
},
});