We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b70d101 commit 66647c2Copy full SHA for 66647c2
e2e/mix.exs
@@ -19,7 +19,24 @@ defmodule E2E.MixProject do
19
]
20
end
21
22
- defp elixirc_paths(:test), do: ["lib", "test/support"]
+ defp elixirc_paths(:test) do
23
+ base = ["lib", "test/support"]
24
+ if System.get_env("START_WALLABY") do
25
+ base
26
+ else
27
+ # Exclude ui_test_case.ex if Wallaby is not available
28
+ ["lib", "test/support"]
29
+ |> Enum.flat_map(fn path ->
30
+ if path == "test/support" do
31
+ Path.wildcard("test/support/*.ex")
32
+ |> Enum.reject(&(&1 =~ "ui_test_case.ex"))
33
34
+ [path]
35
+ end
36
+ end)
37
38
39
+
40
defp elixirc_paths(:dev), do: ["lib", "test/support"]
41
defp elixirc_paths(_), do: ["lib"]
42
0 commit comments