Skip to content

Commit

Permalink
feat: change css selector used to pick button
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-hd committed Oct 25, 2024
1 parent aa94476 commit 2d3c566
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/functional/test_create_community_gis_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ def fill_out_and_submit_account_creation_form(self):
mock_validate_recaptcha.return_value = True
self.py.get(".primary-btn").click()


def select_native_land_method_and_submit(self):
# pick NLD add boundary radio button
self.py.get(f"[data-next='{self.select_nld_add_boundary_method_path}']").click()
time.sleep(5)
self.py.get(f"[name='selectBoundary']").click()

# submit form
self.py.get(".primary-btn").click()
Expand Down Expand Up @@ -96,9 +98,8 @@ def navigate_to_search_native_land_digital_database_page(self):
# verify user is on select add boundary method page
assert self.select_add_boundary_method_path in self.get_current_url()

time.sleep(20)
self.select_native_land_method_and_submit()

#
# # verify user is on select boundary by nld page
# assert self.select_nld_add_boundary_method_path in self.get_current_url()

Expand Down

0 comments on commit 2d3c566

Please sign in to comment.