Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add accessibility-checker for additional tests #2652

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
4 changes: 2 additions & 2 deletions .github/workflows/02-e2e-showcases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
fail-fast: false
matrix:
framework: [angular, react, vue]
shardIndex: [1, 2, 3, 4, 5]
shardTotal: [5]
shardIndex: [1, 2, 3, 4, 5, 6]
shardTotal: [6]
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default function DBHeader(props: DBHeaderProps) {
<div class="db-header-action-container">
<div class="db-header-burger-menu-container">
<DBButton
id="button-burger-menu"
id={state._id + '-burger-menu'}
icon="menu"
noText
variant="ghost"
Expand Down
4 changes: 3 additions & 1 deletion packages/components/src/components/switch/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export type DBSwitchProps = DBSwitchDefaultProps &
IconProps &
IconAfterProps;

export interface DBSwitchDefaultState {}
export interface DBSwitchDefaultState {
_checked: boolean;
}

export type DBSwitchState = DBSwitchDefaultState &
GlobalState &
Expand Down
16 changes: 14 additions & 2 deletions packages/components/src/components/switch/switch.lite.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { onMount, useMetadata, useRef, useStore } from '@builder.io/mitosis';
import {
onMount,
onUpdate,
useMetadata,
useRef,
useStore
} from '@builder.io/mitosis';
import { DBSwitchProps, DBSwitchState } from './model';
import { cls, uuid } from '../../utils';
import { DEFAULT_ID } from '../../shared/constants';
Expand All @@ -15,6 +21,7 @@ export default function DBSwitch(props: DBSwitchProps) {
// jscpd:ignore-start
const state = useStore<DBSwitchState>({
_id: DEFAULT_ID,
_checked: false,
initialized: false,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the prop _checked written with underscore to differentiate it from the native checked e.g. of checkboxes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We used "_" to mark this as a state (state._checked) property. There is also a props.checked which would be confusing otherwise

handleChange: (event: ChangeEvent<HTMLInputElement>) => {
if (props.onChange) {
Expand All @@ -24,6 +31,10 @@ export default function DBSwitch(props: DBSwitchProps) {
if (props.change) {
props.change(event);
}

// We have different ts types in different frameworks, so we need to use any here
state._checked = (event.target as any)?.['checked'];

handleFrameworkEvent(this, event, 'checked');
},
handleBlur: (event: InteractionEvent<HTMLInputElement>) => {
Expand Down Expand Up @@ -60,10 +71,11 @@ export default function DBSwitch(props: DBSwitchProps) {
htmlFor={state._id}
class={cls('db-switch', props.className)}>
<input
ref={ref}
id={state._id}
type="checkbox"
role="switch"
aria-checked={state._checked}
ref={ref}
checked={props.checked}
disabled={props.disabled}
aria-describedby={props.describedbyid}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export default function DBTooltip(props: DBTooltipProps) {
return (
<i
role="tooltip"
aria-hidden="true"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does the i-tag have to be 'aria-hidden'?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We add aria-describedby on the parentElement, which duplicated the tootip text for screen readers.

ref={ref}
className={cls('db-tooltip', props.className)}
id={props.id}
Expand Down
2 changes: 1 addition & 1 deletion showcases/angular-showcase/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
(onToggle)="toggleDrawer($event)"
>
<db-brand brand>Showcase</db-brand>
<db-navigation *dbNavigation>
<db-navigation *dbNavigation aria-label="main-navigation">
@for (item of navigationItems; track item.label) {
<app-nav-item [navItem]="item"> </app-nav-item>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@if (variantRef) {
<db-card class="variants-card" [elevationLevel]="getElevation()">
<div
[attr.aria-label]="variantRef.name"
[attr.aria-label]="variantRef.role ? variantRef.name : undefined"
[attr.role]="variantRef.role"
class="variants-list"
>
Expand Down Expand Up @@ -48,7 +48,13 @@ <h1>{{ title }}</h1>
class="variants-card"
[elevationLevel]="getElevation()"
>
<div class="variants-list">
<div
[attr.aria-label]="
variant.role ? variant.name : undefined
"
[attr.role]="variant.role"
class="variants-list"
>
Comment on lines +51 to +57
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better for readability to name the class first, i.e. before the aria attributes?

@for (
example of variant.examples;
track example;
Expand Down
6 changes: 2 additions & 4 deletions showcases/e2e/default.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { expect, type Page, test } from '@playwright/test';

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:5/6

[mobile_chrome] › default.ts:125:2 › DBHeader › test with accessibility checker

1) [mobile_chrome] › default.ts:125:2 › DBHeader › test with accessibility checker ─────────────── Error: Failed to launch the browser process! [0517/141209.784752:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:5/6

[mobile_chrome] › default.ts:125:2 › DBHeader › test with accessibility checker

1) [mobile_chrome] › default.ts:125:2 › DBHeader › test with accessibility checker ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141211.522945:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:5/6

[mobile_chrome] › default.ts:125:2 › DBIcon › test with accessibility checker

2) [mobile_chrome] › default.ts:125:2 › DBIcon › test with accessibility checker ───────────────── Error: Failed to launch the browser process! [0517/141216.585610:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:5/6

[mobile_chrome] › default.ts:125:2 › DBIcon › test with accessibility checker

2) [mobile_chrome] › default.ts:125:2 › DBIcon › test with accessibility checker ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141218.187951:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:5/6

[mobile_chrome] › default.ts:125:2 › DBInfotext › test with accessibility checker

3) [mobile_chrome] › default.ts:125:2 › DBInfotext › test with accessibility checker ───────────── Error: Failed to launch the browser process! [0517/141223.200942:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:5/6

[mobile_chrome] › default.ts:125:2 › DBInfotext › test with accessibility checker

3) [mobile_chrome] › default.ts:125:2 › DBInfotext › test with accessibility checker ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141224.820496:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:5/6

[mobile_chrome] › default.ts:125:2 › DBInput › test with accessibility checker

4) [mobile_chrome] › default.ts:125:2 › DBInput › test with accessibility checker ──────────────── Error: Failed to launch the browser process! [0517/141231.658571:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:5/6

[mobile_chrome] › default.ts:125:2 › DBInput › test with accessibility checker

4) [mobile_chrome] › default.ts:125:2 › DBInput › test with accessibility checker ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141233.494544:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:5/6

[mobile_chrome] › default.ts:125:2 › DBLink › test with accessibility checker

5) [mobile_chrome] › default.ts:125:2 › DBLink › test with accessibility checker ───────────────── Error: Failed to launch the browser process! [0517/141238.805554:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:5/6

[mobile_chrome] › default.ts:125:2 › DBLink › test with accessibility checker

5) [mobile_chrome] › default.ts:125:2 › DBLink › test with accessibility checker ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141240.433913:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:1/6

[chromium] › default.ts:125:2 › DBAccordion › test with accessibility checker

1) [chromium] › default.ts:125:2 › DBAccordion › test with accessibility checker ───────────────── Error: Failed to launch the browser process! [0517/141219.012021:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:1/6

[chromium] › default.ts:125:2 › DBAccordion › test with accessibility checker

1) [chromium] › default.ts:125:2 › DBAccordion › test with accessibility checker ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141220.683470:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:1/6

[chromium] › default.ts:125:2 › DBAccordionItem › test with accessibility checker

2) [chromium] › default.ts:125:2 › DBAccordionItem › test with accessibility checker ───────────── Error: Failed to launch the browser process! [0517/141225.705289:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:1/6

[chromium] › default.ts:125:2 › DBAccordionItem › test with accessibility checker

2) [chromium] › default.ts:125:2 › DBAccordionItem › test with accessibility checker ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141227.336012:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:1/6

[chromium] › default.ts:125:2 › DBBadge › test with accessibility checker

3) [chromium] › default.ts:125:2 › DBBadge › test with accessibility checker ───────────────────── Error: Failed to launch the browser process! [0517/141233.156894:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:1/6

[chromium] › default.ts:125:2 › DBBadge › test with accessibility checker

3) [chromium] › default.ts:125:2 › DBBadge › test with accessibility checker ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141234.790991:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:1/6

[chromium] › default.ts:125:2 › DBBrand › test with accessibility checker

4) [chromium] › default.ts:125:2 › DBBrand › test with accessibility checker ───────────────────── Error: Failed to launch the browser process! [0517/141239.639474:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:1/6

[chromium] › default.ts:125:2 › DBBrand › test with accessibility checker

4) [chromium] › default.ts:125:2 › DBBrand › test with accessibility checker ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141241.258424:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:1/6

[chromium] › default.ts:125:2 › DBButton › test with accessibility checker

5) [chromium] › default.ts:125:2 › DBButton › test with accessibility checker ──────────────────── Error: Failed to launch the browser process! [0517/141246.809222:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:1/6

[chromium] › default.ts:125:2 › DBButton › test with accessibility checker

5) [chromium] › default.ts:125:2 › DBButton › test with accessibility checker ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141248.618553:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:1/6

[chromium] › default.ts:125:2 › DBAccordion › test with accessibility checker

1) [chromium] › default.ts:125:2 › DBAccordion › test with accessibility checker ───────────────── Error: Failed to launch the browser process! [0517/141228.631204:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:1/6

[chromium] › default.ts:125:2 › DBAccordion › test with accessibility checker

1) [chromium] › default.ts:125:2 › DBAccordion › test with accessibility checker ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141230.292093:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:1/6

[chromium] › default.ts:125:2 › DBAccordionItem › test with accessibility checker

2) [chromium] › default.ts:125:2 › DBAccordionItem › test with accessibility checker ───────────── Error: Failed to launch the browser process! [0517/141235.052558:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:1/6

[chromium] › default.ts:125:2 › DBAccordionItem › test with accessibility checker

2) [chromium] › default.ts:125:2 › DBAccordionItem › test with accessibility checker ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141236.714962:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:1/6

[chromium] › default.ts:125:2 › DBBadge › test with accessibility checker

3) [chromium] › default.ts:125:2 › DBBadge › test with accessibility checker ───────────────────── Error: Failed to launch the browser process! [0517/141242.277370:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:1/6

[chromium] › default.ts:125:2 › DBBadge › test with accessibility checker

3) [chromium] › default.ts:125:2 › DBBadge › test with accessibility checker ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141243.869740:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:1/6

[chromium] › default.ts:125:2 › DBBrand › test with accessibility checker

4) [chromium] › default.ts:125:2 › DBBrand › test with accessibility checker ───────────────────── Error: Failed to launch the browser process! [0517/141248.507169:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:1/6

[chromium] › default.ts:125:2 › DBBrand › test with accessibility checker

4) [chromium] › default.ts:125:2 › DBBrand › test with accessibility checker ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141250.053122:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:1/6

[chromium] › default.ts:125:2 › DBButton › test with accessibility checker

5) [chromium] › default.ts:125:2 › DBButton › test with accessibility checker ──────────────────── Error: Failed to launch the browser process! [0517/141255.129667:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:1/6

[chromium] › default.ts:125:2 › DBButton › test with accessibility checker

5) [chromium] › default.ts:125:2 › DBButton › test with accessibility checker ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141256.679285:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:5/6

[mobile_chrome] › default.ts:125:2 › DBHeader › test with accessibility checker

1) [mobile_chrome] › default.ts:125:2 › DBHeader › test with accessibility checker ─────────────── Error: Failed to launch the browser process! [0517/141237.437415:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:5/6

[mobile_chrome] › default.ts:125:2 › DBHeader › test with accessibility checker

1) [mobile_chrome] › default.ts:125:2 › DBHeader › test with accessibility checker ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141239.007513:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:5/6

[mobile_chrome] › default.ts:125:2 › DBIcon › test with accessibility checker

2) [mobile_chrome] › default.ts:125:2 › DBIcon › test with accessibility checker ───────────────── Error: Failed to launch the browser process! [0517/141244.378690:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:5/6

[mobile_chrome] › default.ts:125:2 › DBIcon › test with accessibility checker

2) [mobile_chrome] › default.ts:125:2 › DBIcon › test with accessibility checker ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141245.817138:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:5/6

[mobile_chrome] › default.ts:125:2 › DBInfotext › test with accessibility checker

3) [mobile_chrome] › default.ts:125:2 › DBInfotext › test with accessibility checker ───────────── Error: Failed to launch the browser process! [0517/141249.988823:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:5/6

[mobile_chrome] › default.ts:125:2 › DBInfotext › test with accessibility checker

3) [mobile_chrome] › default.ts:125:2 › DBInfotext › test with accessibility checker ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141251.435791:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:5/6

[mobile_chrome] › default.ts:125:2 › DBInput › test with accessibility checker

4) [mobile_chrome] › default.ts:125:2 › DBInput › test with accessibility checker ──────────────── Error: Failed to launch the browser process! [0517/141257.265293:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:5/6

[mobile_chrome] › default.ts:125:2 › DBInput › test with accessibility checker

4) [mobile_chrome] › default.ts:125:2 › DBInput › test with accessibility checker ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141258.865219:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:5/6

[mobile_chrome] › default.ts:125:2 › DBLink › test with accessibility checker

5) [mobile_chrome] › default.ts:125:2 › DBLink › test with accessibility checker ───────────────── Error: Failed to launch the browser process! [0517/141303.057997:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:5/6

[mobile_chrome] › default.ts:125:2 › DBLink › test with accessibility checker

5) [mobile_chrome] › default.ts:125:2 › DBLink › test with accessibility checker ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141304.512010:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:6/6

[mobile_safari] › default.ts:125:2 › DBButton › test with accessibility checker

1) [mobile_safari] › default.ts:125:2 › DBButton › test with accessibility checker ─────────────── Error: Failed to launch the browser process! [0517/141222.076096:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:6/6

[mobile_safari] › default.ts:125:2 › DBButton › test with accessibility checker

1) [mobile_safari] › default.ts:125:2 › DBButton › test with accessibility checker ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141223.794533:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:6/6

[mobile_safari] › default.ts:125:2 › DBCard › test with accessibility checker

2) [mobile_safari] › default.ts:125:2 › DBCard › test with accessibility checker ───────────────── Error: Failed to launch the browser process! [0517/141229.224640:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:6/6

[mobile_safari] › default.ts:125:2 › DBCard › test with accessibility checker

2) [mobile_safari] › default.ts:125:2 › DBCard › test with accessibility checker ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141230.919852:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:6/6

[mobile_safari] › default.ts:125:2 › DBCheckbox › test with accessibility checker

3) [mobile_safari] › default.ts:125:2 › DBCheckbox › test with accessibility checker ───────────── Error: Failed to launch the browser process! [0517/141237.070496:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:6/6

[mobile_safari] › default.ts:125:2 › DBCheckbox › test with accessibility checker

3) [mobile_safari] › default.ts:125:2 › DBCheckbox › test with accessibility checker ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141238.812231:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:6/6

[mobile_safari] › default.ts:125:2 › DBDivider › test with accessibility checker

4) [mobile_safari] › default.ts:125:2 › DBDivider › test with accessibility checker ────────────── Error: Failed to launch the browser process! [0517/141243.969584:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:6/6

[mobile_safari] › default.ts:125:2 › DBDivider › test with accessibility checker

4) [mobile_safari] › default.ts:125:2 › DBDivider › test with accessibility checker ────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141245.665279:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:6/6

[mobile_safari] › default.ts:125:2 › DBDrawer › test with accessibility checker

5) [mobile_safari] › default.ts:125:2 › DBDrawer › test with accessibility checker ─────────────── Error: Failed to launch the browser process! [0517/141254.770425:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - react:6/6

[mobile_safari] › default.ts:125:2 › DBDrawer › test with accessibility checker

5) [mobile_safari] › default.ts:125:2 › DBDrawer › test with accessibility checker ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141256.455052:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:6/6

[mobile_safari] › default.ts:125:2 › DBButton › test with accessibility checker

1) [mobile_safari] › default.ts:125:2 › DBButton › test with accessibility checker ─────────────── Error: Failed to launch the browser process! [0517/141217.610851:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:6/6

[mobile_safari] › default.ts:125:2 › DBButton › test with accessibility checker

1) [mobile_safari] › default.ts:125:2 › DBButton › test with accessibility checker ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141219.477756:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:6/6

[mobile_safari] › default.ts:125:2 › DBCard › test with accessibility checker

2) [mobile_safari] › default.ts:125:2 › DBCard › test with accessibility checker ───────────────── Error: Failed to launch the browser process! [0517/141225.677980:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:6/6

[mobile_safari] › default.ts:125:2 › DBCard › test with accessibility checker

2) [mobile_safari] › default.ts:125:2 › DBCard › test with accessibility checker ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141227.550538:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:6/6

[mobile_safari] › default.ts:125:2 › DBCheckbox › test with accessibility checker

3) [mobile_safari] › default.ts:125:2 › DBCheckbox › test with accessibility checker ───────────── Error: Failed to launch the browser process! [0517/141234.568549:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:6/6

[mobile_safari] › default.ts:125:2 › DBCheckbox › test with accessibility checker

3) [mobile_safari] › default.ts:125:2 › DBCheckbox › test with accessibility checker ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141236.473599:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:6/6

[mobile_safari] › default.ts:125:2 › DBDivider › test with accessibility checker

4) [mobile_safari] › default.ts:125:2 › DBDivider › test with accessibility checker ────────────── Error: Failed to launch the browser process! [0517/141242.466145:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:6/6

[mobile_safari] › default.ts:125:2 › DBDivider › test with accessibility checker

4) [mobile_safari] › default.ts:125:2 › DBDivider › test with accessibility checker ────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141244.287271:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:6/6

[mobile_safari] › default.ts:125:2 › DBDrawer › test with accessibility checker

5) [mobile_safari] › default.ts:125:2 › DBDrawer › test with accessibility checker ─────────────── Error: Failed to launch the browser process! [0517/141254.175814:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)

Check failure on line 1 in showcases/e2e/default.ts

View workflow job for this annotation

GitHub Actions / test-showcases / 🧪🎭 - angular:6/6

[mobile_safari] › default.ts:125:2 › DBDrawer › test with accessibility checker

5) [mobile_safari] › default.ts:125:2 › DBDrawer › test with accessibility checker ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to launch the browser process! [0517/141256.043702:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:268:9) at Interface.<anonymous> (/__w/mono/mono/node_modules/puppeteer/src/node/BrowserRunner.ts:254:50)
import AxeBuilder from '@axe-core/playwright';
// @ts-expect-error - required for playwright
import { close, getCompliance } from 'accessibility-checker';
import { type ICheckerError } from 'accessibility-checker/lib/api/IChecker';
import { COLORS } from './fixtures/variants.ts';
// @ts-expect-error - required for playwright
import { setScrollViewport } from './fixtures/viewport.ts';
import { COLORS } from './fixtures/variants';
import { setScrollViewport } from './fixtures/viewport';

const density = 'regular';

Expand Down
5 changes: 4 additions & 1 deletion showcases/e2e/link/showcase-link.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ import { test } from '@playwright/test';
import { getDefaultScreenshotTest } from '../default.ts';

test.describe('DBLink', () => {
getDefaultScreenshotTest({ path: '02/link' });
getDefaultScreenshotTest({
path: '02/link',
aCheckerDisableRules: ['aria_attribute_valid'] // TODO: This is a false positive -> add an issue in https://github.com/IBMa/equal-access
});
});
6 changes: 5 additions & 1 deletion showcases/e2e/switch/showcase-switch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ import { test } from '@playwright/test';
import { getDefaultScreenshotTest } from '../default.ts';

test.describe('DBSwitch', () => {
getDefaultScreenshotTest({ path: '03/switch' });
getDefaultScreenshotTest({
path: '03/switch',
// It's an issue in the tool: https://github.com/IBMa/equal-access/issues/842
aCheckerDisableRules: ['aria_attribute_valid']
});
});
8 changes: 7 additions & 1 deletion showcases/e2e/tab-item/showcase-tab-item.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ test.describe('DBTabItem', () => {
// So we disabled "aria-allowed-role" for now
getDefaultScreenshotTest({
path: '04/tab-item',
axeDisableRules: ['aria-allowed-role']
// We need to change tabs anyway, we disable the rules for now
axeDisableRules: ['aria-allowed-role'],
aCheckerDisableRules: [
'aria_child_tabbable',
'input_checkboxes_grouped',
'aria_role_valid'
]
});
});
5 changes: 4 additions & 1 deletion showcases/react-showcase/src/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ const VariantList = ({

return (
<DBCard className="variants-card" elevationLevel={getElevation()}>
<div role={role} aria-label={name} className="variants-list">
<div
role={role}
aria-label={role ? name : undefined}
className="variants-list">
{examples.map((example, exampleIndex) => (
<div
key={`${example.name}-${exampleIndex}`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ import { getVariants } from '../data';
// Patternhub:import NavigationItemComponent from '../navigation-item';

const getNavigation = ({ children }: DBNavigationProps) => {
const label = `${children}`;
// TODO: The doesn't have a valid id
nmerget marked this conversation as resolved.
Show resolved Hide resolved
const labelID = `${children}`;
return (
<div>
<DBInfotext
id={label}
id={labelID}
size="small"
semantic="informational"
icon="none">
{children}
</DBInfotext>
<DBNavigation labelledBy={label}>
<DBNavigation labelledBy={labelID}>
<DBNavigationItem
active
subNavigation={
Expand Down
2 changes: 1 addition & 1 deletion showcases/react-showcase/src/navigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { DBNavigation } from '../../../../output/react/src';
import NavItem from './nav-item';

const Navigation = () => (
<DBNavigation>
<DBNavigation aria-label="main-navigation">
{getSortedNavigationItems(NAVIGATION_ITEMS).map(
(navItem: NavigationItem) => (
<NavItem
Expand Down
2 changes: 1 addition & 1 deletion showcases/vue-showcase/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const sortedNavigation = getSortedNavigationItems(navigationItems);
<template v-slot:brand>
<DBBrand>Showcase</DBBrand>
</template>
<DBNavigation>
<DBNavigation aria-label="main-navigation">
<template v-for="item of sortedNavigation">
<NavItemComponent :navItem="item"></NavItemComponent>
</template>
Expand Down
4 changes: 2 additions & 2 deletions showcases/vue-showcase/src/components/DefaultComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const getElevation = (): "1" | "2" | "3" =>
>
<div
:role="variantRef.role"
:aria-label="variantRef.name"
:aria-label="variantRef.role ? variantRef.name : undefined"
class="variants-list"
>
<div
Expand Down Expand Up @@ -134,7 +134,7 @@ const getElevation = (): "1" | "2" | "3" =>
<DBCard class="variants-card" :elevation-level="getElevation()">
<div
:role="variant.role"
:aria-label="variant.name"
:aria-label="variantRef.role ? variantRef.name : undefined"
class="variants-list"
>
<div
Expand Down
Loading