test(e2e): playwright - two browsers play online, server shop, offline campaign (P4-2)

This commit is contained in:
Benjamin Oezcan
2026-11-19 09:47:22 +01:00
parent dd120f47f8
commit fade816169
11 changed files with 257 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ const gameGlobals = { RC: 'writable', Kit: 'writable', THREE: 'readonly', KIT_AS
module.exports = [
{
ignores: ['node_modules/**', 'server/node_modules/**', 'release/**', 'game/vendor/**', 'game/kit/**',
'launcher/**', 'sprite-generator/**', 'tools/shots/**', 'admin/**'],
'launcher/**', 'sprite-generator/**', 'tools/shots/**', 'admin/**', 'test-results/**', 'playwright-report/**'],
},
js.configs.recommended,
{
@@ -23,7 +23,7 @@ module.exports = [
languageOptions: { sourceType: 'script', globals: { ...globals.browser, ...gameGlobals } },
},
{
files: ['server/**/*.js', 'tests/**/*.js', 'tools/**/*.js', 'eslint.config.js'],
files: ['server/**/*.js', 'tests/**/*.js', 'tools/**/*.js', 'eslint.config.js', 'playwright.config.js'],
languageOptions: { sourceType: 'commonjs', globals: { ...globals.node } },
},
{