Skip to content

Version bumps for Gradle, Tomcat, Unit, Selenium, Vite, Vitest, Webdriverio, ESLint #200

Version bumps for Gradle, Tomcat, Unit, Selenium, Vite, Vitest, Webdriverio, ESLint

Version bumps for Gradle, Tomcat, Unit, Selenium, Vite, Vitest, Webdriverio, ESLint #200

GitHub Actions / Test Results succeeded Feb 28, 2024 in 0s

40 passed, 0 failed and 1 skipped

Tests passed successfully

Report Passed Failed Skipped Time
strcalc/build/test-results/test-frontend-browser/TESTS-TestSuites.xml 16✅ 1⚪ 18s
strcalc/build/test-results/test-frontend/TESTS-TestSuites.xml 17✅ 2s
strcalc/build/test-results/test-large/TESTS-TestSuites.xml 1✅ 13s
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✅ 29ms

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

17 tests were completed in 18s with 16 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
components/app.test.js 1✅ 3ms
components/calculator.test.js 6✅ 117ms
components/calculators.test.js 3✅ 11ms
components/request.test.js 5✅ 21ms
main.test.js 1✅ 45ms
test/main-missing-app-div.test.js 1⚪ 0ms

✅ components/app.test.js

✅ initial state after calling App.init() > contains the "Hello, World!" title

✅ components/calculator.test.js

✅ Calculator > renders form and result placeholder
✅ Calculator > updates result placeholder with successful result
✅ Calculator > updates result placeholder with error message
✅ Calculator > logs error if missing numbers input element
✅ Calculator > logs error if missing implementation input element
✅ Calculator > logs error if missing result element

✅ components/calculators.test.js

✅ calculators > defaultPost > posts same server by default
✅ calculators > defaultPost > posts to globalThis.STRCALC_BACKEND
✅ calculators > tempCalculator rejects with Error

✅ 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 > postFormData > succeeds

✅ main.test.js

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

✅ test/main-missing-app-div.test.js

⚪ String Calculator UI missing root element > logs error if missing app div

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

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

Test suite Passed Failed Skipped Time
components/app.test.js 1✅ 50ms
components/calculator.test.js 6✅ 189ms
components/calculators.test.js 3✅ 40ms
components/request.test.js 5✅ 18ms
main.test.js 1✅ 648ms
test/main-missing-app-div.test.js 1✅ 540ms

✅ components/app.test.js

✅ initial state after calling App.init() > contains the "Hello, World!" title

✅ components/calculator.test.js

✅ Calculator > renders form and result placeholder
✅ Calculator > updates result placeholder with successful result
✅ Calculator > updates result placeholder with error message
✅ Calculator > logs error if missing numbers input element
✅ Calculator > logs error if missing implementation input element
✅ Calculator > logs error if missing result element

✅ components/calculators.test.js

✅ calculators > defaultPost > posts same server by default
✅ calculators > defaultPost > posts to globalThis.STRCALC_BACKEND
✅ calculators > tempCalculator rejects with Error

✅ 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 > postFormData > succeeds

✅ main.test.js

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

✅ test/main-missing-app-div.test.js

✅ String Calculator UI missing root element > logs error if missing app div

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

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

Test suite Passed Failed Skipped Time
WebApplicationTest 1✅ 13s

✅ WebApplicationTest

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

✅ 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 29ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TemporaryStringCalculatorTest 1✅ 29ms

✅ TemporaryStringCalculatorTest

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