Skip to content

Commit 563430f

Browse files
committed
Changed sketch rename wait condition.
Needed after the adoption of the new editor for all users.
1 parent 2ddea6f commit 563430f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

codebender_testing/utils.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,12 @@ def create_sketch(self, name):
664664
headingInput.send_keys(Keys.ENTER)
665665
WebDriverWait(self.driver, VERIFY_TIMEOUT).until(
666666
expected_conditions.invisibility_of_element_located(
667-
(By.CSS_SELECTOR, "#editor_heading_project_name i")
667+
(By.CSS_SELECTOR, "#editor_heading_project_working")
668+
)
669+
)
670+
WebDriverWait(self.driver, VERIFY_TIMEOUT).until(
671+
expected_conditions.text_to_be_present_in_element(
672+
(By.ID, "operation_output"), 'Name successfully changed!'
668673
)
669674
)
670675

0 commit comments

Comments
 (0)