feat(*): Add PHP 8.5 compatibility (#20) #33
sdk-chain-tests.yml
on: push
Matrix: Run Bouncer lib tests / Test suite
Matrix: Run Capi client tests / Unit and integration test
Matrix: Run Lapi client tests / Unit and integration test
Matrix: Run Magento 2 Engine module tests / Test suite
Matrix: Run Remediation Engine tests / Unit and integration test
Matrix: Run Standalone Bouncer tests / Test suite
Annotations
6 errors and 18 notices
|
[chromium] › __tests__/detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban):
__tests__/detect-pages-scan.test.ts#L205
2) [chromium] › __tests__/detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban)
Error: expect(locator).toContainText(expected) failed
Locator: locator('#signals_push_result')
Expected pattern: /0 errors for 1 candidates/
Received string: "0 pushed signals (0 errors for 0 candidates)."
Timeout: 30000ms
Call log:
- Expect "toContainText" with timeout 30000ms
- waiting for locator('#signals_push_result')
34 × locator resolved to <p class="success" id="signals_push_result">0 pushed signals (0 errors for 0 candidates).</p>
- unexpected value "0 pushed signals (0 errors for 0 candidates)."
203 | await adminCrowdSecSecurityConfigPage.navigateTo();
204 | await adminCrowdSecSecurityConfigPage.pushSignals();
> 205 | await expect(page.locator("#signals_push_result")).toContainText(
| ^
206 | /0 errors for 1 candidates/,
207 | ***
208 | timeout: 30000,
at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:205:56
|
|
[chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce):
__tests__/detect-pages-scan.test.ts#L133
1) [chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce)
Error: expect(locator).toContainText(expected) failed
Locator: locator('#signals_push_result')
Expected pattern: /0 errors for 1 candidates/
Received string: "0 pushed signals (0 errors for 0 candidates)."
Timeout: 30000ms
Call log:
- Expect "toContainText" with timeout 30000ms
- waiting for locator('#signals_push_result')
34 × locator resolved to <p class="success" id="signals_push_result">0 pushed signals (0 errors for 0 candidates).</p>
- unexpected value "0 pushed signals (0 errors for 0 candidates)."
131 | await adminCrowdSecSecurityConfigPage.navigateTo();
132 | await adminCrowdSecSecurityConfigPage.pushSignals();
> 133 | await expect(page.locator("#signals_push_result")).toContainText(
| ^
134 | /0 errors for 1 candidates/,
135 | ***
136 | timeout: 30000,
at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:133:56
|
|
[chromium] › __tests__/detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban):
__tests__/detect-pages-scan.test.ts#L205
2) [chromium] › __tests__/detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban)
Error: expect(locator).toContainText(expected) failed
Locator: locator('#signals_push_result')
Expected pattern: /0 errors for 1 candidates/
Received string: "0 pushed signals (0 errors for 0 candidates)."
Timeout: 30000ms
Call log:
- Expect "toContainText" with timeout 30000ms
- waiting for locator('#signals_push_result')
34 × locator resolved to <p class="success" id="signals_push_result">0 pushed signals (0 errors for 0 candidates).</p>
- unexpected value "0 pushed signals (0 errors for 0 candidates)."
203 | await adminCrowdSecSecurityConfigPage.navigateTo();
204 | await adminCrowdSecSecurityConfigPage.pushSignals();
> 205 | await expect(page.locator("#signals_push_result")).toContainText(
| ^
206 | /0 errors for 1 candidates/,
207 | ***
208 | timeout: 30000,
at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:205:56
|
|
[chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce):
__tests__/detect-pages-scan.test.ts#L133
1) [chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce)
Error: expect(locator).toContainText(expected) failed
Locator: locator('#signals_push_result')
Expected pattern: /0 errors for 1 candidates/
Received string: "0 pushed signals (0 errors for 0 candidates)."
Timeout: 30000ms
Call log:
- Expect "toContainText" with timeout 30000ms
- waiting for locator('#signals_push_result')
34 × locator resolved to <p class="success" id="signals_push_result">0 pushed signals (0 errors for 0 candidates).</p>
- unexpected value "0 pushed signals (0 errors for 0 candidates)."
131 | await adminCrowdSecSecurityConfigPage.navigateTo();
132 | await adminCrowdSecSecurityConfigPage.pushSignals();
> 133 | await expect(page.locator("#signals_push_result")).toContainText(
| ^
134 | /0 errors for 1 candidates/,
135 | ***
136 | timeout: 30000,
at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:133:56
|
|
[chromium] › __tests__/detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban):
__tests__/detect-pages-scan.test.ts#L205
2) [chromium] › __tests__/detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban)
Error: expect(locator).toContainText(expected) failed
Locator: locator('#signals_push_result')
Expected pattern: /0 errors for 1 candidates/
Received string: "0 pushed signals (0 errors for 0 candidates)."
Timeout: 30000ms
Call log:
- Expect "toContainText" with timeout 30000ms
- waiting for locator('#signals_push_result')
34 × locator resolved to <p class="success" id="signals_push_result">0 pushed signals (0 errors for 0 candidates).</p>
- unexpected value "0 pushed signals (0 errors for 0 candidates)."
203 | await adminCrowdSecSecurityConfigPage.navigateTo();
204 | await adminCrowdSecSecurityConfigPage.pushSignals();
> 205 | await expect(page.locator("#signals_push_result")).toContainText(
| ^
206 | /0 errors for 1 candidates/,
207 | ***
208 | timeout: 30000,
at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:205:56
|
|
[chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce):
__tests__/detect-pages-scan.test.ts#L133
1) [chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce)
Error: expect(locator).toContainText(expected) failed
Locator: locator('#signals_push_result')
Expected pattern: /0 errors for 1 candidates/
Received string: "0 pushed signals (0 errors for 0 candidates)."
Timeout: 30000ms
Call log:
- Expect "toContainText" with timeout 30000ms
- waiting for locator('#signals_push_result')
34 × locator resolved to <p class="success" id="signals_push_result">0 pushed signals (0 errors for 0 candidates).</p>
- unexpected value "0 pushed signals (0 errors for 0 candidates)."
131 | await adminCrowdSecSecurityConfigPage.navigateTo();
132 | await adminCrowdSecSecurityConfigPage.pushSignals();
> 133 | await expect(page.locator("#signals_push_result")).toContainText(
| ^
134 | /0 errors for 1 candidates/,
135 | ***
136 | timeout: 30000,
at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:133:56
|
|
🎭 Playwright Run Summary
7 passed (55.9s)
|
|
🎭 Playwright Run Summary
7 passed (28.0s)
|
|
🎭 Playwright Run Summary
6 passed (11.9s)
|
|
🎭 Playwright Run Summary
3 passed (18.9s)
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce)
[chromium] › __tests__/detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban)
3 passed (1.7m)
|
|
🎭 Playwright Run Summary
5 passed (25.1s)
|
|
🎭 Playwright Run Summary
7 passed (1.1m)
|
|
🎭 Playwright Run Summary
7 passed (28.1s)
|
|
🎭 Playwright Run Summary
6 passed (11.5s)
|
|
🎭 Playwright Run Summary
3 passed (17.7s)
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce)
[chromium] › __tests__/detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban)
3 passed (1.8m)
|
|
🎭 Playwright Run Summary
7 passed (1.1m)
|
|
🎭 Playwright Run Summary
7 passed (27.0s)
|
|
🎭 Playwright Run Summary
5 passed (25.3s)
|
|
🎭 Playwright Run Summary
6 passed (11.3s)
|
|
🎭 Playwright Run Summary
3 passed (16.7s)
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce)
[chromium] › __tests__/detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban)
3 passed (1.8m)
|
|
🎭 Playwright Run Summary
5 passed (24.1s)
|