Skip to content

Add a button role to summary element #12525

Add a button role to summary element

Add a button role to summary element #12525

Triggered via pull request October 3, 2024 10:40
Status Failure
Total duration 5m 21s
Artifacts 5

tests.yml

on: pull_request
Matrix: Install
Matrix: Build
Diff changes to npm package  /  Generate diff
59s
Diff changes to npm package / Generate diff
Stats comment  /  Generate stats
39s
Stats comment / Generate stats
Matrix: lint
Percy  /  Send screenshots
1m 24s
Percy / Send screenshots
Matrix: Bundler integrations / Test tree shaking
Matrix: package
Matrix: test
Matrix: verify
Fit to window
Zoom out
Zoom in

Annotations

4 errors
packages/govuk-frontend/dist/ › ECMAScript (ES) modules › all.mjs › should export each module: packages/govuk-frontend/tasks/build/package.unit.test.mjs#L183
expect(received).toContain(expected) // indexOf Expected substring: "export { Accordion } from './components/accordion/accordion.mjs'; export { Button } from './components/button/button.mjs'; export { CharacterCount } from './components/character-count/character-count.mjs'; export { Checkboxes } from './components/checkboxes/checkboxes.mjs'; export { ErrorSummary } from './components/error-summary/error-summary.mjs'; export { ExitThisPage } from './components/exit-this-page/exit-this-page.mjs'; export { Header } from './components/header/header.mjs'; export { NotificationBanner } from './components/notification-banner/notification-banner.mjs'; export { PasswordInput } from './components/password-input/password-input.mjs'; export { Radios } from './components/radios/radios.mjs'; export { ServiceNavigation } from './components/service-navigation/service-navigation.mjs'; export { SkipLink } from './components/skip-link/skip-link.mjs'; export { Tabs } from './components/tabs/tabs.mjs'; export { createAll, initAll } from './init.mjs';" Received string: "export { version } from './common/govuk-frontend-version.mjs'; export { Accordion } from './components/accordion/accordion.mjs'; export { Button } from './components/button/button.mjs'; export { CharacterCount } from './components/character-count/character-count.mjs'; export { Checkboxes } from './components/checkboxes/checkboxes.mjs'; export { Details } from './components/details/details.mjs'; export { ErrorSummary } from './components/error-summary/error-summary.mjs'; export { ExitThisPage } from './components/exit-this-page/exit-this-page.mjs'; export { Header } from './components/header/header.mjs'; export { NotificationBanner } from './components/notification-banner/notification-banner.mjs'; export { PasswordInput } from './components/password-input/password-input.mjs'; export { Radios } from './components/radios/radios.mjs'; export { ServiceNavigation } from './components/service-navigation/service-navigation.mjs'; export { SkipLink } from './components/skip-link/skip-link.mjs'; export { Tabs } from './components/tabs/tabs.mjs'; export { createAll, initAll } from './init.mjs'; //# sourceMappingURL=all.mjs.map " at Object.toContain (packages/govuk-frontend/tasks/build/package.unit.test.mjs:183:26)
Verify package build (ubuntu-latest)
Process completed with exit code 1.
packages/govuk-frontend/dist/ › ECMAScript (ES) modules › all.mjs › should export each module: packages/govuk-frontend/tasks/build/package.unit.test.mjs#L183
expect(received).toContain(expected) // indexOf Expected substring: "export { Accordion } from './components/accordion/accordion.mjs'; export { Button } from './components/button/button.mjs'; export { CharacterCount } from './components/character-count/character-count.mjs'; export { Checkboxes } from './components/checkboxes/checkboxes.mjs'; export { ErrorSummary } from './components/error-summary/error-summary.mjs'; export { ExitThisPage } from './components/exit-this-page/exit-this-page.mjs'; export { Header } from './components/header/header.mjs'; export { NotificationBanner } from './components/notification-banner/notification-banner.mjs'; export { PasswordInput } from './components/password-input/password-input.mjs'; export { Radios } from './components/radios/radios.mjs'; export { ServiceNavigation } from './components/service-navigation/service-navigation.mjs'; export { SkipLink } from './components/skip-link/skip-link.mjs'; export { Tabs } from './components/tabs/tabs.mjs'; export { createAll, initAll } from './init.mjs';" Received string: "export { version } from './common/govuk-frontend-version.mjs'; export { Accordion } from './components/accordion/accordion.mjs'; export { Button } from './components/button/button.mjs'; export { CharacterCount } from './components/character-count/character-count.mjs'; export { Checkboxes } from './components/checkboxes/checkboxes.mjs'; export { Details } from './components/details/details.mjs'; export { ErrorSummary } from './components/error-summary/error-summary.mjs'; export { ExitThisPage } from './components/exit-this-page/exit-this-page.mjs'; export { Header } from './components/header/header.mjs'; export { NotificationBanner } from './components/notification-banner/notification-banner.mjs'; export { PasswordInput } from './components/password-input/password-input.mjs'; export { Radios } from './components/radios/radios.mjs'; export { ServiceNavigation } from './components/service-navigation/service-navigation.mjs'; export { SkipLink } from './components/skip-link/skip-link.mjs'; export { Tabs } from './components/tabs/tabs.mjs'; export { createAll, initAll } from './init.mjs'; //# sourceMappingURL=all.mjs.map " at Object.toContain (packages/govuk-frontend/tasks/build/package.unit.test.mjs:183:26)
Verify package build (windows-latest)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
JavaScript behaviour tests coverage (ubuntu-latest)
241 KB
JavaScript behaviour tests coverage (windows-latest)
240 KB
JavaScript unit tests coverage (ubuntu-latest)
223 KB
JavaScript unit tests coverage (windows-latest)
223 KB
Package diff
12.6 KB