Skip to content

Commit

Permalink
UI tests: make sleep time longer for successful group test
Browse files Browse the repository at this point in the history
  • Loading branch information
claravox authored Dec 4, 2023
1 parent 5586b8f commit 1a2d2de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/step_defs/api/test_api_revisions.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def api_response_revision_search_result(api_response, revision_search_result):

assert len(body['data']['items']) > 0

# Check expected result is in reveived search results.
# Check expected result is in received search results.
found = False
for item in body['data']['items']:
if revision_search_result in item["main_original_dataname"]:
Expand Down
2 changes: 1 addition & 1 deletion tests/step_defs/ui/test_ui_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def ui_group_user_add(browser, member_add):
browser.find_by_css('#f-user-create-name').find_by_xpath('..').find_by_css('span .select2-selection').click()
# Scroll to bottom.
browser.execute_script("window.scrollTo(0, document.body.scrollHeight);")
time.sleep(1)
time.sleep(3)
browser.find_by_css('.select2-search__field').fill(member_add)
browser.execute_script("window.scrollTo(0, document.body.scrollHeight);")
time.sleep(1)
Expand Down

0 comments on commit 1a2d2de

Please sign in to comment.