fix(console, e2e): static data-e2e attributes, consistent naming (#4188)

* fix(console, e2e): static data-e2e attributes, consistent naming

* quote cypress attribute selectors

* Update console/src/app/modules/policies/private-labeling-policy/private-labeling-policy.component.html

Co-authored-by: Elio Bischof <[email protected]>

* Update console/src/app/modules/project-roles-table/project-roles-table.component.html

Co-authored-by: Elio Bischof <[email protected]>

* fix ,

Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
Max Peintner
2022-08-16 14:02:59 +02:00
committed by GitHub
co-authored by Elio Bischof
parent dcac08b1d5
commit 44fc2efbb7
27 changed files with 375 additions and 247 deletions
@@ -12,7 +12,7 @@
<div
[routerLink]="['/projects', projectId, 'apps', app.id]"
[attr.data-e2e]="'app-card'"
data-e2e="app-card"
class="app-wrap"
*ngFor="let app of appsSubject | async"
matTooltip="{{ 'ACTIONS.EDIT' | translate }}"
@@ -37,7 +37,7 @@
<div
class="app-wrap"
*ngIf="!disabled"
[attr.data-e2e]="'app-card-add'"
data-e2e="app-card-add"
[routerLink]="['/projects', projectId, 'apps', 'create']"
>
<cnsl-app-card class="grid-card" matRipple [type]="OIDCAppType.ADD">
@@ -46,7 +46,7 @@
class="continue-button"
[disabled]="formArray.invalid"
type="submit"
[attr.data-e2e]="'save-button'"
data-e2e="save-button"
>
{{ 'ACTIONS.SAVE' | translate }}
</button>