PHPStan のエラー修正 #585
Annotations
4 errors and 1 notice
Run to E2E testing:
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
|
Run to E2E testing:
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
|
Run to E2E testing:
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 to E2E testing
Process completed with exit code 1.
|
Run to E2E testing
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)
|
The logs for this run have expired and are no longer available.
Loading