PHPStan のエラー修正 #585
e2e-tests.yml
on: pull_request
Matrix: Installer test
Matrix: Run on Linux
Annotations
6 errors and 30 notices
[chromium] › test/admin/total/total.test.ts:36:9 › 売上集計画面を確認をします › 期間別集計の確認をします › 日付の初期値を確認します:
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 on Linux (test:e2e, test/admin)
Process completed with exit code 1.
|
[chromium] › test/front_login/shopping/shopping_confirm.test.ts:17:7 › ご注文確認画面のテストをします › ご注文確認画面へ遷移します:
e2e-tests/test/front_login/shopping/shopping_confirm.test.ts#L18
1) [chromium] › test/front_login/shopping/shopping_confirm.test.ts:17:7 › ご注文確認画面のテストをします › ご注文確認画面へ遷移します
Error: expect(received).toContainText(expected)
Expected string: "入力内容のご確認"
Received string: "お支払方法・お届け時間等の指定"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('h2.title')
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- waiting for locator('h2.title')
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
16 |
17 | test('ご注文確認画面へ遷移します', async ({ page }) => {
> 18 | await expect(page.locator('h2.title')).toContainText('入力内容のご確認');
| ^
19 | await expect(page).toHaveURL(/confirm\.php/);
20 | });
21 |
at /home/runner/work/ec-cube2/ec-cube2/e2e-tests/test/front_login/shopping/shopping_confirm.test.ts:18:44
|
[chromium] › test/front_login/shopping/shopping_payment.test.ts:37:7 › お支払方法・お届け時間等の指定画面のテストをします › 注文確認画面へ遷移します:
e2e-tests/test/front_login/shopping/shopping_payment.test.ts#L42
2) [chromium] › test/front_login/shopping/shopping_payment.test.ts:37:7 › お支払方法・お届け時間等の指定画面のテストをします › 注文確認画面へ遷移します
Error: expect(received).toContainText(expected)
Expected string: "入力内容のご確認"
Received string: "お支払方法・お届け時間等の指定"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('h2.title')
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- waiting for locator('h2.title')
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
40 | await paymentPage.fillOut();
41 | await paymentPage.gotoNext();
> 42 | await expect(page.locator('h2.title')).toContainText('入力内容のご確認');
| ^
43 | });
44 |
45 | /** 最新の transactionid で手動リクエストを送信し, HttpMessage を取得します */
at /home/runner/work/ec-cube2/ec-cube2/e2e-tests/test/front_login/shopping/shopping_payment.test.ts:42:44
|
[chromium] › test/front_login/shopping.test.ts:63:7 › 購入フロー(ログイン)のテストをします › 入力内容の確認をします:
e2e-tests/test/front_login/shopping.test.ts#L64
3) [chromium] › test/front_login/shopping.test.ts:63:7 › 購入フロー(ログイン)のテストをします › 入力内容の確認をします =======
Error: expect(received).toContainText(expected)
Expected string: "入力内容のご確認"
Received string: "お支払方法・お届け時間等の指定"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('h2.title')
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- waiting for locator('h2.title')
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
- locator resolved to <h2 class="title">お支払方法・お届け時間等の指定</h2>
- unexpected value "お支払方法・お届け時間等の指定"
62 |
63 | test('入力内容の確認をします', async () => {
> 64 | await expect(page.locator('h2.title')).toContainText('入力内容のご確認');
| ^
65 | await page.click('[alt=ご注文完了ページへ]');
66 | });
67 |
at /home/runner/work/ec-cube2/ec-cube2/e2e-tests/test/front_login/shopping.test.ts:64:44
|
Run on Linux (test:e2e, test/front_login)
Process completed with exit code 1.
|
🎭 Playwright Run Summary
11 passed (10s)
|
🎭 Playwright Run Summary
1 passed (4s)
|
🎭 Playwright Run Summary
3 passed (17s)
|
🎭 Playwright Run Summary
11 passed (9s)
|
🎭 Playwright Run Summary
11 passed (10s)
|
🎭 Playwright Run Summary
1 failed
[chromium] › test/admin/total/total.test.ts:36:9 › 売上集計画面を確認をします › 期間別集計の確認をします › 日付の初期値を確認します =
31 skipped
26 passed (34s)
|
🎭 Playwright Run Summary
2 passed (7s)
|
🎭 Playwright Run Summary
19 passed (13s)
|
🎭 Playwright Run Summary
11 passed (12s)
|
🎭 Playwright Run Summary
11 passed (11s)
|
🎭 Playwright Run Summary
3 failed
[chromium] › test/front_login/shopping/shopping_confirm.test.ts:17:7 › ご注文確認画面のテストをします › ご注文確認画面へ遷移します
[chromium] › test/front_login/shopping/shopping_payment.test.ts:37:7 › お支払方法・お届け時間等の指定画面のテストをします › 注文確認画面へ遷移します
[chromium] › test/front_login/shopping.test.ts:63:7 › 購入フロー(ログイン)のテストをします › 入力内容の確認をします ========
2 skipped
34 passed (1m)
|
🎭 Playwright Run Summary
11 passed (10s)
|
🎭 Playwright Run Summary
11 passed (11s)
|
🎭 Playwright Run Summary
11 passed (9s)
|
🎭 Playwright Run Summary
11 passed (10s)
|
🎭 Playwright Run Summary
11 passed (9s)
|
🎭 Playwright Run Summary
11 passed (10s)
|
🎭 Playwright Run Summary
11 passed (10s)
|
🎭 Playwright Run Summary
11 passed (9s)
|
🎭 Playwright Run Summary
11 passed (11s)
|
🎭 Playwright Run Summary
11 passed (9s)
|
🎭 Playwright Run Summary
11 passed (8s)
|
🎭 Playwright Run Summary
11 passed (10s)
|
🎭 Playwright Run Summary
11 passed (10s)
|
🎭 Playwright Run Summary
11 passed (11s)
|
🎭 Playwright Run Summary
11 passed (9s)
|
🎭 Playwright Run Summary
11 passed (11s)
|
🎭 Playwright Run Summary
11 passed (9s)
|
🎭 Playwright Run Summary
11 passed (11s)
|
🎭 Playwright Run Summary
11 passed (9s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
linux-php--evidence
Expired
|
2.38 MB |
|
linux-php--logs
Expired
|
9.17 KB |
|