Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Rudiger <prudiger@anaconda.com>
  • Loading branch information
ahuang11 and philippjfr authored Aug 13, 2024
1 parent dbce9db commit 327e235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panel/tests/ui/widgets/test_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_player_visible_buttons(page):
assert not page.is_visible(".faster")

player.visible_buttons = ["first"]
wait_until(lambda: page.is_visible(".first"))
expect(page.locator(".first")).to_be_visible()
assert not page.is_visible(".play")
assert not page.is_visible(".pause")

Expand All @@ -82,7 +82,7 @@ def test_player_visible_loop_options(page):
assert not page.is_visible(".reflect")

player.visible_loop_options = ["reflect"]
wait_until(lambda: page.is_visible(".reflect"))
expect(page.locator(".reflect")).to_be_visible()
assert not page.is_visible(".loop")
assert not page.is_visible(".once")

Expand Down

0 comments on commit 327e235

Please sign in to comment.