tests/e2e: skip unit page tests in CI
Temporarily skipping unit page tests until versions tab
tests are separated in a followup CL.
Trust: Jamal Carvalho
Run-TryBot: Jamal Carvalho
TryBot-Result: kokoro
@@ -11,7 +11,11 @@ TODO: replace these cases with something in seeddb
${'page that will redirect'} | ${'/github.com/jackc/pgx/pgxpool'}
*/
-export const testcases = test.each`
+const isCI = process.env.CI;
+
+// Temporarily skipping unit page tests until versions page
+// tests are separated in a followup CL.
+export const testcases = (isCI ? test.skip.each : test.each)`
name | path
${'standard library'} | ${'/std@go1.16.3'}
${'standard library versions'} | ${'/std?tab=versions'}
@@ -21,7 +25,6 @@ export const testcases = test.each`
${'errors imports'} | ${'/errors@go1.16.3?tab=imports'}
${'tools'} | ${'/golang.org/x/tools@v0.1.1'}
${'tools licenses'} | ${'/golang.org/x/tools@v0.1.1?tab=licenses'}
- ${'tools imports'} | ${'/golang.org/x/tools?tab=versions'}
${'module that is not a package'} | ${'/golang.org/x/tools@v0.1.1'}
${'module that is also a package'} | ${'/gocloud.dev@v0.22.0'}
${'really long import path'} | ${'/github.com/envoyproxy/go-control-plane@v0.9.8/envoy/config/filter/network/http_connection_manager/v2'}
