Skip to content

alter json api routes to require role: uploader #2312

alter json api routes to require role: uploader

alter json api routes to require role: uploader #2312

Triggered via pull request August 29, 2024 00:08
Status Failure
Total duration 17m 17s
Artifacts 7

code-standards.yaml

on: pull_request
check if we should run tests
6s
check if we should run tests
populate database
6m 50s
populate database
Matrix: playwright end to end tests
accessibility tests
5m 23s
accessibility tests
end-to-end tests
4m 12s
end-to-end tests
page load time tests
2m 17s
page load time tests
merge-reports
36s
merge-reports
90% code coverage
4s
90% code coverage
Fit to window
Zoom out
Zoom in

Annotations

6 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: web/modules/weather_login/src/Routing/JsonApiLimitingRouteSubscriber.php#L24
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
PHP lint: web/modules/weather_login/src/Routing/JsonApiLimitingRouteSubscriber.php#L25
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
PHP lint
Process completed with exit code 2.
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 (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"], .wx_alert_map_legend > span]
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"]]
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 (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"]]
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: .usa-banner__header-text, .usa-banner__header-action, 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"]]

Artifacts

Produced during runtime
Name Size
blob-report-1 Expired
71.3 KB
blob-report-2 Expired
71.7 KB
blob-report-3 Expired
4.91 MB
blob-report-4 Expired
71.1 KB
coverage-report Expired
11 KB
html-report--attempt-1 Expired
5.43 MB
screenshots
7.03 MB