Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
chore/fix price monitoring test
Browse files Browse the repository at this point in the history
  • Loading branch information
bwallacee committed Oct 24, 2023
1 parent 88232fa commit 81f8588
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/market/test_market.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,16 @@ def test_price_monitoring(simple_market, vega: VegaService, page: Page):
vega, MM_WALLET2.name, simple_market, "SIDE_SELL", initial_volume, initial_price
)

vega.forward("10s")
vega.wait_fn(1)
vega.wait_for_total_catchup()


expect(
page.get_by_test_id(liquidity_supplied).get_by_test_id(item_value)
).to_have_text("100.00 (>100%)")

vega.forward("10s")
vega.wait_fn(1)
vega.wait_for_total_catchup()

page.goto(f"/#/markets/all")
# temporary skip
# expect(page.locator(table_row_selector).locator(trading_mode_col)).to_have_text(
Expand Down Expand Up @@ -163,8 +165,7 @@ def test_price_monitoring(simple_market, vega: VegaService, page: Page):

vega.forward("10s")
vega.wait_fn(1)
vega.wait_for_total_catchup()

vega.wait_for_total_catchup()
expect(
page.get_by_test_id(price_monitoring_bounds_row).first.get_by_text(
"135.44204 BTC"
Expand Down

0 comments on commit 81f8588

Please sign in to comment.