From b3cf5b246fe8fe57485800618b24f64261bd0128 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Sat, 2 May 2020 16:40:00 +0300 Subject: [PATCH] test(docs-infra): enable accidentally disabled preview server tests (#36837) Previously, some preview server tests were only running for public builds. In the past, these tests were run for both public and non-public builds. The non-public builds tests were disabled in #23576, probably during debugging some failure. This commit fixes it by ensuring the tests are run for both public and non-public builds. PR Close #36837 --- .../scripts-js/lib/verify-setup/preview-server.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/aio-builds-setup/dockerbuild/scripts-js/lib/verify-setup/preview-server.e2e.ts b/aio/aio-builds-setup/dockerbuild/scripts-js/lib/verify-setup/preview-server.e2e.ts index f9667a9d2d..b7134cd799 100644 --- a/aio/aio-builds-setup/dockerbuild/scripts-js/lib/verify-setup/preview-server.e2e.ts +++ b/aio/aio-builds-setup/dockerbuild/scripts-js/lib/verify-setup/preview-server.e2e.ts @@ -199,7 +199,7 @@ describe('preview-server', () => { expect({ prNum: PrNums.TRUST_CHECK_UNTRUSTED, isPublic: false }).toExistAsABuild(); }); - [true].forEach(isPublic => { + [true, false].forEach(isPublic => { const build = isPublic ? BuildNums.TRUST_CHECK_ACTIVE_TRUSTED_USER : BuildNums.TRUST_CHECK_UNTRUSTED; const prNum = isPublic ? PrNums.TRUST_CHECK_ACTIVE_TRUSTED_USER : PrNums.TRUST_CHECK_UNTRUSTED; const label = isPublic ? 'public' : 'non-public';