Skip to content

Commit

Permalink
fix cypress Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nevio18324 committed Oct 24, 2024
1 parent d2b0546 commit eef6b39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions frontend/cypress/e2e/tab.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@ describe('Tab workflow tests', () => {
editInputFields('Duplicated by Cypress');
cy.tabForward();
cy.tabForward();
cy.focused().contains('GJ');
cy.realPress('ArrowDown');
cy.focused().contains('Aktuell');
cy.tabForward();
cy.focused().contains('Speichern');
cy.realPress('Enter');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@
</mat-chip>
</button>
<button
matTooltipPosition="above"
[matTooltip]="team.name"
(click)="toggleSelection(team.id)"
*ngFor="let team of (teams$ | async)?.slice(0, showMoreTeams ? undefined : 6); trackBy: trackByFn"
[attr.data-testId]="'team-filter-chip'"
[matTooltip]="team.name"
matTooltipPosition="above"
class="icon-button focus-outline m-1"
>
<mat-chip [highlighted]="activeTeams.includes(team.id)" color="primary">{{ getTeamName(team.id) }}</mat-chip>
<mat-chip [highlighted]="activeTeams.includes(team.id)" color="primary">
<p class="d-sm-none d-block">{{ getTeamName(team.id) }}</p>
<p class="d-none d-sm-block">{{ team.name }}</p>
</mat-chip>
</button>
<button
(click)="showMoreTeams = !showMoreTeams"
Expand Down

0 comments on commit eef6b39

Please sign in to comment.