Skip to content

Commit

Permalink
additional test robustness
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneswilm committed Feb 6, 2024
1 parent bfaef00 commit 39949c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions fiduswriter/document/tests/test_collaboration.py
Expand Up @@ -865,10 +865,12 @@ def test_comment(self):
len(self.get_comment(self.driver)),
len(self.get_comment(self.driver2)),
)

time.sleep(1)
# Add comment answer
self.driver2.find_element(
By.CSS_SELECTOR, ".margin-box.comment"
WebDriverWait(self.driver2, self.wait_time).until(
EC.element_to_be_clickable(
(By.CSS_SELECTOR, ".margin-box.comment")
)
).click()
WebDriverWait(self.driver2, self.wait_time).until(
EC.presence_of_element_located(
Expand Down

0 comments on commit 39949c8

Please sign in to comment.