We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0876a1c commit b549c9fCopy full SHA for b549c9f
browser-tests/test_review.py
@@ -1,5 +1,4 @@
1
import re
2
-import time
3
4
from playwright.sync_api import expect
5
@@ -153,9 +152,9 @@ def test_review_existing_record(
153
152
page.get_by_text("Request review...").first.click()
154
page.get_by_placeholder("Comment...").last.fill("Modified record and attachment")
155
page.get_by_text("Request review").last.click()
+ expect(page.get_by_text("Review requested.")).to_be_visible()
156
157
# Check that preview record has the appropriate values
158
- time.sleep(1) # wait 1 second as the preview collection can take a few ms to sync
159
record = editor_client.get_record(id=record_id, bucket=preview_bucket)
160
assert record["data"]["title"] == "new val"
161
assert record["data"]["attachment"]["filename"] == "kinto-logo.jpg"
0 commit comments