Skip to content

Commit d2583c3

Browse files
author
konstantina
committed
Removed expected_condition from test_add_projectfile_direct function.
Sometimes editor-loading-screen disappeared very quickly and we couldn't locate the element. This had as result that test failed. Now we wait only for editor-loading-screen to be invisible.
1 parent 42ee6b4 commit d2583c3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/common/sketch/test_sketch.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,6 @@ def test_add_projectfile_direct(self):
112112
""" Tests that new file can be added to project using create-new-file
113113
field """
114114
self.open_project()
115-
WebDriverWait(self.driver, VERIFY_TIMEOUT).until(
116-
expected_conditions.visibility_of_element_located(
117-
(By.CSS_SELECTOR, "#editor-loading-screen")
118-
)
119-
)
120115
WebDriverWait(self.driver, VERIFY_TIMEOUT).until(
121116
expected_conditions.invisibility_of_element_located(
122117
(By.CSS_SELECTOR, "#editor-loading-screen")

0 commit comments

Comments
 (0)