Skip to content

Commit

Permalink
Fix cypress e2e test by selecting the right element and adding a space
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelMoeri committed Jan 30, 2025
1 parent ade25e2 commit c81e2e1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/cypress/e2e/check-in.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ describe('okr check-in', () => {
.checkForContentOnDialog('Dein Objective befindet sich noch im DRAFT Status. Möchtest du das Check-in trotzdem erfassen?');
});

it('should only display last value div if last check-in is present', () => {
it.only('should only display last value div if last check-in is present', () => {
const objectiveName = uniqueSuffix('new objective');

overviewPage.addObjective()
Expand Down Expand Up @@ -394,7 +394,8 @@ describe('okr check-in', () => {
keyResultDetailPage.createCheckIn();
cy.contains('Letzter Wert')
.siblings('div')
.contains('10%');
.children('div')
.contains('10 %');
});

it('should be able to add actions to the action plan when creating a check-in', () => {
Expand Down

0 comments on commit c81e2e1

Please sign in to comment.