Skip to content

Commit

Permalink
fix test about serving image files
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Aug 30, 2024
1 parent e536d3f commit 2742a47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_serving_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def test_auto_serving_file_from_image_source(screen: Screen):
screen.open('/')
img = screen.find_by_tag('img')
assert '/_nicegui/auto/static/' in img.get_attribute('src')
screen.wait(0.5)
assert screen.selenium.execute_script("""
return arguments[0].complete &&
typeof arguments[0].naturalWidth != "undefined" &&
Expand Down

0 comments on commit 2742a47

Please sign in to comment.