Corrected unescaped quotes. Fixes this issue https://github.com/Angle… #118
GitHub Actions / Generate Mocha Tests results
succeeded
Apr 19, 2024 in 0s
29 passed, 0 failed and 0 skipped
✅ modified-results.json
29 tests were completed in 550ms with 29 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/build.tests.js | 6✅ | 81ms | ||
test/environment.tests.js | 6✅ | 19ms | ||
test/execution.tests.js | 2✅ | 9ms | ||
test/phase.tests.js | 5✅ | 16ms | ||
test/screenshot.tests.js | 1✅ | 291ms | ||
test/team.tests.js | 9✅ | 28ms |
✅ test/build.tests.js
Build API Tests GET /builds for a team
✅ respond with json containing a list of all builds for the team
Build API Tests POST /build
✅ successfully create build with valid details
Build API Tests POST /build - negative tests
✅ respond with 404 when trying to create a build with non-existent environment
✅ respond with 404 when trying to create a build with non-existent team
✅ respond with 404 when trying to create a build with non-existent test phase
✅ respond with 422 when trying to create a build with empty body
✅ test/environment.tests.js
Environment API Tests GET /environment
✅ respond with json containing a list of all environments
Environment API Tests POST /environment
✅ respond with 201 when creating a valid environment
Environment API Tests POST /environment - negative tests
✅ respond with 409 when trying to create an environment that already exists
✅ respond with 422 when trying to create an environment with a very long name
✅ respond with 422 when trying to create an environment with empty body
✅ respond with 422 when trying to create an environment with spaces in the name
✅ test/execution.tests.js
Execution API Tests GET /execution for a specific build
✅ respond with json containing a list of all executions
Execution API Tests POST /execution - negative tests
✅ respond with 422 when trying to create a test execution with a invalid buildId
✅ test/phase.tests.js
Phase API Tests GET /phase
✅ respond with json containing a list of all phases
Phase API Tests POST /phase
✅ respond with 201 when creating a valid phase
Phase API Tests POST /phase - negative tests
✅ respond with 409 when trying to create an phase that already exists
✅ respond with 422 when trying to create an phase with a very long name
✅ respond with 422 when trying to create an phase with empty body
✅ test/screenshot.tests.js
Screenshot API Tests POST /screenshot
✅ successfully create store a screenshot
✅ test/team.tests.js
Team API Tests GET /team
✅ respond with json containing a list of all teams
Team API Tests POST /team
✅ respond with 201 when adding a component to an existing team
✅ respond with 201 when creating a valid team
Team API Tests POST /team - negative tests
✅ respond with 409 when trying to create an team that already exists
✅ respond with 422 when adding an invalid component to an existing team
✅ respond with 422 when trying to create a team with a very long name
✅ respond with 422 when trying to create a team with an spaces in name
✅ respond with 422 when trying to create a team with empty body
✅ respond with 422 when trying to create a team with no components
Loading