Skip to content

[Map] add polyline support #5436

[Map] add polyline support

[Map] add polyline support #5436

Triggered via pull request November 9, 2024 23:01
Status Failure
Total duration 1m 20s
Artifacts

test.yaml

on: pull_request
tests-php-components
2s
tests-php-components
JavaScript Coding Style
20s
JavaScript Coding Style
Check for UnBuilt JS Dist Files
47s
Check for UnBuilt JS Dist Files
tests-js
1m 8s
tests-js
Matrix: tests-php
Fit to window
Zoom out
Zoom in

Annotations

9 errors
JavaScript Coding Style
Process completed with exit code 1.
tests-php (8.4, Map)
Process completed with exit code 2.
tests-php (8.3, Map)
Process completed with exit code 2.
Check for UnBuilt JS Dist Files
Unable to process file command 'output' successfully.
Check for UnBuilt JS Dist Files
Invalid format ' M src/Map/src/Bridge/Leaflet/assets/dist/map_controller.js'
Unhandled error: src/Map/assets/src/abstract_map_controller.ts#L94
SyntaxError: Unexpected non-whitespace character after JSON at position 853 (line 1 column 854) ❯ object ../../../../../../../../../../../node_modules/.vite/deps/@hotwired_stimulus.js:2245:25 ❯ extended.get ../../../../../../../../../../../node_modules/.vite/deps/@hotwired_stimulus.js:2113:18 ❯ extended.connect ../../../../assets/src/abstract_map_controller.ts:94:97 ❯ extended.connect src/map_controller.ts:81:14
test/map_controller.test.ts > GoogleMapsController > connect: src/Map/src/Bridge/Google/assets/test/map_controller.test.ts#L59
Error: expect(element).toHaveClass("pre-connected") Expected the element to have class: pre-connected Received: <html lang="en" > <head> <meta charset="UTF-8" /> <link href="/__vitest__/favicon.svg" rel="icon" type="image/svg+xml" /> <meta content="width=device-width, initial-scale=1.0" name="viewport" /> <title> Vitest Browser Tester </title> <style> html { padding: 0; margin: 0; } body { padding: 0; margin: 0; min-height: 100vh; } </style> <script type="module" > const moduleCache = new Map(); function wrapModule(module) { if (typeof module === "function") { const promise = new Promise((resolve, reject) =&gt; { if (typeof __vitest_mocker__ === "undefined") return module().then(resolve, reject); __vitest_mocker__.prepare().finally(() =&gt; { module().then(resolve, reject); }); }); moduleCache.set(promise, { promise, evaluated: false }); return promise.finally(() =&gt; moduleCache.delete(promise)); } return module; } window.__vitest_browser_runner__ = { wrapModule, wrapDynamicImport: wrapModule, moduleCache, config: {"mode":"test","isolate":true,"defines":{},"setupFiles":["/home/runner/work/ux/ux/test/setup.js"],"allowOnly":false,"testTimeout":15000,"hookTimeout":30000,"clearMocks":false,"mockReset":false,"restoreMocks":false,"unstubEnvs":false,"unstubGlobals":false,"maxConcurrency":5,"pool":"forks","expect":{},"snapshotSerializers":[],"disableConsoleIntercept":false,"root":"/home/runner/work/ux/ux/src/Map/src/Bridge/Google/assets","globals":true,"coverage":{"reportsDirectory":"./coverage","provider":"v8","enabled":false,"htmlReporter":{}},"fakeTimers":{"loopLimit":10000,"shouldClearNativeTimers":true,"toFake":["setTimeout","clearTimeout","setInterval","clearInterval","setImmediate","clearImmediate","Date"]},"poolOptions":{"forks":{"singleFork":false,"isolate":true},"threads":{"singleThread":false,"isolate":true},"vmThreads":{"singleThread":false},"vmForks":{"singleFork":false}},"deps":{"web":{"transformAssets":true,"transformCss":true,"transformGlobPattern":[]},"optimizer":{"web":{"enabled":true},"ssr":{"enabled":true}},"moduleDirectories":["/node_modules/"]},"snapshotOptions":{"updateSnapshot":"none","snapshotFormat":{},"expand":false},"sequence":{"hooks":"stack"},"inspector":{"enabled":false,"waitForDebugger":false},"watch":false,"env":{"BASE_URL":"/","MODE":"test","DEV":true,"PROD":false,"VITEST_BROWSER_DEBUG":""},"browser":{"name":"chromium","headless":true,"isolate":true,"fileParallelism":true,"ui":false,"viewport":{"width":414,"height":896},"screenshotFailures":true,"locators":{"testIdAttribute":"data-testid"}}}, viteConfig: {"root":"/home/runner/work/ux/ux/src/Map/src/Bridge/Google/assets"}, files: ["/home/runner/work/ux/ux/src/Map/src/Bridge/Google/assets/test/map_controller.test.ts"], type: "tester", contextId: "d51c6ac7-5d1e-4560-8f6a-521df40612d2", testerId: "e5baf65a-1241-47e1-9740-7549139f478d", provider: "playwright", providedContext: "[{}]", }; const config = __vitest_browser_runner__.config; if (config.testNamePattern) config.testNamePattern = parseRegexp(config.testNamePattern); function parseRegexp(input) { // Parse input const m = input.match(/(\/?)(.+)\1([a-z]*)/i); // match nothing if (!m) return /$^/; // Invalid flags if (m[3] && !/^(?!.*?(.).*?\1)[gmixXsuUAJ]+$/.test(m[3])) return RegExp(input); // Create the regular expression return new RegExp(m[2], m[3]); } </script> <script /> <script src="/@fs/home/runner/work/ux/ux/node_modules/@vitest/browser/dist/client/error-catcher.js" type="module" /> <script src="/@fs/home/runner/work/ux/ux/node_modules/@vitest/browser/dist/locators/playwright.js" type="module" /> <script type="module" > const{parse:$
test/map_controller.test.ts > LeafletController > connect: src/Map/src/Bridge/Leaflet/assets/test/map_controller.test.ts#L59
Error: expect(element).toHaveClass("pre-connected") Expected the element to have class: pre-connected Received: <html lang="en" > <head> <meta charset="UTF-8" /> <link href="/__vitest__/favicon.svg" rel="icon" type="image/svg+xml" /> <meta content="width=device-width, initial-scale=1.0" name="viewport" /> <title> Vitest Browser Tester </title> <style> html { padding: 0; margin: 0; } body { padding: 0; margin: 0; min-height: 100vh; } </style> <script type="module" > const moduleCache = new Map(); function wrapModule(module) { if (typeof module === "function") { const promise = new Promise((resolve, reject) =&gt; { if (typeof __vitest_mocker__ === "undefined") return module().then(resolve, reject); __vitest_mocker__.prepare().finally(() =&gt; { module().then(resolve, reject); }); }); moduleCache.set(promise, { promise, evaluated: false }); return promise.finally(() =&gt; moduleCache.delete(promise)); } return module; } window.__vitest_browser_runner__ = { wrapModule, wrapDynamicImport: wrapModule, moduleCache, config: {"mode":"test","isolate":true,"defines":{},"setupFiles":["/home/runner/work/ux/ux/test/setup.js"],"allowOnly":false,"testTimeout":15000,"hookTimeout":30000,"clearMocks":false,"mockReset":false,"restoreMocks":false,"unstubEnvs":false,"unstubGlobals":false,"maxConcurrency":5,"pool":"forks","expect":{},"snapshotSerializers":[],"disableConsoleIntercept":false,"root":"/home/runner/work/ux/ux/src/Map/src/Bridge/Leaflet/assets","globals":true,"coverage":{"reportsDirectory":"./coverage","provider":"v8","enabled":false,"htmlReporter":{}},"fakeTimers":{"loopLimit":10000,"shouldClearNativeTimers":true,"toFake":["setTimeout","clearTimeout","setInterval","clearInterval","setImmediate","clearImmediate","Date"]},"poolOptions":{"forks":{"singleFork":false,"isolate":true},"threads":{"singleThread":false,"isolate":true},"vmThreads":{"singleThread":false},"vmForks":{"singleFork":false}},"deps":{"web":{"transformAssets":true,"transformCss":true,"transformGlobPattern":[]},"optimizer":{"web":{"enabled":true},"ssr":{"enabled":true}},"moduleDirectories":["/node_modules/"]},"snapshotOptions":{"updateSnapshot":"none","snapshotFormat":{},"expand":false},"sequence":{"hooks":"stack"},"inspector":{"enabled":false,"waitForDebugger":false},"watch":false,"env":{"BASE_URL":"/","MODE":"test","DEV":true,"PROD":false,"VITEST_BROWSER_DEBUG":""},"browser":{"name":"chromium","headless":true,"isolate":true,"fileParallelism":true,"ui":false,"viewport":{"width":414,"height":896},"screenshotFailures":true,"locators":{"testIdAttribute":"data-testid"}}}, viteConfig: {"root":"/home/runner/work/ux/ux/src/Map/src/Bridge/Leaflet/assets"}, files: ["/home/runner/work/ux/ux/src/Map/src/Bridge/Leaflet/assets/test/map_controller.test.ts"], type: "tester", contextId: "0679fe75-4d42-4a58-88d8-a3d754b915a5", testerId: "3c4a02d1-3c2b-4110-95bf-8de33a712932", provider: "playwright", providedContext: "[{}]", }; const config = __vitest_browser_runner__.config; if (config.testNamePattern) config.testNamePattern = parseRegexp(config.testNamePattern); function parseRegexp(input) { // Parse input const m = input.match(/(\/?)(.+)\1([a-z]*)/i); // match nothing if (!m) return /$^/; // Invalid flags if (m[3] && !/^(?!.*?(.).*?\1)[gmixXsuUAJ]+$/.test(m[3])) return RegExp(input); // Create the regular expression return new RegExp(m[2], m[3]); } </script> <script /> <script src="/@fs/home/runner/work/ux/ux/node_modules/@vitest/browser/dist/client/error-catcher.js" type="module" /> <script src="/@fs/home/runner/work/ux/ux/node_modules/@vitest/browser/dist/locators/playwright.js" type="module" /> <script type="module" > const{pars
tests-js
Process completed with exit code 1.