[TEST] fix: test frameAncestors scp #1148
Annotations
4 errors, 1 warning, and 1 notice
Run tests on preview stand:
test/smoke.spec.ts#L22
1) [api] › smoke.spec.ts:16:5 › Smoke GET › /api/oneinch-rate?token=ETH ──────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected value: 400
Received array: [200, 299, 410]
20 |
21 | if (element.isDeprecated) {
> 22 | expect([200, 299, 410]).toContain(resp.status());
| ^
23 | if (resp.status() === 299) {
24 | expect(resp.headers()).toHaveProperty('warning');
25 | expect(resp.headers()).toHaveProperty('deprecation');
at /home/runner/work/ethereum-staking-widget/ethereum-staking-widget/test/smoke.spec.ts:22:33
|
Run tests on preview stand:
test/smoke.spec.ts#L22
1) [api] › smoke.spec.ts:16:5 › Smoke GET › /api/oneinch-rate?token=ETH ──────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected value: 400
Received array: [200, 299, 410]
20 |
21 | if (element.isDeprecated) {
> 22 | expect([200, 299, 410]).toContain(resp.status());
| ^
23 | if (resp.status() === 299) {
24 | expect(resp.headers()).toHaveProperty('warning');
25 | expect(resp.headers()).toHaveProperty('deprecation');
at /home/runner/work/ethereum-staking-widget/ethereum-staking-widget/test/smoke.spec.ts:22:33
|
Run tests on preview stand:
test/smoke.spec.ts#L22
1) [api] › smoke.spec.ts:16:5 › Smoke GET › /api/oneinch-rate?token=ETH ──────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected value: 400
Received array: [200, 299, 410]
20 |
21 | if (element.isDeprecated) {
> 22 | expect([200, 299, 410]).toContain(resp.status());
| ^
23 | if (resp.status() === 299) {
24 | expect(resp.headers()).toHaveProperty('warning');
25 | expect(resp.headers()).toHaveProperty('deprecation');
at /home/runner/work/ethereum-staking-widget/ethereum-staking-widget/test/smoke.spec.ts:22:33
|
Run tests on preview stand
Process completed with exit code 1.
|
Run actions/upload-artifact@v4
No files were found with the provided path: test/playwright-report/. No artifacts will be uploaded.
|
Run tests on preview stand
1 failed
[api] › smoke.spec.ts:16:5 › Smoke GET › /api/oneinch-rate?token=ETH ───────────────────────────
3 skipped
41 passed (43.3s)
|
Loading