mirror of
https://github.com/n30nex/CartoLite-Server.git
synced 2026-10-22 13:11:36 +00:00
* Build cinematic display controls and shared GPU packet effects * Add scoped Follow and adaptive scene hierarchy * Add explicit sound preview and streamline map chrome * Add Netgraph live director and cinematic acceptance * Refine cinematic focus and renderer lifecycle * Fix menu history races and Follow inspection * Prepare Worldwide 0.6.0 cinematic release candidate * Fix mobile layer positioning and verify composited packet colors * Validate each visual scene independently and retain bounded CI evidence * Restore worldwide grouping and adapt GPU effects to frame cost * Bound GPU presentation cost without dropping packet motion * Keep dock controls reachable and avoid redundant backdrop rendering * Keep phone legends and touch targets clear of the dock * Keep Netgraph Follow scoped, readable and steady * Retain mobile reset and bound dense-scene presentation cost * Keep traffic controls and node details legible in landscape * Focus Finder within its opening gesture to prevent menu races * Frame Follow above its controls and release owned graphics contexts * Verify map dismissal after the camera gesture settles * Pack shared route attributes once per segment * Keep map attribution accessible above the mobile dock * Remove inactive map effect layers and sample packet lifetimes deterministically * Synchronize dense-scene fallback even when packet animation is idle * Verify effect-layer ownership with complete map test doubles
38 lines
1.4 KiB
TypeScript
38 lines
1.4 KiB
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
outputDir: './test-results',
|
|
retries: process.env.CI ? 1 : 0,
|
|
// Stop broken candidates early; a passing candidate still runs every scenario.
|
|
maxFailures: process.env.CI ? 3 : 0,
|
|
// Renderer timing is meaningful only when one Chromium instance owns the
|
|
// shared Actions CPU; concurrent software-rendered maps distort the gate.
|
|
workers: process.env.CI ? 1 : undefined,
|
|
reporter: process.env.CI ? [['github'], ['html', { open: 'never' }]] : 'list',
|
|
use: {
|
|
baseURL: process.env.CARTOLITE_BASE_URL ?? 'http://127.0.0.1:39476',
|
|
screenshot: 'only-on-failure',
|
|
trace: 'on-first-retry',
|
|
launchOptions: { args: ['--enable-unsafe-swiftshader'] }
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'desktop',
|
|
testIgnore: /tablet-portrait\.spec\.ts/,
|
|
use: { ...devices['Desktop Chrome'], viewport: { width: 1440, height: 900 } }
|
|
},
|
|
{ name: 'mobile', testIgnore: /tablet-portrait\.spec\.ts/, use: { ...devices['Pixel 7'] } },
|
|
{
|
|
name: 'mobile-tablet-portrait',
|
|
testMatch: /tablet-portrait\.spec\.ts/,
|
|
use: { ...devices['Desktop Chrome'], viewport: { width: 800, height: 1280 }, hasTouch: true }
|
|
},
|
|
{
|
|
name: 'mobile-landscape',
|
|
testIgnore: /tablet-portrait\.spec\.ts/,
|
|
use: { ...devices['Pixel 7'], viewport: { width: 844, height: 390 } }
|
|
}
|
|
]
|
|
});
|