Skip to content

Commit

Permalink
FIX: fixing testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian-411 committed May 13, 2024
1 parent 23ebe8d commit 93bcb16
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,10 @@ def test_delete_user(self):
self.assertEqual('Lista de usuarios', self.selenium.title)

self.selenium.find_element(By.ID, 'roleSelect_1109185879').send_keys('remove')

time.sleep(2)


try:
self.selenium.find_element(By.ID, 'addUser').click()
except StaleElementReferenceException:
self.selenium.find_element(By.ID, 'addUser').click()
self.selenium.find_element(By.ID, 'addUser').click()

self.assertEqual('1109185879', self.selenium.find_element(By.ID, '1109185879_id').text)

0 comments on commit 93bcb16

Please sign in to comment.