Skip to content

Commit 9b912a3

Browse files
authored
Merge branch 'microsoft:main' into fix-tests-ordering
2 parents dc15f33 + f667863 commit 9b912a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ async def test_small_timeout(page):
810810
result = testdir.runpytest()
811811
result.assert_outcomes(passed=0, failed=1, skipped=0)
812812
result.stdout.fnmatch_lines("*AssertionError: Locator expected to be visible*")
813-
result.stdout.fnmatch_lines("*LocatorAssertions.to_be_visible with timeout 1111ms*")
813+
result.stdout.fnmatch_lines('*Expect "to_be_visible" with timeout 1111ms*')
814814

815815

816816
def test_artifact_collection_should_work_for_manually_created_contexts_keep_open(

tests/test_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ def test_small_timeout(page):
808808
result = testdir.runpytest()
809809
result.assert_outcomes(passed=0, failed=1, skipped=0)
810810
result.stdout.fnmatch_lines("*AssertionError: Locator expected to be visible*")
811-
result.stdout.fnmatch_lines("*LocatorAssertions.to_be_visible with timeout 1111ms*")
811+
result.stdout.fnmatch_lines('*Expect "to_be_visible" with timeout 1111ms*')
812812

813813

814814
def test_artifact_collection_should_work_for_manually_created_contexts_keep_open(

0 commit comments

Comments
 (0)