Skip to content

Commit

Permalink
Sleep for windows playwright test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Jan 3, 2024
1 parent 420519c commit 4f264de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/playwright/playwright.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"""

import os
import time
from playwright.sync_api import Playwright, sync_playwright, expect


Expand Down Expand Up @@ -172,6 +173,7 @@ def _print(s):
"http://localhost:5000/dev_api/fake_story.html"
)
page.get_by_role("button", name="Import").click()
time.sleep(2)
# Page is imported, form shown, so save it.
page.get_by_role("button", name="Save").click()
page.get_by_text("Tengo").click() # Quick hacky check if exists.
Expand Down

0 comments on commit 4f264de

Please sign in to comment.