Skip to content

Build improvements #118

Build improvements

Build improvements #118

GitHub Actions / Wiki CI Test Results succeeded May 26, 2024 in 1s

134 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
test_results/node-dev-chrome-e2e.xml 18✅ 67s
test_results/node-dev-firefox-e2e.xml 18✅ 68s
test_results/nodejs-unit-test.xml 47✅ 28s
test_results/rust-dev-chrome-e2e.xml 18✅ 64s
test_results/rust-dev-firefox-e2e.xml 18✅ 65s
test_results/rust-unit.xml 15✅ 1s

✅ test_results/node-dev-chrome-e2e.xml

18 tests were completed in 67s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Root Suite 0ms
UI e2e tests 18✅ 67s

✅ UI e2e tests

Views subject list
  ✅ UI e2e tests Views subject list
Edits existing subject from homepage [signIn]
  ✅ UI e2e tests Edits existing subject from homepage [signIn]
Edits existing subject from homepage [signUp]
  ✅ UI e2e tests Edits existing subject from homepage [signUp]
Creates new subject from homepage [signIn]
  ✅ UI e2e tests Creates new subject from homepage [signIn]
Creates new subject from homepage [signUp]
  ✅ UI e2e tests Creates new subject from homepage [signUp]
Creates existing subject directly [signed Out]
  ✅ UI e2e tests Creates existing subject directly [signed Out]
Creates existing subject directly [signed In]
  ✅ UI e2e tests Creates existing subject directly [signed In]
Creates existing subject directly [signed Up]
  ✅ UI e2e tests Creates existing subject directly [signed Up]
Creates new subject directly [signIn]
  ✅ UI e2e tests Creates new subject directly [signIn]
Creates new subject directly [signUp]
  ✅ UI e2e tests Creates new subject directly [signUp]
Creates existing subject from homepage [signIn]
  ✅ UI e2e tests Creates existing subject from homepage [signIn]
Creates existing subject from homepage [signUp]
  ✅ UI e2e tests Creates existing subject from homepage [signUp]
Reload preserves sign in state [signIn]
  ✅ UI e2e tests Reload preserves sign in state [signIn]
Reload preserves sign in state [signUp]
  ✅ UI e2e tests Reload preserves sign in state [signUp]
Is signed out after reload after expiration [signIn]
  ✅ UI e2e tests Is signed out after reload after expiration [signIn]
Is signed out after reload after expiration [signUp]
  ✅ UI e2e tests Is signed out after reload after expiration [signUp]
Is signed out after save after expiration [signIn]
  ✅ UI e2e tests Is signed out after save after expiration [signIn]
Is signed out after save after expiration [signUp]
  ✅ UI e2e tests Is signed out after save after expiration [signUp]

✅ test_results/node-dev-firefox-e2e.xml

18 tests were completed in 68s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Root Suite 0ms
UI e2e tests 18✅ 68s

✅ UI e2e tests

Views subject list
  ✅ UI e2e tests Views subject list
Edits existing subject from homepage [signIn]
  ✅ UI e2e tests Edits existing subject from homepage [signIn]
Edits existing subject from homepage [signUp]
  ✅ UI e2e tests Edits existing subject from homepage [signUp]
Creates new subject from homepage [signIn]
  ✅ UI e2e tests Creates new subject from homepage [signIn]
Creates new subject from homepage [signUp]
  ✅ UI e2e tests Creates new subject from homepage [signUp]
Creates existing subject directly [signed Out]
  ✅ UI e2e tests Creates existing subject directly [signed Out]
Creates existing subject directly [signed In]
  ✅ UI e2e tests Creates existing subject directly [signed In]
Creates existing subject directly [signed Up]
  ✅ UI e2e tests Creates existing subject directly [signed Up]
Creates new subject directly [signIn]
  ✅ UI e2e tests Creates new subject directly [signIn]
Creates new subject directly [signUp]
  ✅ UI e2e tests Creates new subject directly [signUp]
Creates existing subject from homepage [signIn]
  ✅ UI e2e tests Creates existing subject from homepage [signIn]
Creates existing subject from homepage [signUp]
  ✅ UI e2e tests Creates existing subject from homepage [signUp]
Reload preserves sign in state [signIn]
  ✅ UI e2e tests Reload preserves sign in state [signIn]
Reload preserves sign in state [signUp]
  ✅ UI e2e tests Reload preserves sign in state [signUp]
Is signed out after reload after expiration [signIn]
  ✅ UI e2e tests Is signed out after reload after expiration [signIn]
Is signed out after reload after expiration [signUp]
  ✅ UI e2e tests Is signed out after reload after expiration [signUp]
Is signed out after save after expiration [signIn]
  ✅ UI e2e tests Is signed out after save after expiration [signIn]
Is signed out after save after expiration [signUp]
  ✅ UI e2e tests Is signed out after save after expiration [signUp]

✅ test_results/nodejs-unit-test.xml

47 tests were completed in 28s with 47 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
List Subjects component 4✅ 3s
Router component 3✅ 1s
router store 7✅ 2s
Subject component 8✅ 5s
subjects store 10✅ 8s
User component 7✅ 5s
user store 7✅ 4s
View Subject component 1✅ 1s

✅ List Subjects component

test
  ✅ creating element updates subjects
  ✅ shows all subjects in links
  ✅ subjects are split into n columns
  ✅ subjects are sorted alphabetically

✅ Router component

test
  ✅ root shows list of subjects
  ✅ wiki/ shows subject
  ✅ navigate to and from subject changes view

✅ router store

test
  ✅ navigate to new place changes location
  ✅ navigate to same place does not change location
  ✅ navigate to bad route changes location to root
  ✅ navigate handler checks for href
  ✅ navigate handler navigates
  ✅ setting route does not change history
  ✅ history pop sets location

✅ Subject component

test
  ✅ subject inits to view and switches to edit and back to view
  ✅ title contains subject name
  ✅ content not found shows error
  ✅ shows fetching before content available
  ✅ new subject shows editor
  ✅ saving new subject adds to store
  ✅ new named subject shows editor and title
  ✅ creating new named subject that exists redirects to existing subject

✅ subjects store

test
  ✅ update list emits event
  ✅ list after update returns array
  ✅ update content emits event
  ✅ content after update returns non-empty string
  ✅ not found content rejects promise
  ✅ get returns mutable reference
  ✅ pushing nonexistent subject fails
  ✅ pushing new content sets synced
  ✅ creating subject that already exists fails
  ✅ creating new subject allows retrieval

✅ User component

test
  ✅ signed out shows signed out component
  ✅ signed in shows signed in component
  ✅ signed up shows signed in component
  ✅ sign in and up with invalid password fails
  ✅ sign in with invalid password shows error
  ✅ sign up with invalid password shows error
  ✅ sign in and out modifies component

✅ user store

test
  ✅ sign out before signed in
  ✅ sign in and out
  ✅ sign up and out
  ✅ sign in with bad password fails
  ✅ sign up new user
  ✅ sign up with invalid password fails
  ✅ sign up existing user fails

✅ View Subject component

test
  ✅ content is not empty if subject not empty

✅ test_results/rust-dev-chrome-e2e.xml

18 tests were completed in 64s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Root Suite 0ms
UI e2e tests 18✅ 64s

✅ UI e2e tests

Views subject list
  ✅ UI e2e tests Views subject list
Edits existing subject from homepage [signIn]
  ✅ UI e2e tests Edits existing subject from homepage [signIn]
Edits existing subject from homepage [signUp]
  ✅ UI e2e tests Edits existing subject from homepage [signUp]
Creates new subject from homepage [signIn]
  ✅ UI e2e tests Creates new subject from homepage [signIn]
Creates new subject from homepage [signUp]
  ✅ UI e2e tests Creates new subject from homepage [signUp]
Creates existing subject directly [signed Out]
  ✅ UI e2e tests Creates existing subject directly [signed Out]
Creates existing subject directly [signed In]
  ✅ UI e2e tests Creates existing subject directly [signed In]
Creates existing subject directly [signed Up]
  ✅ UI e2e tests Creates existing subject directly [signed Up]
Creates new subject directly [signIn]
  ✅ UI e2e tests Creates new subject directly [signIn]
Creates new subject directly [signUp]
  ✅ UI e2e tests Creates new subject directly [signUp]
Creates existing subject from homepage [signIn]
  ✅ UI e2e tests Creates existing subject from homepage [signIn]
Creates existing subject from homepage [signUp]
  ✅ UI e2e tests Creates existing subject from homepage [signUp]
Reload preserves sign in state [signIn]
  ✅ UI e2e tests Reload preserves sign in state [signIn]
Reload preserves sign in state [signUp]
  ✅ UI e2e tests Reload preserves sign in state [signUp]
Is signed out after reload after expiration [signIn]
  ✅ UI e2e tests Is signed out after reload after expiration [signIn]
Is signed out after reload after expiration [signUp]
  ✅ UI e2e tests Is signed out after reload after expiration [signUp]
Is signed out after save after expiration [signIn]
  ✅ UI e2e tests Is signed out after save after expiration [signIn]
Is signed out after save after expiration [signUp]
  ✅ UI e2e tests Is signed out after save after expiration [signUp]

✅ test_results/rust-dev-firefox-e2e.xml

18 tests were completed in 65s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Root Suite 0ms
UI e2e tests 18✅ 65s

✅ UI e2e tests

Views subject list
  ✅ UI e2e tests Views subject list
Edits existing subject from homepage [signIn]
  ✅ UI e2e tests Edits existing subject from homepage [signIn]
Edits existing subject from homepage [signUp]
  ✅ UI e2e tests Edits existing subject from homepage [signUp]
Creates new subject from homepage [signIn]
  ✅ UI e2e tests Creates new subject from homepage [signIn]
Creates new subject from homepage [signUp]
  ✅ UI e2e tests Creates new subject from homepage [signUp]
Creates existing subject directly [signed Out]
  ✅ UI e2e tests Creates existing subject directly [signed Out]
Creates existing subject directly [signed In]
  ✅ UI e2e tests Creates existing subject directly [signed In]
Creates existing subject directly [signed Up]
  ✅ UI e2e tests Creates existing subject directly [signed Up]
Creates new subject directly [signIn]
  ✅ UI e2e tests Creates new subject directly [signIn]
Creates new subject directly [signUp]
  ✅ UI e2e tests Creates new subject directly [signUp]
Creates existing subject from homepage [signIn]
  ✅ UI e2e tests Creates existing subject from homepage [signIn]
Creates existing subject from homepage [signUp]
  ✅ UI e2e tests Creates existing subject from homepage [signUp]
Reload preserves sign in state [signIn]
  ✅ UI e2e tests Reload preserves sign in state [signIn]
Reload preserves sign in state [signUp]
  ✅ UI e2e tests Reload preserves sign in state [signUp]
Is signed out after reload after expiration [signIn]
  ✅ UI e2e tests Is signed out after reload after expiration [signIn]
Is signed out after reload after expiration [signUp]
  ✅ UI e2e tests Is signed out after reload after expiration [signUp]
Is signed out after save after expiration [signIn]
  ✅ UI e2e tests Is signed out after save after expiration [signIn]
Is signed out after save after expiration [signUp]
  ✅ UI e2e tests Is signed out after save after expiration [signUp]

✅ test_results/rust-unit.xml

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

Test suite Passed Failed Skipped Time
tools::bin/tools 4✅ NaNms
wiki 11✅ NaNms

✅ tools::bin/tools

✅ update_mime_types::tests::test_line_re
✅ update_mime_types::tests::test_nginx_to_json
✅ update_mime_types::tests::test_line_to_tuple
✅ update_mime_types::tests::test_types_re

✅ wiki

✅ api::subject::tests::test_bad_auth_replies_with_error
✅ api::subject::tests::test_bad_bodies_reply_with_error
✅ api::subject::tests::test_good_requests_reply_with_subject_errors
✅ spa_server::tests::test_found
✅ api::subject::tests::test_reject_bad_methods
✅ api::subject::tests::test_reject_bad_paths
✅ api::subject::tests::test_good_requests_reply_with_subject_data
✅ spa_server::tests::test_handler_valid_asset
✅ spa_server::tests::test_handler_not_found
✅ spa_server::tests::test_handler_valid_path
✅ persistence::postgres::tests::test_subject