From 47cd3e95e45bbab4bbb5deeec5910aedef170a45 Mon Sep 17 00:00:00 2001 From: endalkh Date: Thu, 20 Jun 2024 00:00:33 +0300 Subject: [PATCH] fix: e2e issues --- e2e/tests/test_claim_bounty.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/e2e/tests/test_claim_bounty.py b/e2e/tests/test_claim_bounty.py index 76426a18..cae3f5f2 100644 --- a/e2e/tests/test_claim_bounty.py +++ b/e2e/tests/test_claim_bounty.py @@ -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")