Skip to content

StringCalculatorPage autogenerates app element IDs #126

StringCalculatorPage autogenerates app element IDs

StringCalculatorPage autogenerates app element IDs #126

GitHub Actions / Test Results succeeded Dec 17, 2023 in 1s

Test Results ✅

Tests passed successfully

Report Passed Failed Skipped Time
strcalc/build/test-results/test-frontend-browser/TESTS-TestSuites.xml 7✅ 10s
strcalc/build/test-results/test-frontend/TESTS-TestSuites.xml 7✅ 1s
strcalc/build/test-results/test-large/TESTS-TestSuites.xml 1✅ 967ms
strcalc/build/test-results/test-medium-coverage/TESTS-TestSuites.xml 3✅ 2s
strcalc/build/test-results/test-medium/TESTS-TestSuites.xml 2✅ 3s
strcalc/build/test-results/test/TESTS-TestSuites.xml 1✅ 27ms

✅ strcalc/build/test-results/test-frontend-browser/TESTS-TestSuites.xml

7 tests were completed in 10s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
components/init.test.js 1✅ 9ms
components/request.test.js 5✅ 64ms
main.test.js 1✅ 665ms

✅ components/init.test.js

✅ initial state after calling initApp > contains the "Hello, World!" placeholder

✅ components/request.test.js

✅ Request > post > succeeds
✅ Request > post > rejects with an error if the response contains "error"
✅ Request > post > rejects with an error if the response status is not OK
✅ Request > post > rejects with default status text if no response body
✅ Request > postForm > succeeds

✅ main.test.js

✅ String Calculator UI on initial page load > contains the "Hello, World!" placeholder

✅ strcalc/build/test-results/test-frontend/TESTS-TestSuites.xml

7 tests were completed in 1s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
components/init.test.js 1✅ 38ms
components/request.test.js 5✅ 42ms
main.test.js 1✅ 719ms

✅ components/init.test.js

✅ initial state after calling initApp > contains the "Hello, World!" placeholder

✅ components/request.test.js

✅ Request > post > succeeds
✅ Request > post > rejects with an error if the response contains "error"
✅ Request > post > rejects with an error if the response status is not OK
✅ Request > post > rejects with default status text if no response body
✅ Request > postForm > succeeds

✅ main.test.js

✅ String Calculator UI on initial page load > contains the "Hello, World!" placeholder

✅ strcalc/build/test-results/test-large/TESTS-TestSuites.xml

1 tests were completed in 967ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
WebApplicationTest 1✅ 967ms

✅ WebApplicationTest

com.mike_bland.training.testing.stringcalculator.WebApplicationTest
  ✅ testPlaceholder()

✅ strcalc/build/test-results/test-medium-coverage/TESTS-TestSuites.xml

3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ServletContractTest 3✅ 2s

✅ ServletContractTest

com.mike_bland.training.testing.stringcalculator.ServletContractTest
  ✅ getAddEndpointReturnsPlaceholderString()
  ✅ addRequestSuccess()
  ✅ addRequestError()

✅ strcalc/build/test-results/test-medium/TESTS-TestSuites.xml

2 tests were completed in 3s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ServletContractTest 2✅ 3s

✅ ServletContractTest

com.mike_bland.training.testing.stringcalculator.ServletContractTest
  ✅ productionImplementationTemporarilyReturnsError()
  ✅ servesLandingPage()

✅ strcalc/build/test-results/test/TESTS-TestSuites.xml

1 tests were completed in 27ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TemporaryStringCalculatorTest 1✅ 27ms

✅ TemporaryStringCalculatorTest

com.mike_bland.training.testing.stringcalculator.TemporaryStringCalculatorTest
  ✅ alwaysThrows()