mirror of
https://github.com/umap-project/umap.git
synced 2025-05-04 21:51:50 +02:00
tests: Add a small delay in the tests after right click.
Otherwise, the test is sometimes flaky and fails.
This commit is contained in:
parent
617c0cee56
commit
c0aef13021
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ def test_websocket_connection_can_sync_cloned_polygons(
|
||||||
b_polygon = peerB.locator("path")
|
b_polygon = peerB.locator("path")
|
||||||
|
|
||||||
# Clone on peer B and save
|
# Clone on peer B and save
|
||||||
b_polygon.click(button="right")
|
b_polygon.click(button="right", delay=200)
|
||||||
peerB.get_by_role("button", name="Clone this feature").click()
|
peerB.get_by_role("button", name="Clone this feature").click()
|
||||||
|
|
||||||
expect(peerB.locator("path")).to_have_count(2)
|
expect(peerB.locator("path")).to_have_count(2)
|
||||||
|
|
Loading…
Reference in a new issue