Skip to content

Penetration testing for EC-CUBE #195

Penetration testing for EC-CUBE

Penetration testing for EC-CUBE #195

Triggered via schedule November 25, 2024 15:01
Status Failure
Total duration 6m 29s
Artifacts 8

penetration-tests.yml

on: schedule
Matrix: Penetration testing
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 4 warnings, and 7 notices
[chromium] › test/front_login/cart/cart_delete.test.ts:36:9 › カートページのテストをします › カート削除のテストを実行します[POST] @attack › 履歴を取得します: e2e-tests/test/front_login/cart/cart_delete.test.ts#L45
1) [chromium] › test/front_login/cart/cart_delete.test.ts:36:9 › カートページのテストをします › カート削除のテストを実行します[POST] @attack › 履歴を取得します Error: expect(received).toContain(expected) // indexOf Expected substring: "mode=delete" Received string: "" 43 | 44 | // アクティブスキャンを実行します > 45 | expect(message?.requestBody).toContain('mode=delete'); | ^ 46 | scanId = await zapClient.activeScanAsUser(url, 2, 110, false, null, 'POST', message?.requestBody); 47 | await intervalRepeater(async () => await zapClient.getActiveScanStatus(scanId), 5000, page); 48 | at /home/runner/work/ec-cube2/ec-cube2/e2e-tests/test/front_login/cart/cart_delete.test.ts:45:36
Penetration testing (test/front_login/cart/cart_delete.test.ts)
Process completed with exit code 1.
[chromium] › test/front_login/cart/cart.test.ts:22:9 › カートページのテストをします › テストを実行します[GET] @attack › アクティブスキャンを実行します: e2e-tests/test/front_login/cart/cart.test.ts#L1
1) [chromium] › test/front_login/cart/cart.test.ts:22:9 › カートページのテストをします › テストを実行します[GET] @attack › アクティブスキャンを実行します StatusCodeError: 400 - {"code":"url_not_found","message":"URLが見つかりません"} at StatusCodeError (/home/runner/work/ec-cube2/ec-cube2/node_modules/request-promise-core/lib/errors.js:32:15) at Request.plumbing.callback (/home/runner/work/ec-cube2/ec-cube2/node_modules/request-promise-core/lib/plumbing.js:104:33) at Request.RP$callback (/home/runner/work/ec-cube2/ec-cube2/node_modules/request-promise-core/lib/plumbing.js:46:31) at Request.self.callback (/home/runner/work/ec-cube2/ec-cube2/node_modules/request/request.js:185:22) at Request.<anonymous> (/home/runner/work/ec-cube2/ec-cube2/node_modules/request/request.js:1154:10) at IncomingMessage.<anonymous> (/home/runner/work/ec-cube2/ec-cube2/node_modules/request/request.js:1076:12)
Penetration testing (test/front_login/cart/cart.test.ts)
Process completed with exit code 1.
Penetration testing (test/front_login/cart/cart.test.ts)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Penetration testing (test/front_login/contact.test.ts)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[chromium] › test/front_login/contact.test.ts:27:9 › お問い合わせページのテストをします › テストを実行します[GET] @attack › アクティブスキャンを実行します: e2e-tests/pages/contact.page.ts#L32
1) [chromium] › test/front_login/contact.test.ts:27:9 › お問い合わせページのテストをします › テストを実行します[GET] @attack › アクティブスキャンを実行します TypeError: Cannot read properties of undefined (reading 'locator') at pages/contact.page.ts:32 30 | this.page = page; 31 | this.url = `${ PlaywrightConfig.use?.baseURL ?? "" }/contact/index.php`; > 32 | this.confirmButton = page.locator('input[name=confirm][alt=確認ページへ]'); | ^ 33 | this.submitButton = page.locator('input[name=send][alt=送信]'); 34 | this.name01 = page.locator('input[name=name01]'); 35 | this.name02 = page.locator('input[name=name02]'); at ContactPage (/home/runner/work/ec-cube2/ec-cube2/e2e-tests/pages/contact.page.ts:32:31) at /home/runner/work/ec-cube2/ec-cube2/e2e-tests/test/front_login/contact.test.ts:28:27
Penetration testing (test/front_login/contact.test.ts)
Process completed with exit code 1.
Slow Test: [chromium] › test/front_login/shopping/shopping_complete.test.ts#L1
[chromium] › test/front_login/shopping/shopping_complete.test.ts took 57.3s
Slow Test: [chromium] › test/front_login/shopping/shopping_confirm.test.ts#L1
[chromium] › test/front_login/shopping/shopping_confirm.test.ts took 1.7m
Slow Test: [chromium] › test/front_login/shopping/shopping_deliv.test.ts#L1
[chromium] › test/front_login/shopping/shopping_deliv.test.ts took 2.6m
Slow Test: [chromium] › test/front_login/shopping/shopping_payment.test.ts#L1
[chromium] › test/front_login/shopping/shopping_payment.test.ts took 4.1m
🎭 Playwright Run Summary
1 failed [chromium] › test/front_login/cart/cart_delete.test.ts:36:9 › カートページのテストをします › カート削除のテストを実行します[POST] @attack › 履歴を取得します 1 passed (9.1s)
🎭 Playwright Run Summary
1 failed [chromium] › test/front_login/cart/cart.test.ts:22:9 › カートページのテストをします › テストを実行します[GET] @attack › アクティブスキャンを実行します 4 did not run 1 passed (8.7s)
🎭 Playwright Run Summary
1 failed [chromium] › test/front_login/contact.test.ts:27:9 › お問い合わせページのテストをします › テストを実行します[GET] @attack › アクティブスキャンを実行します 5 did not run 1 passed (3.6s)
🎭 Playwright Run Summary
2 passed (58.7s)
🎭 Playwright Run Summary
4 passed (1.7m)
🎭 Playwright Run Summary
4 passed (2.6m)
🎭 Playwright Run Summary
4 passed (4.1m)

Artifacts

Produced during runtime
Name Size
linux-php--logs
2.18 KB
zap-test_front_login_cart_cart.test.ts-session
421 KB
zap-test_front_login_cart_cart_delete.test.ts-session
415 KB
zap-test_front_login_contact.test.ts-session
145 KB
zap-test_front_login_shopping_shopping_complete.test.ts-session
1.68 MB
zap-test_front_login_shopping_shopping_confirm.test.ts-session
997 KB
zap-test_front_login_shopping_shopping_deliv.test.ts-session
1.89 MB
zap-test_front_login_shopping_shopping_payment.test.ts-session
4.78 MB