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,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 } " )
@@ -458,9 +462,6 @@ def _(
458462 logging .INFO ,
459463 "Copying template data" ,
460464 ) as copying_logger :
461- if is_product_billable :
462- # Open project with default resources
463- page .get_by_test_id ("openWithResources" ).click ()
464465
465466 # From the long running tasks response's urls, only their path is relevant
466467 def url_to_path (url ):
You can’t perform that action at this time.
0 commit comments