Skip to content

Commit 4e6e46a

Browse files
author
Kadi Kraman
committed
chore(e2e): bail out of e2e tests when no E2E_TOKEN is present
1 parent 4ad9385 commit 4e6e46a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/test-app/e2e/main.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ it('sends events and does not crash', async () => {
1414
await sleep(5 * 1000)
1515
})
1616

17-
if (CIRCLE_WORKFLOW_ID) {
17+
if (CIRCLE_WORKFLOW_ID && E2E_TOKEN) {
1818
it('sends events to the webhook', async () => {
1919
await element(by.text('Launch test suite')).tap()
2020
await element(by.text('Flush')).tap()

0 commit comments

Comments
 (0)