File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
tests/e2e-playwright/tests Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -447,6 +447,10 @@ def _(
447447 if press_open :
448448 open_button = page .get_by_test_id ("openResource" )
449449 if template_id is not None :
450+ if is_product_billable :
451+ open_button .click ()
452+ # Open project with default resources
453+ open_button = page .get_by_test_id ("openWithResources" )
450454 # it returns a Long Running Task
451455 with page .expect_response (
452456 re .compile (rf"/projects\?from_study\={ template_id } " )
@@ -489,9 +493,9 @@ def wait_for_done(response):
489493 ...
490494 else :
491495 open_button .click ()
492- if is_product_billable :
493- # Open project with default resources
494- page .get_by_test_id ("openWithResources" ).click ()
496+ if is_product_billable :
497+ # Open project with default resources
498+ page .get_by_test_id ("openWithResources" ).click ()
495499 project_data = response_info .value .json ()
496500 assert project_data
497501 project_uuid = project_data ["data" ]["uuid" ]
You can’t perform that action at this time.
0 commit comments