feat: New Global Controls in the Layer Picker #766
Annotations
5 errors
src/components/DataLayersCheckboxGroup.test.tsx > Test suite for DataLayersCheckboxGroup > should render large DataLayersCheckboxGroup:
frontend/src/components/DataLayersCheckboxGroup.test.tsx#L84
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Reset Layers"
Here are the accessible roles:
button:
Name "Clear All":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary layer-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Collapse All":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary layer-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Expand All":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary layer-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Agricultural Land Reserve":
<button
aria-label="Agricultural Land Reserve"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Aquifers and Water Wells":
<button
aria-label="Aquifers and Water Wells"
aria-pressed="false"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Crown Lands":
<button
aria-label="Crown Lands"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Freshwater Atlas":
<button
aria-label="Freshwater Atlas"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Indian Reserves":
<button
aria-label="Indian Reserves"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Water License Points of Diversion":
<button
aria-label="Water License Points of Diversion"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton
|
src/components/DataLayersCheckboxGroup.test.tsx > Test suite for DataLayersCheckboxGroup > should render small DataLayersCheckboxGroup:
frontend/src/components/DataLayersCheckboxGroup.test.tsx#L108
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Reset"
Here are the accessible roles:
button:
Name "Clear All":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary layer-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Collapse All":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary layer-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Expand All":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary layer-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Agricultural Land Reserve":
<button
aria-label="Agricultural Land Reserve"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Aquifers and Water Wells":
<button
aria-label="Aquifers and Water Wells"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Crown Lands":
<button
aria-label="Crown Lands"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Freshwater Atlas":
<button
aria-label="Freshwater Atlas"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Indian Reserves":
<button
aria-label="Indian Reserves"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Water License Points of Diversion":
<button
aria-label="Water License Points of Diversion"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSma
|
src/pages/map/MapView.test.tsx > Test suite for MapView > should render the MapView and test data layers:
frontend/src/pages/map/MapView.test.tsx#L214
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Reset Layers"
Here are the accessible roles:
presentation:
Name "Data Layers":
<div
aria-labelledby="mapDataLayersButton"
class="MuiPopover-root MuiMenu-root dropdown-button-menu data-layers-button-menu MuiModal-root css-pa188r-MuiModal-root-MuiPopover-root-MuiMenu-root"
role="presentation"
/>
--------------------------------------------------
menu:
Name "":
<ul
class="MuiList-root MuiList-padding MuiMenu-list css-1toxriw-MuiList-root-MuiMenu-list"
role="menu"
tabindex="-1"
/>
--------------------------------------------------
button:
Name "Clear All":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary layer-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Collapse All":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary layer-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Expand All":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary layer-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Agricultural Land Reserve":
<button
aria-label="Agricultural Land Reserve"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Aquifers and Water Wells":
<button
aria-label="Aquifers and Water Wells"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Crown Lands":
<button
aria-label="Crown Lands"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Freshwater Atlas":
<button
aria-label="Freshwater Atlas"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary data-layers-toggle-button css-2lyh9o-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Indian Reserves":
<button
aria-label="Indian Reserves"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiBut
|
Tests (frontend)
Process completed with exit code 1.
|
Analysis Results
Process completed with exit code 1.
|