Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [e2e-playwright] Fix tests, 2nd attempt #6735

Merged
merged 3 commits into from
Nov 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions tests/e2e-playwright/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,13 +454,14 @@ def _(
open_button.click()
lrt_data = lrt.value.json()
lrt_data = lrt_data["data"]
if is_product_billable:
# Open project with default resources
page.get_by_test_id("openWithResources").click()
with log_context(
logging.INFO,
"Copying template data",
) as copying_logger:
if is_product_billable:
# Open project with default resources
page.get_by_test_id("openWithResources").click()

# From the long running tasks response's urls, only their path is relevant
def url_to_path(url):
return urllib.parse.urlparse(url).path
Expand Down
Loading