Skip to content

Commit

Permalink
Try to make flaky spec more resilient
Browse files Browse the repository at this point in the history
  • Loading branch information
amaierhofer committed Feb 22, 2024
1 parent 89681fa commit a3ad34a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/features/people_manager_relation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
end.to change { PeopleManager.count }.by(1)
.and change { PaperTrail::Version.count }.by(2)

expect(page).to have_css('dd a', text: 'Bottom Member')
find('dd a', text: 'Bottom Member').click

expect(page).to have_content 'bottom_member@example.com'
Expand Down Expand Up @@ -82,6 +83,7 @@
end.to change { PeopleManager.count }.by(1)
.and change { PaperTrail::Version.count }.by(2)

expect(page).to have_css('dd a', text: 'Bottom Member')
find('dd a', text: 'Bottom Member').click

expect(page).to have_content 'bottom_member@example.com'
Expand Down

0 comments on commit a3ad34a

Please sign in to comment.