tests (e2e/web): fix test files paths following global name change

This commit is contained in:
Goffi 2021-09-08 11:17:43 +02:00
commit 6b2e0649a3

View file

@ -94,9 +94,9 @@ class TestPhotos:
click(album_link)
wait_until(lambda: S("#file_drop").exists())
wait_until(lambda: not S("#loading_screen").exists())
drag_file("/src/sat/tests/_files/test_1.jpg", "drop photos here")
drag_file("/src/libervia-backend/tests/_files/test_1.jpg", "drop photos here")
wait_until(lambda: len(find_all(S("div.progress_finished")))==1)
drag_file("/src/sat/tests/_files/test_2.jpg", "drop photos here")
drag_file("/src/libervia-backend/tests/_files/test_2.jpg", "drop photos here")
wait_until(lambda: len(find_all(S("div.progress_finished")))==2)
assert S('img[alt="test_1.jpg"]').exists()
assert S('img[alt="test_2.jpg"]').exists()