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 6aa2af0 commit 47cd3e9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions e2e/tests/test_claim_bounty.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@ def test_claim_bounty(live_server, page_context, setup_bounty):
challenge_detail_button.click()
page_context.wait_for_timeout(1500)

print("=======================:", bounty)
bounty_claim_button = page.get_bounty_claim_button(bounty.id)
bounty_claim_button.click()

page_context.wait_for_timeout(500)
page.bounty_add_btn.click()
page_context.wait_for_timeout(500)
future_date = datetime.date() + timedelta(days=10)

print("=======================:", future_date)

future_date = datetime.today() + timedelta(days=10)
day = future_date.strftime("%d")
month = future_date.strftime("%m")
year = future_date.strftime("%Y")
Expand Down

0 comments on commit 47cd3e9

Please sign in to comment.