|
|
@ -23,7 +23,7 @@ defmodule ExplorerWeb.UserListTest do |
|
|
|
|
|
|
|
|
|
|
|
session |
|
|
|
session |
|
|
|
|> visit("/") |
|
|
|
|> visit("/") |
|
|
|
|> fill_in(css(".search-box__input"), with: "42") |
|
|
|
|> fill_in(css(".header__cell--search-input"), with: "42") |
|
|
|
|> send_keys([:enter]) |
|
|
|
|> send_keys([:enter]) |
|
|
|
|> assert_has(css(".block__item", text: "mittens")) |
|
|
|
|> assert_has(css(".block__item", text: "mittens")) |
|
|
|
end |
|
|
|
end |
|
|
@ -33,7 +33,7 @@ defmodule ExplorerWeb.UserListTest do |
|
|
|
|
|
|
|
|
|
|
|
session |
|
|
|
session |
|
|
|
|> visit("/") |
|
|
|
|> visit("/") |
|
|
|
|> fill_in(css(".search-box__input"), with: "0xdeadbeef000000000000000000000000000000000") |
|
|
|
|> fill_in(css(".header__cell--search-input"), with: "0xdeadbeef000000000000000000000000000000000") |
|
|
|
|> send_keys([:enter]) |
|
|
|
|> send_keys([:enter]) |
|
|
|
|> assert_has(css(".transaction__item", text: "socks")) |
|
|
|
|> assert_has(css(".transaction__item", text: "socks")) |
|
|
|
end |
|
|
|
end |
|
|
@ -43,7 +43,7 @@ defmodule ExplorerWeb.UserListTest do |
|
|
|
|
|
|
|
|
|
|
|
session |
|
|
|
session |
|
|
|
|> visit("/") |
|
|
|
|> visit("/") |
|
|
|
|> fill_in(css(".search-box__input"), with: "0xBAADF00D00000000000000000000000000000000") |
|
|
|
|> fill_in(css(".header__cell--search-input"), with: "0xBAADF00D00000000000000000000000000000000") |
|
|
|
|> send_keys([:enter]) |
|
|
|
|> send_keys([:enter]) |
|
|
|
|> assert_has(css(".address__subheading", text: "0xBAADF00D00000000000000000000000000000000")) |
|
|
|
|> assert_has(css(".address__subheading", text: "0xBAADF00D00000000000000000000000000000000")) |
|
|
|
end |
|
|
|
end |
|
|
|