new branding #4
pr.yml
on: pull_request
Detect changes
10s
Run Unit Tests
/
Unit Tests
36s
Run Linters
/
Linters
56s
Build Formbricks-web
/
Build Formbricks-web
4m 24s
Run E2E Tests
/
Run E2E Tests
4m 22s
PR Check Summary
0s
Annotations
13 errors and 8 warnings
Run Unit Tests / Unit Tests
@formbricks/lib#test: command (/home/runner/work/formbricks/formbricks/packages/lib) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
segment/tests/segment.test.ts > Tests for createSegment service > Happy Path > Creates a new user segment:
packages/lib/segment/tests/segment.test.ts#L119
AssertionError: expected { Object (id, title, ...) } to deeply equal { Object (id, title, ...) }
- Expected
+ Received
Object {
- "createdAt": 2024-06-03T11:38:55.584Z,
+ "createdAt": 2024-06-03T11:38:55.585Z,
"description": "Segment targeting engaged users interested in specific topics and using mobile",
"environmentId": "t7fszh4tsotoe87ppa6lqhie",
"filters": Array [
Object {
"connector": null,
"id": "wi6zz4ekmcwi08bhv1hmgqcr",
"resource": Array [
Object {
"connector": null,
"id": "j10rst27no5v68pjkop3p3f6",
"resource": Object {
"id": "qz97nzcz0phipgkkdgjlc2op",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "email",
"type": "attribute",
},
"value": "example@example.com",
},
},
Object {
"connector": "and",
"id": "wjy1rcs43knp0ef7b4jdsjri",
"resource": Object {
"id": "rjhll9q83qxc6fngl9byp0gn",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "userId",
"type": "attribute",
},
"value": "random user id",
},
},
],
},
Object {
"connector": "and",
"id": "hp5ieqw889kt6k6z6wkuot8q",
"resource": Object {
"id": "iad253ddx4p7eshrbamsj4zk",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"deviceType": "phone",
"type": "device",
},
"value": "phone",
},
},
Object {
"connector": "and",
"id": "iix2savwqr4rv2y81ponep62",
"resource": Object {
"id": "evvoaniy0hn7srea7x0yn4vv",
"qualifier": Object {
"metric": "lastMonthCount",
"operator": "equals",
},
"root": Object {
"actionClassId": "zg7lojfwnk9ipajgeumfz96t",
"type": "action",
},
"value": 5,
},
},
],
"id": "rh2eual2apby2bx0r027ru70",
"isPrivate": false,
"surveys": Array [
"phz5mjwvatwc0dqwuip90qpv",
],
"title": "Engaged Users with Specific Interests",
- "updatedAt": 2024-06-03T11:38:55.584Z,
+ "updatedAt": 2024-06-03T11:38:55.585Z,
}
❯ segment/tests/segment.test.ts:119:22
|
segment/tests/segment.test.ts > Tests for getSegments service > Happy Path > Returns all user segments:
packages/lib/segment/tests/segment.test.ts#L151
AssertionError: expected [ { …(9) } ] to deeply equal [ { …(9) } ]
- Expected
+ Received
Array [
Object {
- "createdAt": 2024-06-03T11:38:55.584Z,
+ "createdAt": 2024-06-03T11:38:55.585Z,
"description": "Segment targeting engaged users interested in specific topics and using mobile",
"environmentId": "t7fszh4tsotoe87ppa6lqhie",
"filters": Array [
Object {
"connector": null,
"id": "wi6zz4ekmcwi08bhv1hmgqcr",
"resource": Array [
Object {
"connector": null,
"id": "j10rst27no5v68pjkop3p3f6",
"resource": Object {
"id": "qz97nzcz0phipgkkdgjlc2op",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "email",
"type": "attribute",
},
"value": "example@example.com",
},
},
Object {
"connector": "and",
"id": "wjy1rcs43knp0ef7b4jdsjri",
"resource": Object {
"id": "rjhll9q83qxc6fngl9byp0gn",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "userId",
"type": "attribute",
},
"value": "random user id",
},
},
],
},
Object {
"connector": "and",
"id": "hp5ieqw889kt6k6z6wkuot8q",
"resource": Object {
"id": "iad253ddx4p7eshrbamsj4zk",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"deviceType": "phone",
"type": "device",
},
"value": "phone",
},
},
Object {
"connector": "and",
"id": "iix2savwqr4rv2y81ponep62",
"resource": Object {
"id": "evvoaniy0hn7srea7x0yn4vv",
"qualifier": Object {
"metric": "lastMonthCount",
"operator": "equals",
},
"root": Object {
"actionClassId": "zg7lojfwnk9ipajgeumfz96t",
"type": "action",
},
"value": 5,
},
},
],
"id": "rh2eual2apby2bx0r027ru70",
"isPrivate": false,
"surveys": Array [
"phz5mjwvatwc0dqwuip90qpv",
],
"title": "Engaged Users with Specific Interests",
- "updatedAt": 2024-06-03T11:38:55.584Z,
+ "updatedAt": 2024-06-03T11:38:55.585Z,
},
]
❯ segment/tests/segment.test.ts:151:22
|
segment/tests/segment.test.ts > Tests for getSegment service > Happy Path > Returns a user segment:
packages/lib/segment/tests/segment.test.ts#L183
AssertionError: expected { Object (id, title, ...) } to deeply equal { Object (id, title, ...) }
- Expected
+ Received
Object {
- "createdAt": 2024-06-03T11:38:55.584Z,
+ "createdAt": 2024-06-03T11:38:55.585Z,
"description": "Segment targeting engaged users interested in specific topics and using mobile",
"environmentId": "t7fszh4tsotoe87ppa6lqhie",
"filters": Array [
Object {
"connector": null,
"id": "wi6zz4ekmcwi08bhv1hmgqcr",
"resource": Array [
Object {
"connector": null,
"id": "j10rst27no5v68pjkop3p3f6",
"resource": Object {
"id": "qz97nzcz0phipgkkdgjlc2op",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "email",
"type": "attribute",
},
"value": "example@example.com",
},
},
Object {
"connector": "and",
"id": "wjy1rcs43knp0ef7b4jdsjri",
"resource": Object {
"id": "rjhll9q83qxc6fngl9byp0gn",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "userId",
"type": "attribute",
},
"value": "random user id",
},
},
],
},
Object {
"connector": "and",
"id": "hp5ieqw889kt6k6z6wkuot8q",
"resource": Object {
"id": "iad253ddx4p7eshrbamsj4zk",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"deviceType": "phone",
"type": "device",
},
"value": "phone",
},
},
Object {
"connector": "and",
"id": "iix2savwqr4rv2y81ponep62",
"resource": Object {
"id": "evvoaniy0hn7srea7x0yn4vv",
"qualifier": Object {
"metric": "lastMonthCount",
"operator": "equals",
},
"root": Object {
"actionClassId": "zg7lojfwnk9ipajgeumfz96t",
"type": "action",
},
"value": 5,
},
},
],
"id": "rh2eual2apby2bx0r027ru70",
"isPrivate": false,
"surveys": Array [
"phz5mjwvatwc0dqwuip90qpv",
],
"title": "Engaged Users with Specific Interests",
- "updatedAt": 2024-06-03T11:38:55.584Z,
+ "updatedAt": 2024-06-03T11:38:55.585Z,
}
❯ segment/tests/segment.test.ts:183:22
|
segment/tests/segment.test.ts > Tests for updateSegment service > Happy Path > Updates a user segment:
packages/lib/segment/tests/segment.test.ts#L220
AssertionError: expected { Object (id, title, ...) } to deeply equal { Object (id, title, ...) }
- Expected
+ Received
Object {
- "createdAt": 2024-06-03T11:38:55.584Z,
+ "createdAt": 2024-06-03T11:38:55.585Z,
"description": "Segment targeting engaged users interested in specific topics and using mobile",
"environmentId": "t7fszh4tsotoe87ppa6lqhie",
"filters": Array [
Object {
"connector": null,
"id": "wi6zz4ekmcwi08bhv1hmgqcr",
"resource": Array [
Object {
"connector": null,
"id": "j10rst27no5v68pjkop3p3f6",
"resource": Object {
"id": "qz97nzcz0phipgkkdgjlc2op",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "email",
"type": "attribute",
},
"value": "example@example.com",
},
},
Object {
"connector": "and",
"id": "wjy1rcs43knp0ef7b4jdsjri",
"resource": Object {
"id": "rjhll9q83qxc6fngl9byp0gn",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "userId",
"type": "attribute",
},
"value": "random user id",
},
},
],
},
Object {
"connector": "and",
"id": "hp5ieqw889kt6k6z6wkuot8q",
"resource": Object {
"id": "iad253ddx4p7eshrbamsj4zk",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"deviceType": "phone",
"type": "device",
},
"value": "phone",
},
},
Object {
"connector": "and",
"id": "iix2savwqr4rv2y81ponep62",
"resource": Object {
"id": "evvoaniy0hn7srea7x0yn4vv",
"qualifier": Object {
"metric": "lastMonthCount",
"operator": "greaterEqual",
},
"root": Object {
"actionClassId": "zg7lojfwnk9ipajgeumfz96t",
"type": "action",
},
"value": 5,
},
},
],
"id": "rh2eual2apby2bx0r027ru70",
"isPrivate": false,
"surveys": Array [
"phz5mjwvatwc0dqwuip90qpv",
],
"title": "Engaged Users with Specific Interests",
- "updatedAt": 2024-06-03T11:38:55.584Z,
+ "updatedAt": 2024-06-03T11:38:55.585Z,
}
❯ segment/tests/segment.test.ts:220:22
|
segment/tests/segment.test.ts > Tests for deleteSegment service > Happy Path > Deletes a user segment:
packages/lib/segment/tests/segment.test.ts#L263
AssertionError: expected { Object (id, title, ...) } to deeply equal { Object (id, title, ...) }
- Expected
+ Received
Object {
- "createdAt": 2024-06-03T11:38:55.584Z,
+ "createdAt": 2024-06-03T11:38:55.585Z,
"description": "Segment targeting engaged users interested in specific topics and using mobile",
"environmentId": "t7fszh4tsotoe87ppa6lqhie",
"filters": Array [
Object {
"connector": null,
"id": "wi6zz4ekmcwi08bhv1hmgqcr",
"resource": Array [
Object {
"connector": null,
"id": "j10rst27no5v68pjkop3p3f6",
"resource": Object {
"id": "qz97nzcz0phipgkkdgjlc2op",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "email",
"type": "attribute",
},
"value": "example@example.com",
},
},
Object {
"connector": "and",
"id": "wjy1rcs43knp0ef7b4jdsjri",
"resource": Object {
"id": "rjhll9q83qxc6fngl9byp0gn",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "userId",
"type": "attribute",
},
"value": "random user id",
},
},
],
},
Object {
"connector": "and",
"id": "hp5ieqw889kt6k6z6wkuot8q",
"resource": Object {
"id": "iad253ddx4p7eshrbamsj4zk",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"deviceType": "phone",
"type": "device",
},
"value": "phone",
},
},
Object {
"connector": "and",
"id": "iix2savwqr4rv2y81ponep62",
"resource": Object {
"id": "evvoaniy0hn7srea7x0yn4vv",
"qualifier": Object {
"metric": "lastMonthCount",
"operator": "equals",
},
"root": Object {
"actionClassId": "zg7lojfwnk9ipajgeumfz96t",
"type": "action",
},
"value": 5,
},
},
],
"id": "rh2eual2apby2bx0r027ru70",
"isPrivate": false,
"surveys": Array [
"phz5mjwvatwc0dqwuip90qpv",
],
"title": "Engaged Users with Specific Interests",
- "updatedAt": 2024-06-03T11:38:55.584Z,
+ "updatedAt": 2024-06-03T11:38:55.585Z,
}
❯ segment/tests/segment.test.ts:263:22
|
segment/tests/segment.test.ts > Tests for cloneSegment service > Happy Path > Clones a user segment:
packages/lib/segment/tests/segment.test.ts#L304
AssertionError: expected { Object (id, title, ...) } to deeply equal { Object (id, title, ...) }
- Expected
+ Received
Object {
- "createdAt": 2024-06-03T11:38:55.584Z,
+ "createdAt": 2024-06-03T11:38:55.585Z,
"description": "Segment targeting engaged users interested in specific topics and using mobile",
"environmentId": "t7fszh4tsotoe87ppa6lqhie",
"filters": Array [
Object {
"connector": null,
"id": "wi6zz4ekmcwi08bhv1hmgqcr",
"resource": Array [
Object {
"connector": null,
"id": "j10rst27no5v68pjkop3p3f6",
"resource": Object {
"id": "qz97nzcz0phipgkkdgjlc2op",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "email",
"type": "attribute",
},
"value": "example@example.com",
},
},
Object {
"connector": "and",
"id": "wjy1rcs43knp0ef7b4jdsjri",
"resource": Object {
"id": "rjhll9q83qxc6fngl9byp0gn",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"attributeClassName": "userId",
"type": "attribute",
},
"value": "random user id",
},
},
],
},
Object {
"connector": "and",
"id": "hp5ieqw889kt6k6z6wkuot8q",
"resource": Object {
"id": "iad253ddx4p7eshrbamsj4zk",
"qualifier": Object {
"operator": "equals",
},
"root": Object {
"deviceType": "phone",
"type": "device",
},
"value": "phone",
},
},
Object {
"connector": "and",
"id": "iix2savwqr4rv2y81ponep62",
"resource": Object {
"id": "evvoaniy0hn7srea7x0yn4vv",
"qualifier": Object {
"metric": "lastMonthCount",
"operator": "equals",
},
"root": Object {
"actionClassId": "zg7lojfwnk9ipajgeumfz96t",
"type": "action",
},
"value": 5,
},
},
],
"id": "rh2eual2apby2bx0r027ru70",
"isPrivate": false,
"surveys": Array [
"phz5mjwvatwc0dqwuip90qpv",
],
"title": "Copy of Engaged Users with Specific Interests",
- "updatedAt": 2024-06-03T11:38:55.584Z,
+ "updatedAt": 2024-06-03T11:38:55.585Z,
}
❯ segment/tests/segment.test.ts:304:22
|
Run Unit Tests / Unit Tests
Process completed with exit code 1.
|
Run E2E Tests / Run E2E Tests
@formbricks/web#build: command (/home/runner/work/formbricks/formbricks/apps/web) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
|
Run E2E Tests / Run E2E Tests
Process completed with exit code 1.
|
Build Formbricks-web / Build Formbricks-web
@formbricks/web#build: command (/home/runner/work/formbricks/formbricks/apps/web) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
|
Build Formbricks-web / Build Formbricks-web
Process completed with exit code 1.
|
PR Check Summary
Process completed with exit code 1.
|
Detect changes
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, dorny/paths-filter@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Unit Tests / Unit Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Linters / Linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run E2E Tests / Run E2E Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/setup-node@v3, pnpm/action-setup@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run E2E Tests / Run E2E Tests
Unexpected input(s) 'e2e_testing_mode', valid inputs are ['']
|
Run E2E Tests / Run E2E Tests
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
Run E2E Tests / Run E2E Tests
Unexpected input(s) 'e2e_testing_mode', valid inputs are ['']
|
Build Formbricks-web / Build Formbricks-web
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|