Mercurial > libervia-backend
comparison tests/e2e/libervia-web/test_libervia-web.py @ 3657:6c87c00b344a
tests (e2e/web): fix test files paths following global name change
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 08 Sep 2021 11:17:43 +0200 |
parents | d78b5eae912a |
children | de133b180941 |
comparison
equal
deleted
inserted
replaced
3656:015e13f88960 | 3657:6c87c00b344a |
---|---|
92 album_link = Link("test album") | 92 album_link = Link("test album") |
93 wait_until(album_link.exists) | 93 wait_until(album_link.exists) |
94 click(album_link) | 94 click(album_link) |
95 wait_until(lambda: S("#file_drop").exists()) | 95 wait_until(lambda: S("#file_drop").exists()) |
96 wait_until(lambda: not S("#loading_screen").exists()) | 96 wait_until(lambda: not S("#loading_screen").exists()) |
97 drag_file("/src/sat/tests/_files/test_1.jpg", "drop photos here") | 97 drag_file("/src/libervia-backend/tests/_files/test_1.jpg", "drop photos here") |
98 wait_until(lambda: len(find_all(S("div.progress_finished")))==1) | 98 wait_until(lambda: len(find_all(S("div.progress_finished")))==1) |
99 drag_file("/src/sat/tests/_files/test_2.jpg", "drop photos here") | 99 drag_file("/src/libervia-backend/tests/_files/test_2.jpg", "drop photos here") |
100 wait_until(lambda: len(find_all(S("div.progress_finished")))==2) | 100 wait_until(lambda: len(find_all(S("div.progress_finished")))==2) |
101 assert S('img[alt="test_1.jpg"]').exists() | 101 assert S('img[alt="test_1.jpg"]').exists() |
102 assert S('img[alt="test_2.jpg"]').exists() | 102 assert S('img[alt="test_2.jpg"]').exists() |
103 | 103 |
104 @pytest.mark.dependency(depends=["create_album"]) | 104 @pytest.mark.dependency(depends=["create_album"]) |