Bugfix
: Removed moderator rights to edit posts; added test
#216
GitHub Actions / JUnit Test Results
succeeded
Nov 20, 2024 in 0s
22 passed, 0 failed and 0 skipped
✅ test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.chatlist.MetisSearchPagingSourceTest.xml
1 tests were completed in 20s 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✅ | 20s |
✅ 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.post.PostActionsTest.xml
4 tests were completed in 8s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.post.PostActionsTest | 4✅ | 8s |
✅ de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.post.PostActionsTest
✅ test GIVEN a user with moderation-rights WHEN calling rememberPostActions THEN onRequestEditPost is null
✅ test GIVEN a post WHEN calling rememberPostActions as the post author THEN onRequestDeletePost is not null
✅ test GIVEN a user with moderation-rights WHEN calling rememberPostActions THEN onRequestDeletePost is not null
✅ test GIVEN a post WHEN calling rememberPostActions as the post author THEN onRequestEditPost is not null
✅ test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldUiTest.xml
8 tests were completed in 5s 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✅ | 5s |
✅ 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 51s 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✅ | 51s |
✅ 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 38s 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✅ | 38s |
✅ 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
Loading