Bump lodash from 4.17.21 to 4.17.23 in /example #544
Annotations
10 errors, 17 warnings, and 1 notice
|
Run Playwright tests:
react-example/e2e/page-objects/pages/InAppPage.ts#L48
3) [chromium] › e2e/inapp-e2e.spec.ts:64:7 › In-App Messaging - E2E (Real API) › should display in-app message in iframe when messages are available
Error: expect(locator).toContainText(expected) failed
Locator: locator('[data-qa-auto-display-messages]')
Expected pattern: /Retrieved \d+ messages/
Received string: "Get Messages (auto-display)"
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('[data-qa-auto-display-messages]')
3 × locator resolved to <button aria-disabled="true" data-qa-auto-display-messages="true" class="Button__StyledButton-sc-1dedu0o-0 Button__DisabledButton-sc-1dedu0o-1 jNqjFi hucRDx InApp__StyledButton-sc-owyqx1-0 jHtcaZ">Get Messages (auto-display)</button>
- unexpected value "Get Messages (auto-display)"
6 × locator resolved to <button data-qa-auto-display-messages="true" class="Button__StyledButton-sc-1dedu0o-0 jNqjFi InApp__StyledButton-sc-owyqx1-0 jHtcaZ">Get Messages (auto-display)</button>
- unexpected value "Get Messages (auto-display)"
at page-objects/pages/InAppPage.ts:48
46 |
47 | // Wait for button text to update from "Get Messages" to "Retrieved X messages"
> 48 | await expect(this.autoDisplayButton).toContainText(
| ^
49 | /Retrieved \d+ messages/
50 | );
51 |
at InAppPage.performFetchMessagesAutoDisplayFlow (/__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/page-objects/pages/InAppPage.ts:48:42)
at /__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/inapp-e2e.spec.ts:67:26
|
|
Run Playwright tests:
react-example/e2e/inapp-e2e.spec.ts#L37
2) [chromium] › e2e/inapp-e2e.spec.ts:34:7 › In-App Messaging - E2E (Real API) › should fetch in-app messages from Iterable API and display count
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForResponse: Test ended.
35 | page
36 | }) => {
> 37 | const apiResponsePromise = page.waitForResponse(
| ^
38 | (response) =>
39 | response.url().includes('/api/inApp/web/getMessages') &&
40 | response.status() === 200,
at /__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/inapp-e2e.spec.ts:37:37
|
|
Run Playwright tests:
react-example/e2e/page-objects/pages/InAppPage.ts#L48
2) [chromium] › e2e/inapp-e2e.spec.ts:34:7 › In-App Messaging - E2E (Real API) › should fetch in-app messages from Iterable API and display count
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected) failed
Locator: locator('[data-qa-auto-display-messages]')
Expected pattern: /Retrieved \d+ messages/
Received string: "Get Messages (auto-display)"
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('[data-qa-auto-display-messages]')
2 × locator resolved to <button aria-disabled="true" data-qa-auto-display-messages="true" class="Button__StyledButton-sc-1dedu0o-0 Button__DisabledButton-sc-1dedu0o-1 jNqjFi hucRDx InApp__StyledButton-sc-owyqx1-0 jHtcaZ">Get Messages (auto-display)</button>
- unexpected value "Get Messages (auto-display)"
7 × locator resolved to <button data-qa-auto-display-messages="true" class="Button__StyledButton-sc-1dedu0o-0 jNqjFi InApp__StyledButton-sc-owyqx1-0 jHtcaZ">Get Messages (auto-display)</button>
- unexpected value "Get Messages (auto-display)"
at page-objects/pages/InAppPage.ts:48
46 |
47 | // Wait for button text to update from "Get Messages" to "Retrieved X messages"
> 48 | await expect(this.autoDisplayButton).toContainText(
| ^
49 | /Retrieved \d+ messages/
50 | );
51 |
at InAppPage.performFetchMessagesAutoDisplayFlow (/__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/page-objects/pages/InAppPage.ts:48:42)
at /__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/inapp-e2e.spec.ts:44:26
|
|
Run Playwright tests:
react-example/e2e/inapp-e2e.spec.ts#L37
2) [chromium] › e2e/inapp-e2e.spec.ts:34:7 › In-App Messaging - E2E (Real API) › should fetch in-app messages from Iterable API and display count
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForResponse: Test ended.
35 | page
36 | }) => {
> 37 | const apiResponsePromise = page.waitForResponse(
| ^
38 | (response) =>
39 | response.url().includes('/api/inApp/web/getMessages') &&
40 | response.status() === 200,
at /__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/inapp-e2e.spec.ts:37:37
|
|
Run Playwright tests:
react-example/e2e/page-objects/pages/InAppPage.ts#L48
2) [chromium] › e2e/inapp-e2e.spec.ts:34:7 › In-App Messaging - E2E (Real API) › should fetch in-app messages from Iterable API and display count
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected) failed
Locator: locator('[data-qa-auto-display-messages]')
Expected pattern: /Retrieved \d+ messages/
Received string: "Get Messages (auto-display)"
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('[data-qa-auto-display-messages]')
2 × locator resolved to <button aria-disabled="true" data-qa-auto-display-messages="true" class="Button__StyledButton-sc-1dedu0o-0 Button__DisabledButton-sc-1dedu0o-1 jNqjFi hucRDx InApp__StyledButton-sc-owyqx1-0 jHtcaZ">Get Messages (auto-display)</button>
- unexpected value "Get Messages (auto-display)"
7 × locator resolved to <button data-qa-auto-display-messages="true" class="Button__StyledButton-sc-1dedu0o-0 jNqjFi InApp__StyledButton-sc-owyqx1-0 jHtcaZ">Get Messages (auto-display)</button>
- unexpected value "Get Messages (auto-display)"
at page-objects/pages/InAppPage.ts:48
46 |
47 | // Wait for button text to update from "Get Messages" to "Retrieved X messages"
> 48 | await expect(this.autoDisplayButton).toContainText(
| ^
49 | /Retrieved \d+ messages/
50 | );
51 |
at InAppPage.performFetchMessagesAutoDisplayFlow (/__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/page-objects/pages/InAppPage.ts:48:42)
at /__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/inapp-e2e.spec.ts:44:26
|
|
Run Playwright tests:
react-example/e2e/inapp-e2e.spec.ts#L37
2) [chromium] › e2e/inapp-e2e.spec.ts:34:7 › In-App Messaging - E2E (Real API) › should fetch in-app messages from Iterable API and display count
Error: page.waitForResponse: Test ended.
35 | page
36 | }) => {
> 37 | const apiResponsePromise = page.waitForResponse(
| ^
38 | (response) =>
39 | response.url().includes('/api/inApp/web/getMessages') &&
40 | response.status() === 200,
at /__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/inapp-e2e.spec.ts:37:37
|
|
Run Playwright tests:
react-example/e2e/page-objects/pages/InAppPage.ts#L48
2) [chromium] › e2e/inapp-e2e.spec.ts:34:7 › In-App Messaging - E2E (Real API) › should fetch in-app messages from Iterable API and display count
Error: expect(locator).toContainText(expected) failed
Locator: locator('[data-qa-auto-display-messages]')
Expected pattern: /Retrieved \d+ messages/
Received string: "Get Messages (auto-display)"
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('[data-qa-auto-display-messages]')
2 × locator resolved to <button aria-disabled="true" data-qa-auto-display-messages="true" class="Button__StyledButton-sc-1dedu0o-0 Button__DisabledButton-sc-1dedu0o-1 jNqjFi hucRDx InApp__StyledButton-sc-owyqx1-0 jHtcaZ">Get Messages (auto-display)</button>
- unexpected value "Get Messages (auto-display)"
7 × locator resolved to <button data-qa-auto-display-messages="true" class="Button__StyledButton-sc-1dedu0o-0 jNqjFi InApp__StyledButton-sc-owyqx1-0 jHtcaZ">Get Messages (auto-display)</button>
- unexpected value "Get Messages (auto-display)"
at page-objects/pages/InAppPage.ts:48
46 |
47 | // Wait for button text to update from "Get Messages" to "Retrieved X messages"
> 48 | await expect(this.autoDisplayButton).toContainText(
| ^
49 | /Retrieved \d+ messages/
50 | );
51 |
at InAppPage.performFetchMessagesAutoDisplayFlow (/__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/page-objects/pages/InAppPage.ts:48:42)
at /__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/inapp-e2e.spec.ts:44:26
|
|
Run Playwright tests:
react-example/e2e/authentication.spec.ts#L29
1) [chromium] › e2e/authentication.spec.ts:22:7 › SDK Authentication › should authenticate user with SDK setEmail and make API call
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForResponse: Timeout 10000ms exceeded while waiting for event "response"
27 |
28 | // Accept both 200 and 400 responses (400 can occur due to field type mismatches)
> 29 | const apiCallPromise = page.waitForResponse(
| ^
30 | (response) =>
31 | response.url().includes('/api/users/update') &&
32 | (response.status() === 200 || response.status() === 400),
at /__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/authentication.spec.ts:29:33
|
|
Run Playwright tests:
react-example/e2e/authentication.spec.ts#L29
1) [chromium] › e2e/authentication.spec.ts:22:7 › SDK Authentication › should authenticate user with SDK setEmail and make API call
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForResponse: Timeout 10000ms exceeded while waiting for event "response"
27 |
28 | // Accept both 200 and 400 responses (400 can occur due to field type mismatches)
> 29 | const apiCallPromise = page.waitForResponse(
| ^
30 | (response) =>
31 | response.url().includes('/api/users/update') &&
32 | (response.status() === 200 || response.status() === 400),
at /__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/authentication.spec.ts:29:33
|
|
Run Playwright tests:
react-example/e2e/authentication.spec.ts#L29
1) [chromium] › e2e/authentication.spec.ts:22:7 › SDK Authentication › should authenticate user with SDK setEmail and make API call
TimeoutError: page.waitForResponse: Timeout 10000ms exceeded while waiting for event "response"
27 |
28 | // Accept both 200 and 400 responses (400 can occur due to field type mismatches)
> 29 | const apiCallPromise = page.waitForResponse(
| ^
30 | (response) =>
31 | response.url().includes('/api/users/update') &&
32 | (response.status() === 200 || response.status() === 400),
at /__w/iterable-web-sdk/iterable-web-sdk/react-example/e2e/authentication.spec.ts:29:33
|
|
Build React example app:
react-example/src/views/Users.tsx#L52
Unexpected any. Specify a different type
|
|
Build React example app:
react-example/src/views/Users.tsx#L48
Unexpected any. Specify a different type
|
|
Build React example app:
react-example/src/views/Commerce.tsx#L61
Unexpected any. Specify a different type
|
|
Build React example app:
react-example/src/views/Commerce.tsx#L57
Unexpected any. Specify a different type
|
|
Build React example app:
react-example/src/views/Commerce.tsx#L39
Unexpected any. Specify a different type
|
|
Build React example app:
react-example/src/views/Commerce.tsx#L35
Unexpected any. Specify a different type
|
|
Install dependencies:
src/embedded/embeddedManager.ts#L76
Unexpected any. Specify a different type
|
|
Install dependencies:
src/embedded/embeddedManager.ts#L63
Unexpected any. Specify a different type
|
|
Install dependencies:
src/embedded/embeddedManager.ts#L39
Unexpected any. Specify a different type
|
|
Install dependencies:
src/commerce/types.ts#L33
Unexpected any. Specify a different type
|
|
Install dependencies:
src/commerce/types.ts#L15
Unexpected any. Specify a different type
|
|
Install dependencies:
src/commerce/types.ts#L11
Unexpected any. Specify a different type
|
|
Install dependencies:
src/commerce/commerce.ts#L42
Unexpected any. Specify a different type
|
|
Install dependencies:
src/commerce/commerce.ts#L41
Unexpected any. Specify a different type
|
|
Install dependencies:
src/commerce/commerce.ts#L14
Unexpected any. Specify a different type
|
|
Install dependencies:
src/commerce/commerce.ts#L13
Unexpected any. Specify a different type
|
|
Setup Node.js
Failed to restore: Cache service responded with 400
|
|
Run Playwright tests
8 failed
[chromium] › e2e/authentication.spec.ts:22:7 › SDK Authentication › should authenticate user with SDK setEmail and make API call
[chromium] › e2e/inapp-e2e.spec.ts:34:7 › In-App Messaging - E2E (Real API) › should fetch in-app messages from Iterable API and display count
[chromium] › e2e/inapp-e2e.spec.ts:64:7 › In-App Messaging - E2E (Real API) › should display in-app message in iframe when messages are available
[chromium] › e2e/inapp-e2e.spec.ts:88:7 › In-App Messaging - E2E (Real API) › should close in-app message when close button is clicked
[chromium] › e2e/inapp-e2e.spec.ts:113:7 › In-App Messaging - E2E (Real API) › should fetch messages without auto-display and return JSON
[chromium] › e2e/inapp-e2e.spec.ts:140:7 › In-App Messaging - E2E (Real API) › should pause and resume message stream
[chromium] › e2e/inapp-e2e.spec.ts:172:7 › In-App Messaging - E2E (Real API) › should handle multiple fetch attempts correctly
[chromium] › e2e/inapp-e2e.spec.ts:202:7 › In-App Messaging - E2E (Real API) › should include user email in API request
16 passed (1.5m)
|
Loading