Skip to content

Commit

Permalink
feat: removed unneeded time.sleep usages
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-hd committed Oct 25, 2024
1 parent f82cfc8 commit f1b8321
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/functional/test_create_community_gis_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def navigate_to_upload_shapefile_page(self):
self.accept_cookies()

self.fill_out_and_submit_account_creation_form()
time.sleep(5) # wait for response

# verify user is on select add boundary method page
assert self.select_add_boundary_method_path in self.get_current_url()
Expand Down Expand Up @@ -154,7 +153,6 @@ def test_select_native_land_digital_territory_without_share_publicly(self):
self.py.get("#community-boundary-continue-btn").click()

# verify user is on the confirm community page
time.sleep(5) # wait for ajax call to finish
assert self.dashboard in self.get_current_url()

# verify community and boundary exists with the expected values
Expand Down Expand Up @@ -204,8 +202,6 @@ def test_select_shapefile_with_share_publicly(self):
# navigate to next page
self.py.get("#community-boundary-continue-btn").click()

# wait for ajax call
time.sleep(4)
# verify user is on the dashbaord page
assert self.dashboard in self.get_current_url()

Expand Down Expand Up @@ -233,8 +229,6 @@ def test_select_shapefile_without_share_publicly(self):
# navigate to next page
self.py.get("#community-boundary-continue-btn").click()

# wait for ajax call
time.sleep(4)
# verify user is on the dashbaord page
assert self.dashboard in self.get_current_url()

Expand Down

0 comments on commit f1b8321

Please sign in to comment.