Skip to content

Commit

Permalink
Merge pull request #6 from astronomer/video-fix
Browse files Browse the repository at this point in the history
Fix video collection with await video.path()
  • Loading branch information
m9810223 authored May 4, 2024
2 parents f9890de + 0a5e6a6 commit d76c09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytest_playwright_async/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async def context_async(
if not video:
continue
try:
video_path = video.path()
video_path = await video.path()
file_name = os.path.basename(video_path)
await video.save_as(
path=_build_artifact_test_folder(pytestconfig, request, file_name)
Expand Down

0 comments on commit d76c09b

Please sign in to comment.