Skip to content

refactor(frontend): app menu refactoring #42

refactor(frontend): app menu refactoring

refactor(frontend): app menu refactoring #42

Triggered via pull request January 10, 2025 15:06
Status Failure
Total duration 1m 58s
Artifacts

pr-checks.yaml

on: pull_request
check-changes
3s
check-changes
build-frontend  /  test-frontend
44s
build-frontend / test-frontend
build-frontend  /  build-frontend
1m 32s
build-frontend / build-frontend
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
tests/components/menu.test.tsx > Menu > should correctly render a Menu with a MenuItem when the file property is provided: frontend/tests/components/menu.test.tsx#L23
Error: Snapshot `Menu > should correctly render a Menu with a MenuItem when the file property is provided > expected html 1` mismatched Expected: ""<button type="button" id="radix-:r0:" aria-haspopup="true" aria-expanded="false" data-state="closed" class="focus:outline-none hover:underline select-none text-lg inline-flex justify-center space-x-2 rounded-b-md border-b border-l border-r border-slate-700 px-4 py-2 ring-black ring-opacity-5 bg-slate-700 text-white hover:bg-slate-600"><span id="menu-label">gcweb:app.menu</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="my-auto size-5 fill-current"><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"></path></svg></button>"" Received: ""<button type="button" id="radix-:r0:" aria-haspopup="menu" aria-expanded="false" data-state="closed" class="flex flex-nowrap space-x-2 rounded-b-md border-x border-b border-slate-700 bg-slate-700 px-4 py-2 text-lg text-white hover:bg-slate-800 hover:underline focus:outline-none focus:ring-2 focus:ring-black focus:ring-offset-2 aria-expanded:bg-slate-900 aria-expanded:text-white"><span id="menu-label">gcweb:app.menu</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="my-auto size-5 fill-current"><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"></path></svg></button>"" ❯ tests/components/menu.test.tsx:23:33
tests/components/menu.test.tsx > Menu > should correctly render a Menu with a MenuItem when the to property is provided: frontend/tests/components/menu.test.tsx#L40
Error: Snapshot `Menu > should correctly render a Menu with a MenuItem when the to property is provided > expected html 1` mismatched Expected: ""<button type="button" id="radix-:r2:" aria-haspopup="true" aria-expanded="false" data-state="closed" class="focus:outline-none hover:underline select-none text-lg inline-flex justify-center space-x-2 rounded-b-md border-b border-l border-r border-slate-700 px-4 py-2 ring-black ring-opacity-5 bg-slate-700 text-white hover:bg-slate-600"><span id="menu-label">gcweb:app.menu</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="my-auto size-5 fill-current"><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"></path></svg></button>"" Received: ""<button type="button" id="radix-:r2:" aria-haspopup="menu" aria-expanded="false" data-state="closed" class="flex flex-nowrap space-x-2 rounded-b-md border-x border-b border-slate-700 bg-slate-700 px-4 py-2 text-lg text-white hover:bg-slate-800 hover:underline focus:outline-none focus:ring-2 focus:ring-black focus:ring-offset-2 aria-expanded:bg-slate-900 aria-expanded:text-white"><span id="menu-label">gcweb:app.menu</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="my-auto size-5 fill-current"><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"></path></svg></button>"" ❯ tests/components/menu.test.tsx:40:33
build-frontend / test-frontend
Process completed with exit code 1.
check-changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-frontend / test-frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-frontend / build-frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636