From 839b0d2016ea29fd6c7bfe7f18ee7d5fde0fa465 Mon Sep 17 00:00:00 2001 From: Vadim Date: Tue, 19 May 2020 07:56:38 +0300 Subject: [PATCH] Fix viewing_chain_test.exs --- .../test/block_scout_web/features/viewing_chain_test.exs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/block_scout_web/test/block_scout_web/features/viewing_chain_test.exs b/apps/block_scout_web/test/block_scout_web/features/viewing_chain_test.exs index 367e8b8b7c..c7521fb8a4 100644 --- a/apps/block_scout_web/test/block_scout_web/features/viewing_chain_test.exs +++ b/apps/block_scout_web/test/block_scout_web/features/viewing_chain_test.exs @@ -141,8 +141,12 @@ defmodule BlockScoutWeb.ViewingChainTest do start_supervised!(AddressesCounter) AddressesCounter.consolidate() + ChainPage.visit_page(session) + + # wait for the `transactions-list` to load + :timer.sleep(1000) + session - |> ChainPage.visit_page() |> assert_has(ChainPage.token_transfers(transaction, count: 1)) |> click(ChainPage.token_transfers_expansion(transaction)) |> assert_has(ChainPage.token_transfers(transaction, count: 3))