Skip to content

chore: fix tests

chore: fix tests #220

GitHub Actions / Test Report failed Feb 26, 2024 in 1s

42 passed, 4 failed and 0 skipped

Tests failed

❌ packages/bruno-tests/collection/junit.xml

46 tests were completed in 23s with 42 passed, 4 failed and 0 skipped.

Test suite Passed Failed Skipped Time
auth/basic/via auth/Basic Auth 200 2✅ 965ms
auth/basic/via auth/Basic Auth 401 2✅ 842ms
auth/basic/via script/Basic Auth 200 2✅ 902ms
auth/basic/via script/Basic Auth 401 2✅ 855ms
auth/bearer/via auth/Bearer Auth 200 2✅ 852ms
auth/bearer/via auth/Bearer Auth 401 2❌ 832ms
auth/bearer/via headers/Bearer Auth 200 2✅ 301ms
auth/bearer/via headers/Bearer Auth 401 2❌ 845ms
auth/cookie/Check 856ms
auth/cookie/Login 843ms
auth/inherit auth/inherit Bearer Auth 200 2✅ 875ms
echo/echo json 2✅ 885ms
echo/echo plaintext 2✅ 899ms
echo/echo xml parsed 2✅ 860ms
echo/echo xml raw 873ms
ping 2✅ 813ms
preview/html/bruno 2✅ 176ms
preview/image/bruno 1✅ 224ms
redirects/Disable Redirect 2✅ 825ms
redirects/Test Redirect 3✅ 2s
scripting/local modules/sum 2✅ 891ms
scripting/npm modules/fakerjs 2✅ 2s
string interpolation/env vars 2✅ 840ms
string interpolation/missing values 2✅ 857ms
string interpolation/process env vars 2✅ 870ms
string interpolation/runtime vars 2✅ 825ms

✅ auth/basic/via auth/Basic Auth 200

https://testbench-sanity.usebruno.com/api/auth/basic/protected
  ✅ res.status 200
  ✅ res.body.message Authentication successful

✅ auth/basic/via auth/Basic Auth 401

https://testbench-sanity.usebruno.com/api/auth/basic/protected
  ✅ res.status 401
  ✅ res.body Unauthorized

✅ auth/basic/via script/Basic Auth 200

https://testbench-sanity.usebruno.com/api/auth/basic/protected
  ✅ res.status eq 200
  ✅ res.body.message Authentication successful

✅ auth/basic/via script/Basic Auth 401

https://testbench-sanity.usebruno.com/api/auth/basic/protected
  ✅ res.status 401
  ✅ res.body Unauthorized

✅ auth/bearer/via auth/Bearer Auth 200

https://testbench-sanity.usebruno.com/api/auth/bearer/protected
  ✅ res.status 200
  ✅ res.body.message Authentication successful

❌ auth/bearer/via auth/Bearer Auth 401

https://testbench-sanity.usebruno.com/api/auth/bearer/protected
  ❌ res.status 401
  ❌ res.body.message Unauthorized

✅ auth/bearer/via headers/Bearer Auth 200

https://testbench-sanity.usebruno.com/api/auth/bearer/protected
  ✅ res.status 200
  ✅ res.body.message Authentication successful

❌ auth/bearer/via headers/Bearer Auth 401

https://testbench-sanity.usebruno.com/api/auth/bearer/protected
  ❌ res.status 401
  ❌ res.body.message Unauthorized

✅ auth/inherit auth/inherit Bearer Auth 200

https://testbench-sanity.usebruno.com/api/auth/bearer/protected
  ✅ res.status 200
  ✅ res.body.message Authentication successful

✅ echo/echo json

https://testbench-sanity.usebruno.com/api/echo/json
  ✅ res.status eq 200
  ✅ should return json

✅ echo/echo plaintext

https://testbench-sanity.usebruno.com/api/echo/text
  ✅ res.status eq 200
  ✅ should return plain text

✅ echo/echo xml parsed

https://testbench-sanity.usebruno.com/api/echo/xml-parsed
  ✅ res.status eq 200
  ✅ should return parsed xml

✅ ping

https://testbench-sanity.usebruno.com/ping
  ✅ res.status eq 200
  ✅ should ping pong

✅ preview/html/bruno

https://www.usebruno.com
  ✅ res.status eq 200
  ✅ should return parsed xml

✅ preview/image/bruno

https://www.usebruno.com/images/landing-2.png
  ✅ should return parsed xml

✅ redirects/Disable Redirect

https://testbench-sanity.usebruno.com/redirect-to-ping
  ✅ res.status 302
  ✅ should disable redirect to ping

✅ redirects/Test Redirect

https://testbench-sanity.usebruno.com/redirect-to-ping
  ✅ res.status 200
  ✅ res.body pong
  ✅ should redirect to ping

✅ scripting/local modules/sum

https://testbench-sanity.usebruno.com/api/echo/json
  ✅ res.status eq 200
  ✅ should return json

✅ scripting/npm modules/fakerjs

https://testbench-sanity.usebruno.com/api/echo/json
  ✅ res.status eq 200
  ✅ should return json

✅ string interpolation/env vars

https://testbench-sanity.usebruno.com/api/echo/json
  ✅ res.status eq 200
  ✅ should return json

✅ string interpolation/missing values

https://testbench-sanity.usebruno.com/api/echo/json?foo={{undefinedVar}}
  ✅ res.status eq 200
  ✅ should return json

✅ string interpolation/process env vars

https://testbench-sanity.usebruno.com/api/echo/json
  ✅ res.status eq 200
  ✅ should return json

✅ string interpolation/runtime vars

https://testbench-sanity.usebruno.com/api/echo/text
  ✅ res.status eq 200
  ✅ should return json

Annotations

Check failure on line 0 in packages/bruno-tests/collection/junit.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

auth/bearer/via auth/Bearer Auth 401 ► https://testbench-sanity.usebruno.com/api/auth/bearer/protected ► res.status 401

Failed test found in:
  packages/bruno-tests/collection/junit.xml
Error:
  Test failed

Check failure on line 0 in packages/bruno-tests/collection/junit.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

auth/bearer/via auth/Bearer Auth 401 ► https://testbench-sanity.usebruno.com/api/auth/bearer/protected ► res.body.message Unauthorized

Failed test found in:
  packages/bruno-tests/collection/junit.xml
Error:
  Test failed

Check failure on line 0 in packages/bruno-tests/collection/junit.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

auth/bearer/via headers/Bearer Auth 401 ► https://testbench-sanity.usebruno.com/api/auth/bearer/protected ► res.status 401

Failed test found in:
  packages/bruno-tests/collection/junit.xml
Error:
  Test failed

Check failure on line 0 in packages/bruno-tests/collection/junit.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

auth/bearer/via headers/Bearer Auth 401 ► https://testbench-sanity.usebruno.com/api/auth/bearer/protected ► res.body.message Unauthorized

Failed test found in:
  packages/bruno-tests/collection/junit.xml
Error:
  Test failed