|
|
|
@ -20,9 +20,13 @@ defmodule BlockScoutWeb.FeatureCase do |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
setup do |
|
|
|
|
setup tags do |
|
|
|
|
:ok = Ecto.Adapters.SQL.Sandbox.checkout(Explorer.Repo) |
|
|
|
|
|
|
|
|
|
unless tags[:async] do |
|
|
|
|
Ecto.Adapters.SQL.Sandbox.mode(Explorer.Repo, {:shared, self()}) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
metadata = Phoenix.Ecto.SQL.Sandbox.metadata_for(Explorer.Repo, self()) |
|
|
|
|
{:ok, session} = Wallaby.start_session(metadata: metadata) |
|
|
|
|
session = Wallaby.Browser.resize_window(session, 1200, 800) |
|
|
|
|