Skip to content

Bugfix: Fix post insertion for live created posts #329

Bugfix: Fix post insertion for live created posts

Bugfix: Fix post insertion for live created posts #329

GitHub Actions / JUnit Test Results succeeded Nov 25, 2024 in 1s

30 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.ConversationAnswerMessagesUITest.xml 5✅ 33s
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceImplUpgradeLocalAnswerPostTest.xml 3✅ 2s
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceTestLiveCreation.xml 2✅ 169ms
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.chatlist.MetisSearchPagingSourceTest.xml 1✅ 41ms
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldUiTest.xml 8✅ 3s
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldVisibilityUITest.xml 2✅ 798ms
test-outputs/login/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.login.login_moduleTest.xml 5✅ 52s
test-outputs/push/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.push.PushNotificationReceiveTest.xml 4✅ 40s

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

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ConversationAnswerMessagesUITest 5✅ 33s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ConversationAnswerMessagesUITest

✅ test GIVEN the post is resolved and one answer post is marked as resolving THEN the post is shown as resolved and this answer post is shown as resolving
✅ test GIVEN post is not resolved WHEN resolving the post THEN the post is resolved with the third answer post
✅ test GIVEN the post is not resolved and no answer post is resolving THEN the post is shown as not resolved and no answer post is shown as resolving
✅ test GIVEN post is not resolved WHEN resolving the post THEN the post is resolved with the first answer post
✅ test GIVEN post is resolved WHEN un-resolving the post THEN the post is un-resolved

✅ test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceImplUpgradeLocalAnswerPostTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceImplUpgradeLocalAnswerPostTest 3✅ 2s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceImplUpgradeLocalAnswerPostTest

✅ testInsertClientSidePost
✅ testUpgradeClientSideAnswerPost2
✅ testUpgradeClientSideAnswerPost

✅ test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceTestLiveCreation.xml

2 tests were completed in 169ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceTestLiveCreation 2✅ 169ms

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceTestLiveCreation

✅ testInsertLiveCreatedPostWithExistingPost
✅ testInsertLiveCreatedPost

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

1 tests were completed in 41ms 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✅ 41ms

✅ 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 3s 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✅ 3s

✅ 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/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldVisibilityUITest.xml

2 tests were completed in 798ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldVisibilityUITest 2✅ 798ms

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

✅ test GIVEN the chat list containing three posts is shown WHEN the markdown text field is clicked THEN the keyboard is shown below the markdown text field
✅ test GIVEN the thread view is shown containing one post and three answer posts WHEN the markdown text field is clicked THEN the keyboard is shown below the markdown text field

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

5 tests were completed in 52s 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✅ 52s

✅ 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 40s 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✅ 40s

✅ 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