feat: added gh workflow for testing bru cli from npm #135
GitHub Actions / Test Report
succeeded
Feb 13, 2024 in 1s
44 passed, 0 failed and 0 skipped
✅ packages/bruno-tests/collection/junit.xml
44 tests were completed in 21s with 44 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
auth/basic/via auth/Basic Auth 200 | 2✅ | 880ms | ||
auth/basic/via auth/Basic Auth 401 | 2✅ | 298ms | ||
auth/basic/via script/Basic Auth 200 | 2✅ | 854ms | ||
auth/basic/via script/Basic Auth 401 | 2✅ | 821ms | ||
auth/bearer/via auth/Bearer Auth 200 | 2✅ | 810ms | ||
auth/bearer/via auth/Bearer Auth 401 | 2✅ | 819ms | ||
auth/bearer/via headers/Bearer Auth 200 | 2✅ | 814ms | ||
auth/bearer/via headers/Bearer Auth 401 | 2✅ | 841ms | ||
auth/cookie/Check | 840ms | |||
auth/cookie/Login | 808ms | |||
echo/echo json | 2✅ | 828ms | ||
echo/echo plaintext | 2✅ | 820ms | ||
echo/echo xml parsed | 2✅ | 818ms | ||
echo/echo xml raw | 809ms | |||
ping | 2✅ | 820ms | ||
preview/html/bruno | 2✅ | 206ms | ||
preview/image/bruno | 1✅ | 133ms | ||
redirects/Disable Redirect | 2✅ | 818ms | ||
redirects/Test Redirect | 3✅ | 2s | ||
scripting/local modules/sum | 2✅ | 849ms | ||
scripting/npm modules/fakerjs | 2✅ | 2s | ||
string interpolation/env vars | 2✅ | 818ms | ||
string interpolation/missing values | 2✅ | 819ms | ||
string interpolation/process env vars | 2✅ | 816ms | ||
string interpolation/runtime vars | 2✅ | 842ms |
✅ 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
✅ 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
Loading