[E2E] email sign up smoke test #29
deploy.yml
on: push
Annotations
2 errors, 1 warning, and 1 notice
[smoke-tests] › ../smoke-tests/register.spec.ts:12:3 › Registration › Register and approve:
packages/e2e/smoke-tests/register.spec.ts#L47
1) [smoke-tests] › ../smoke-tests/register.spec.ts:12:3 › Registration › Register and approve ────
TypeError: Cannot convert undefined or null to object
45 |
46 | // @ts-expect-error category is required for some reason
> 47 | const [message] = await gmail.waitTillMessage({ to: email })
| ^
48 | if (!message) throw new Error('No verification email found')
49 | await gmail.gmailApi.users.messages.trash({
50 | id: message.messageId,
at getCredentials (/home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/GoogleAuthorizer.js:76:37)
at /home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/GoogleAuthorizer.js:50:31
at step (/home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/GoogleAuthorizer.js:33:23)
at Object.next (/home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/GoogleAuthorizer.js:14:53)
at /home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/GoogleAuthorizer.js:8:71
at __awaiter (/home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/GoogleAuthorizer.js:4:12)
at Object.exports.authorizeAccount (/home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/GoogleAuthorizer.js:45:79)
at Inbox.<anonymous> (/home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/Inbox.js:59:69)
at step (/home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/Inbox.js:33:23)
at Object.next (/home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/Inbox.js:14:53)
at /home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/Inbox.js:8:71
at __awaiter (/home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/Inbox.js:4:12)
at Inbox.authenticateAccount (/home/runner/work/books-about-food/books-about-food/node_modules/gmail-inbox/lib/Inbox.js:55:16)
at getVerificationUrl (/home/runner/work/books-about-food/books-about-food/packages/e2e/smoke-tests/register.spec.ts:47:15)
at /home/runner/work/books-about-food/books-about-food/packages/e2e/smoke-tests/register.spec.ts:21:23
|
Run E2E tests
Process completed with exit code 1.
|
Run E2E tests
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
1 failed
[smoke-tests] › ../smoke-tests/register.spec.ts:12:3 › Registration › Register and approve ─────
4 passed (41.7s)
|