mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-09-08 12:15:28 -04:00
fix(internal/test): skip integration tests if SKIP_INTEGRATION is set (#586)
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
cd8a7eb2e2
commit
0ed905fd4e
@ -214,6 +214,11 @@ func TestPlaywrightBrowser(t *testing.T) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if os.Getenv("SKIP_INTEGRATION") != "" {
|
||||||
|
t.Skip("SKIP_INTEGRATION was set")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
startPlaywright(t)
|
startPlaywright(t)
|
||||||
|
|
||||||
pw := setupPlaywright(t)
|
pw := setupPlaywright(t)
|
||||||
@ -289,6 +294,11 @@ func TestPlaywrightWithBasePrefix(t *testing.T) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if os.Getenv("SKIP_INTEGRATION") != "" {
|
||||||
|
t.Skip("SKIP_INTEGRATION was set")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
t.Skip("NOTE(Xe)\\ these tests require HTTPS support in #364")
|
t.Skip("NOTE(Xe)\\ these tests require HTTPS support in #364")
|
||||||
|
|
||||||
startPlaywright(t)
|
startPlaywright(t)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user