Skip to content

Commit

Permalink
fix: e2e issues
Browse files Browse the repository at this point in the history
  • Loading branch information
endalkh committed Jun 19, 2024
1 parent 44cf0fb commit d598370
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions e2e/tests/test_claim_bounty.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,16 @@ def test_claim_bounty(live_server, page_context, setup_bounty):
year = future_date.strftime("%Y")
print("========================:", datetime.today())
print("========================:", day, month, year)
page.expected_submission_date.clear()
page.expected_submission_date.type(f"{day}/{month}/{year}")

# Clear the date input fields before typing
page.expected_submission_date_day.clear()
page.expected_submission_date_day.type(day)

page.expected_submission_date_month.clear()
page.expected_submission_date_month.type(month)

page.expected_submission_date_year.clear()
page.expected_submission_date_year.type(year)

print(page.expected_submission_date)
page.terms_check_box.check()
Expand Down

0 comments on commit d598370

Please sign in to comment.