Skip to content

Commit fd6a436

Browse files
authored
🐛 [e2e-playwright] Fix tests (#6731)
1 parent e1d940a commit fd6a436

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/e2e-playwright/tests/conftest.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,9 @@ def _(
454454
open_button.click()
455455
lrt_data = lrt.value.json()
456456
lrt_data = lrt_data["data"]
457+
if is_product_billable:
458+
# Open project with default resources
459+
page.get_by_test_id("openWithResources").click()
457460
with log_context(
458461
logging.INFO,
459462
"Copying template data",
@@ -489,9 +492,9 @@ def wait_for_done(response):
489492
...
490493
else:
491494
open_button.click()
492-
if is_product_billable:
493-
# Open project with default resources
494-
page.get_by_test_id("openWithResources").click()
495+
if is_product_billable:
496+
# Open project with default resources
497+
page.get_by_test_id("openWithResources").click()
495498
project_data = response_info.value.json()
496499
assert project_data
497500
project_uuid = project_data["data"]["uuid"]

0 commit comments

Comments
 (0)