feat: Add customer group data #367
Annotations
12 errors, 1 warning, and 2 notices
build:
src/services/TestDataService.ts#L836
Property 'getBasicCustomerGroupStruct' does not exist on type 'TestDataService'. Did you mean 'getBasicCustomerStruct'?
|
build
Process completed with exit code 1.
|
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service:
src/services/TestDataService.ts#L836
1) [chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ───────────────────────
TypeError: this.getBasicCustomerGroupStruct is not a function
at ../src/services/TestDataService.ts:836
834 | async createCustomerGroup(overrides: Partial<CustomerGroup> = {}): Promise<CustomerGroup> {
835 |
> 836 | const basicCustomerGroup = this.getBasicCustomerGroupStruct(overrides);
| ^
837 |
838 | const response = await this.AdminApiClient.post('customer-group?_response=detail', {
839 | data: basicCustomerGroup,
at TestDataService.createCustomerGroup (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/services/TestDataService.ts:836:41)
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/TestDataService/TestDataService.spec.ts:114:49
|
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service:
src/services/TestDataService.ts#L836
2) [chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ───────────────────────
TypeError: this.getBasicCustomerGroupStruct is not a function
at ../src/services/TestDataService.ts:836
834 | async createCustomerGroup(overrides: Partial<CustomerGroup> = {}): Promise<CustomerGroup> {
835 |
> 836 | const basicCustomerGroup = this.getBasicCustomerGroupStruct(overrides);
| ^
837 |
838 | const response = await this.AdminApiClient.post('customer-group?_response=detail', {
839 | data: basicCustomerGroup,
at TestDataService.createCustomerGroup (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/services/TestDataService.ts:836:41)
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/TestDataService/TestDataService.spec.ts:114:49
|
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service:
src/services/TestDataService.ts#L836
3) [chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ───────────────────────
TypeError: this.getBasicCustomerGroupStruct is not a function
at ../src/services/TestDataService.ts:836
834 | async createCustomerGroup(overrides: Partial<CustomerGroup> = {}): Promise<CustomerGroup> {
835 |
> 836 | const basicCustomerGroup = this.getBasicCustomerGroupStruct(overrides);
| ^
837 |
838 | const response = await this.AdminApiClient.post('customer-group?_response=detail', {
839 | data: basicCustomerGroup,
at TestDataService.createCustomerGroup (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/services/TestDataService.ts:836:41)
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/TestDataService/TestDataService.spec.ts:114:49
|
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service:
src/services/TestDataService.ts#L836
4) [chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ───────────────────────
TypeError: this.getBasicCustomerGroupStruct is not a function
at ../src/services/TestDataService.ts:836
834 | async createCustomerGroup(overrides: Partial<CustomerGroup> = {}): Promise<CustomerGroup> {
835 |
> 836 | const basicCustomerGroup = this.getBasicCustomerGroupStruct(overrides);
| ^
837 |
838 | const response = await this.AdminApiClient.post('customer-group?_response=detail', {
839 | data: basicCustomerGroup,
at TestDataService.createCustomerGroup (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/services/TestDataService.ts:836:41)
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/TestDataService/TestDataService.spec.ts:114:49
|
test (shopware-65, http://localhost:8021)
Process completed with exit code 1.
|
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service:
src/services/TestDataService.ts#L836
1) [chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ───────────────────────
TypeError: this.getBasicCustomerGroupStruct is not a function
at ../src/services/TestDataService.ts:836
834 | async createCustomerGroup(overrides: Partial<CustomerGroup> = {}): Promise<CustomerGroup> {
835 |
> 836 | const basicCustomerGroup = this.getBasicCustomerGroupStruct(overrides);
| ^
837 |
838 | const response = await this.AdminApiClient.post('customer-group?_response=detail', {
839 | data: basicCustomerGroup,
at TestDataService.createCustomerGroup (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/services/TestDataService.ts:836:41)
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/TestDataService/TestDataService.spec.ts:114:49
|
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service:
src/services/TestDataService.ts#L836
2) [chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ───────────────────────
TypeError: this.getBasicCustomerGroupStruct is not a function
at ../src/services/TestDataService.ts:836
834 | async createCustomerGroup(overrides: Partial<CustomerGroup> = {}): Promise<CustomerGroup> {
835 |
> 836 | const basicCustomerGroup = this.getBasicCustomerGroupStruct(overrides);
| ^
837 |
838 | const response = await this.AdminApiClient.post('customer-group?_response=detail', {
839 | data: basicCustomerGroup,
at TestDataService.createCustomerGroup (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/services/TestDataService.ts:836:41)
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/TestDataService/TestDataService.spec.ts:114:49
|
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service:
src/services/TestDataService.ts#L836
3) [chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ───────────────────────
TypeError: this.getBasicCustomerGroupStruct is not a function
at ../src/services/TestDataService.ts:836
834 | async createCustomerGroup(overrides: Partial<CustomerGroup> = {}): Promise<CustomerGroup> {
835 |
> 836 | const basicCustomerGroup = this.getBasicCustomerGroupStruct(overrides);
| ^
837 |
838 | const response = await this.AdminApiClient.post('customer-group?_response=detail', {
839 | data: basicCustomerGroup,
at TestDataService.createCustomerGroup (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/services/TestDataService.ts:836:41)
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/TestDataService/TestDataService.spec.ts:114:49
|
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service:
src/services/TestDataService.ts#L836
4) [chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ───────────────────────
TypeError: this.getBasicCustomerGroupStruct is not a function
at ../src/services/TestDataService.ts:836
834 | async createCustomerGroup(overrides: Partial<CustomerGroup> = {}): Promise<CustomerGroup> {
835 |
> 836 | const basicCustomerGroup = this.getBasicCustomerGroupStruct(overrides);
| ^
837 |
838 | const response = await this.AdminApiClient.post('customer-group?_response=detail', {
839 | data: basicCustomerGroup,
at TestDataService.createCustomerGroup (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/services/TestDataService.ts:836:41)
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/TestDataService/TestDataService.spec.ts:114:49
|
test (shopware, http://localhost:8011)
Process completed with exit code 1.
|
Validate all commits
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
🎭 Playwright Run Summary
4 failed
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ────────────────────────
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ────────────────────────
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ────────────────────────
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ────────────────────────
4 skipped
32 passed (3.8m)
|
🎭 Playwright Run Summary
4 failed
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ────────────────────────
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ────────────────────────
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ────────────────────────
[chromium] › TestDataService/TestDataService.spec.ts:3:1 › Data Service ────────────────────────
4 skipped
32 passed (4.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-shopware
Expired
|
44.9 MB |
|
playwright-report-shopware-65
Expired
|
41.1 MB |
|