Skip to content

alter json api routes to require role: uploader #2313

alter json api routes to require role: uploader

alter json api routes to require role: uploader #2313

Triggered via pull request August 29, 2024 00:11
Status Failure
Total duration 15m 12s
Artifacts 7

code-standards.yaml

on: pull_request
check if we should run tests
9s
check if we should run tests
build Drupal image
9s
build Drupal image
populate database
7m 2s
populate database
Matrix: playwright end to end tests
accessibility tests
5m 53s
accessibility tests
end-to-end tests
3m 34s
end-to-end tests
page load time tests
2m 43s
page load time tests
merge-reports
32s
merge-reports
90% code coverage
5s
90% code coverage
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 10 warnings, and 1 notice
PHP lint: web/modules/weather_login/src/Routing/JsonApiLimitingRouteSubscriber.php#L8
Opening brace of a class must be on the line after the definition
PHP lint
Process completed with exit code 2.
page load time tests
Cypress tests: 1 failed
Stylelint deprecation
The github formatter is deprecated
front page accessibility
(color-contrast) - Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds [selectors: h1, label, #weathergov-use-browser-location, .font-sans-2xl, .tablet\:grid-col-8.tablet\:grid-offset-2.grid-col > .font-sans-md, .bg-primary-lightest > .grid-container > .grid-row:nth-child(2) > .tablet\:grid-col-8.tablet\:grid-offset-2.grid-col > p:nth-child(2), .margin-bottom-0, a[href$="www.weather.gov"]]
location page with alerts (alerts tab) accessibility
(color-contrast) - Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds [selectors: .usa-accordion__button.text-ls-1[type="button"], p:nth-child(4), li:nth-child(19), li:nth-child(38), .leaflet-control-zoom-out > span[aria-hidden="true"], .esri-dynamic-attribution, a[href$="www.esri.com"]]
location page with alerts (alerts tab) accessibility
(link-in-text-block) - Ensure links are distinguished from surrounding text in a way that does not rely on color [selectors: a[href$="www.esri.com"]]
location page with alerts (today tab) accessibility
(color-contrast) - Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds [selectors: .usa-accordion__button.text-ls-1[type="button"], p:nth-child(4), li:nth-child(19), li:nth-child(38), .leaflet-control-zoom-out > span[aria-hidden="true"], .esri-dynamic-attribution, a[href$="www.esri.com"], .wx_alert_map_legend > span]
location page with alerts (today tab) accessibility
(link-in-text-block) - Ensure links are distinguished from surrounding text in a way that does not rely on color [selectors: a[href$="www.esri.com"]]
location page without alerts (today tab) accessibility
(color-contrast) - Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds [selectors: div[data-v-21cab096=""][data-v-c6f68486=""]:nth-child(2), div[data-v-21cab096=""][data-v-c6f68486=""]:nth-child(3)]
front page accessibility
(color-contrast) - Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds [selectors: h1, label, #weathergov-use-browser-location, .font-sans-2xl, .tablet\:grid-col-8.tablet\:grid-offset-2.grid-col > .font-sans-md, .bg-primary-lightest > .grid-container > .grid-row:nth-child(2) > .tablet\:grid-col-8.tablet\:grid-offset-2.grid-col > p:nth-child(2), .margin-bottom-0, a[href$="www.weather.gov"]]
location page with alerts (today tab) accessibility
(color-contrast) - Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds [selectors: .usa-accordion__button.text-ls-1[type="button"], p:nth-child(4), li:nth-child(19), li:nth-child(38), .leaflet-control-zoom-out > span[aria-hidden="true"], .esri-dynamic-attribution, a[href$="www.esri.com"], .wx_alert_map_legend > span]
location page with alerts (today tab) accessibility
(link-in-text-block) - Ensure links are distinguished from surrounding text in a way that does not rely on color [selectors: a[href$="www.esri.com"]]
location page with alerts (alerts tab) accessibility
(color-contrast) - Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds [selectors: .usa-accordion__button.text-ls-1[type="button"], p:nth-child(4), li:nth-child(19), li:nth-child(38), .leaflet-control-zoom-out > span[aria-hidden="true"], .esri-dynamic-attribution, a[href$="www.esri.com"]]

Artifacts

Produced during runtime
Name Size
blob-report-1 Expired
71 KB
blob-report-2 Expired
1.06 MB
blob-report-3 Expired
1.08 MB
blob-report-4 Expired
1.03 MB
coverage-report Expired
11 KB
html-report--attempt-1 Expired
3.55 MB
screenshots
7.11 MB