File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
tests/e2e-playwright/tests Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -447,16 +447,17 @@ 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 } " )
453457 ) as lrt :
454458 open_button .click ()
455459 lrt_data = lrt .value .json ()
456460 lrt_data = lrt_data ["data" ]
457- if is_product_billable :
458- # Open project with default resources
459- page .get_by_test_id ("openWithResources" ).click ()
460461 with log_context (
461462 logging .INFO ,
462463 "Copying template data" ,
You can’t perform that action at this time.
0 commit comments