PHPStan のエラー修正 #585
Annotations
2 errors and 1 notice
Run to E2E testing:
e2e-tests/test/admin/total/total.test.ts#L42
1) [chromium] › test/admin/total/total.test.ts:36:9 › 売上集計画面を確認をします › 期間別集計の確認をします › 日付の初期値を確認します
Error: expect(received).toBe(expected) // Object.is equality
Expected: "17"
Received: "18"
40 | expect(await page.inputValue('select[name=search_startyear]')).toBe(String(current.getFullYear()));
41 | expect(await page.inputValue('select[name=search_startmonth]')).toBe(String(current.getMonth() + 1));
> 42 | expect(await page.inputValue('select[name=search_startday]')).toBe(String(current.getDate()));
| ^
43 | expect(await page.inputValue('select[name=search_endyear]')).toBe(String(current.getFullYear()));
44 | expect(await page.inputValue('select[name=search_endmonth]')).toBe(String(current.getMonth() + 1));
45 | expect(await page.inputValue('select[name=search_endday]')).toBe(String(current.getDate()));
at /home/runner/work/ec-cube2/ec-cube2/e2e-tests/test/admin/total/total.test.ts:42:69
|
Run to E2E testing
Process completed with exit code 1.
|
Run to E2E testing
1 failed
[chromium] › test/admin/total/total.test.ts:36:9 › 売上集計画面を確認をします › 期間別集計の確認をします › 日付の初期値を確認します =
31 skipped
26 passed (34s)
|
The logs for this run have expired and are no longer available.
Loading