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 17, 2024
1 parent b8e559e commit b23372d
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 b23372d

Please sign in to comment.