try pytest-asyncio again

This commit is contained in:
Kenneth Kehl
2025-06-04 11:22:28 -07:00
parent b990363436
commit 56980e04ce
3 changed files with 7 additions and 1 deletions

View File

@@ -1744,6 +1744,7 @@ def test_can_create_email_template_with_emoji(
)
assert mock_create_service_template.called is True
# TODO FIX!
# @pytest.mark.parametrize(
# ("template_type", "expected_error"),

View File

@@ -3,6 +3,7 @@ import os
import re
import uuid
import pytest
from playwright.sync_api import expect
from tests.end_to_end.conftest import check_axe_report
@@ -97,7 +98,8 @@ async def create_new_template(page):
assert "Test message for e2e test" in page.content()
def test_create_new_template(end_to_end_context):
@pytest.mark.asyncio
async def test_create_new_template(end_to_end_context):
page = end_to_end_context.new_page()
page.goto(f"{E2E_TEST_URI}/sign-in")
# Wait for the next page to fully load.