Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communication: Improve auto completion for tagging users and channels #76

Merged
merged 7 commits into from
Nov 15, 2024

Fix tests

9e5a5a9
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Communication: Improve auto completion for tagging users and channels #76

Fix tests
9e5a5a9
Select commit
Loading
Failed to load commit list.
GitHub Actions / Android Unit Tests succeeded Nov 14, 2024 in 1s

18 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.chatlist.MetisSearchPagingSourceTest.xml 1✅ 21s
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldUiTest.xml 8✅ 12s
test-outputs/login/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.login.login_moduleTest.xml 5✅ 50s
test-outputs/push/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.push.PushNotificationReceiveTest.xml 4✅ 39s

✅ test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.chatlist.MetisSearchPagingSourceTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.chatlist.MetisSearchPagingSourceTest 1✅ 21s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.chatlist.MetisSearchPagingSourceTest

✅ test GIVEN the metisService returns duplicated posts WHEN calling the load method THEN only unique posts are returned

✅ test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldUiTest.xml

8 tests were completed in 12s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldUiTest 8✅ 12s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldUiTest

✅ test GIVEN the textField WHEN entering a non-tag character THEN the autoCompletion dialog is hidden
✅ test GIVEN the autoCompletion dialog WHEN removing the tag character @ THEN the autoCompletion dialog is hidden
✅ test GIVEN the autoCompletion dialog WHEN clicking an entry THEN the replacement is inserted into the textField and the dialog is hidden
✅ test GIVEN an empty reply textField WHEN doing nothing THEN the autoCompletion dialog is hidden
✅ test GIVEN an empty reply textField WHEN entering the tag character @ THEN a list of autoCompletionHints for users shows
✅ test GIVEN the textField WHEN entering a first and surname separated by a single whitespace THEN the dialog shows
✅ test GIVEN the autoCompletion has been performed WHEN entering the tag character again THEN the autoCompletion dialog shows again
✅ test GIVEN the textField WHEN entering a second whitespace THEN the dialog is hidden

✅ test-outputs/login/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.login.login_moduleTest.xml

5 tests were completed in 50s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.login.login_moduleTest 5✅ 50s

✅ de.tum.informatics.www1.artemis.native_app.feature.login.login_moduleTest

✅ the loginModule initializes RegisterViewModel without errors
✅ the loginModule initializes Saml2LoginViewModel without errors
✅ the loginModule initializes CustomInstanceSelectionViewModel without errors
✅ the loginModule initializes LoginViewModel without errors
✅ the loginModule initializes AccountViewModel without errors

✅ test-outputs/push/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.push.PushNotificationReceiveTest.xml

4 tests were completed in 39s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.push.PushNotificationReceiveTest 4✅ 39s

✅ de.tum.informatics.www1.artemis.native_app.feature.push.PushNotificationReceiveTest

✅ should forward notification with valid version
✅ should discard notification with non-existing version
✅ should discard gibberish notification
✅ should discard notification with non-matching version