Skip to content

Commit

Permalink
test: Remove race in TestServices._testBasic
Browse files Browse the repository at this point in the history
Let's wait for the #services-list element to be there before looking
into it.
  • Loading branch information
mvollmer committed Dec 11, 2024
1 parent 7359ad8 commit 37773f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/verify/check-system-services
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ WantedBy=default.target
}
}
""")
b.wait_visible("#services-list")
pos = b.eval_js('firstWorkingUnitPos();')
b.wait_text(f'#services-list > tbody:nth-child({pos + 1}) > tr > th > div > div > a', 'test')
b.is_present('#test.service > svg.service-thumbtack-icon-color')
Expand Down

0 comments on commit 37773f5

Please sign in to comment.