1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 08:19:40 +02:00

feat(kube): add a11y props for smoke tests [EE-6747] (#11263)

This commit is contained in:
Chaim Lev-Ari 2024-02-29 09:26:13 +02:00 committed by GitHub
parent 42c2a52a6b
commit 6c70049ecc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 143 additions and 62 deletions

View file

@ -39,6 +39,7 @@ export function SettingsSidebar({ isPureAdmin, isAdmin, isTeamLeader }: Props) {
to="portainer.users"
pathOptions={{ includePaths: ['portainer.teams', 'portainer.roles'] }}
data-cy="portainerSidebar-userRelated"
listId="portainerSidebar-userRelated"
>
<SidebarItem
to="portainer.users"
@ -77,6 +78,7 @@ export function SettingsSidebar({ isPureAdmin, isAdmin, isTeamLeader }: Props) {
],
}}
data-cy="portainerSidebar-environments-area"
listId="portainer-environments"
>
<SidebarItem
label="Environments"
@ -125,6 +127,7 @@ export function SettingsSidebar({ isPureAdmin, isAdmin, isTeamLeader }: Props) {
includePaths: ['portainer.activityLogs'],
}}
data-cy="k8sSidebar-logs"
listId="k8sSidebar-logs"
>
<SidebarItem
label="Authentication"
@ -147,6 +150,7 @@ export function SettingsSidebar({ isPureAdmin, isAdmin, isTeamLeader }: Props) {
icon={HardDrive}
to="portainer.endpoints.updateSchedules"
data-cy="portainerSidebar-environments-area"
listId="portainer-environments-area"
>
<EdgeUpdatesSidebarItem />
</SidebarParent>
@ -164,6 +168,7 @@ export function SettingsSidebar({ isPureAdmin, isAdmin, isTeamLeader }: Props) {
label="Settings"
icon={Settings}
data-cy="portainerSidebar-settings"
listId="portainer-settings"
>
<SidebarItem
to="portainer.settings"