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

Bugfix: Removed moderator rights to edit posts; added test #119

Merged
merged 10 commits into from
Nov 29, 2024

Adapt naming to #114

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

Bugfix: Removed moderator rights to edit posts; added test #119

Adapt naming to #114
ef69492
Select commit
Loading
Failed to load commit list.
GitHub Actions / E2E Test Results succeeded Nov 29, 2024 in 0s

68 passed, 0 failed and 10 skipped

Tests passed successfully

Report Passed Failed Skipped Time
test-outputs/code-of-conduct/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.codeofconduct.CodeOfConductE2eTest.xml 4✅ 41s
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ConversationAnswerMessagesE2eTest.xml 2✅ 15s
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ConversationAutoCompletionE2eTest.xml 1✅ 550ms
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ConversationMessagesE2eTest.xml 6✅ 5s
test-outputs/core-modules-test/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.coremodulestest.SyncServerTimeE2eTest.xml 1✅ 26s
test-outputs/course-registration/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseregistration.CourseRegistrationE2eTest.xml 1✅ 39s
test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.CourseOverviewE2eTest.xml 1✅ 39s
test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.ExerciseListOverviewE2eTest.xml 2✅ 2⚪ 4s
test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.LectureListE2eTest.xml 1✅ 4s
test-outputs/dashboard/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.dashboard.DashboardE2eTest.xml 1⚪ 0ms
test-outputs/exercise-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.exercise_view.participate.text_exercise.ExerciseOverviewE2eTest.xml 2✅ 38s
test-outputs/exercise-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.exercise_view.participate.text_exercise.TextExerciseParticipationE2eTest.xml 2✅ 5s
test-outputs/lecture-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.lecture_view.LectureE2eTest.xml 9✅ 41s
test-outputs/login/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.login.LoginEndToEndTest.xml 1✅ 28s
test-outputs/login/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.login.RegisterEndToEndTest.xml 1✅ 4s
test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.members.ConversationAddMemberSettingsE2eTest.xml 2✅ 21s
test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.members.ConversationMemberSettingsE2eTest.xml 4✅ 5s
test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.BrowseChannelsE2eTest.xml 2✅ 2s
test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.ConversationOverviewE2eTest.xml 7✅ 1⚪ 6s
test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.CreateChannelE2eTest.xml 3✅ 2s
test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.CreateConversationE2eTest.xml 3✅ 2s
test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.settings.ChannelSettingsE2eTest.xml 4✅ 4s
test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.settings.GroupChatSettingsE2eTest.xml 2✅ 2s
test-outputs/push/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.push.PushNotificationSettingsE2eTest.xml 3✅ 16s
test-outputs/quiz/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.quiz.QuizParticipationE2eTest.xml 4⚪ 2ms
test-outputs/quiz/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.quiz.QuizPracticeParticipationE2eTest.xml 4✅ 26s
test-outputs/quiz/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.quiz.QuizWaitingScreenE2eTest.xml 2⚪ 4ms

✅ test-outputs/code-of-conduct/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.codeofconduct.CodeOfConductE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.codeofconduct.CodeOfConductE2eTest 4✅ 41s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.codeofconduct.CodeOfConductE2eTest

✅ test can fetch code of conduct text
✅ test can accept code of conduct in ui
✅ test fetches correct responsible users
✅ test can accept code of conduct without ui

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

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ConversationAnswerMessagesE2eTest 2✅ 15s

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

✅ test GIVEN an unresolved post with an answer message WHEN the answer post gets resolved THEN the post is marked as resolved
✅ test GIVEN existing answer posts WHEN displaying the parent post THEN it shows all the answer posts

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

1 tests were completed in 550ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ConversationAutoCompletionE2eTest 1✅ 550ms

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

✅ test GIVEN users are registered in a course WHEN requesting auto complete users THEN the registered users are returned

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

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

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

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

✅ can react to message with emoji
✅ shows existing messages
✅ can edit message
✅ can delete existing reaction
✅ can delete message
✅ can send new message

✅ test-outputs/core-modules-test/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.coremodulestest.SyncServerTimeE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.coremodulestest.SyncServerTimeE2eTest 1✅ 26s

✅ de.tum.informatics.www1.artemis.native_app.feature.coremodulestest.SyncServerTimeE2eTest

✅ sync server time

✅ test-outputs/course-registration/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseregistration.CourseRegistrationE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.courseregistration.CourseRegistrationE2eTest 1✅ 39s

✅ de.tum.informatics.www1.artemis.native_app.feature.courseregistration.CourseRegistrationE2eTest

✅ can successfully register in course

✅ test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.CourseOverviewE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.courseview.CourseOverviewE2eTest 1✅ 39s

✅ de.tum.informatics.www1.artemis.native_app.feature.courseview.CourseOverviewE2eTest

✅ displays correct course title

✅ test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.ExerciseListOverviewE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.courseview.ExerciseListOverviewE2eTest 2✅ 2⚪ 4s

✅ de.tum.informatics.www1.artemis.native_app.feature.courseview.ExerciseListOverviewE2eTest

⚪ display programing exercise
⚪ display quiz exercise
✅ display text exercise
✅ display modeling exercise

✅ test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.LectureListE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.courseview.LectureListE2eTest 1✅ 4s

✅ de.tum.informatics.www1.artemis.native_app.feature.courseview.LectureListE2eTest

✅ displays created lecture

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

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.dashboard.DashboardE2eTest 1⚪ 0ms

✅ de.tum.informatics.www1.artemis.native_app.feature.dashboard.DashboardE2eTest

⚪ shows created course in course list

✅ test-outputs/exercise-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.exercise_view.participate.text_exercise.ExerciseOverviewE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.exercise_view.participate.text_exercise.ExerciseOverviewE2eTest 2✅ 38s

✅ de.tum.informatics.www1.artemis.native_app.feature.exercise_view.participate.text_exercise.ExerciseOverviewE2eTest

✅ displays correct exercise data
✅ can start text exercise

✅ test-outputs/exercise-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.exercise_view.participate.text_exercise.TextExerciseParticipationE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.exercise_view.participate.text_exercise.TextExerciseParticipationE2eTest 2✅ 5s

✅ de.tum.informatics.www1.artemis.native_app.feature.exercise_view.participate.text_exercise.TextExerciseParticipationE2eTest

✅ can view already entered text
✅ can update text by entering new text

✅ test-outputs/lecture-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.lecture_view.LectureE2eTest.xml

9 tests were completed in 41s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.lecture_view.LectureE2eTest 9✅ 41s

✅ de.tum.informatics.www1.artemis.native_app.feature.lecture_view.LectureE2eTest

✅ shows video lecture unit
✅ shows exercise lecture unit
✅ shows attachments
✅ shows correct title in overview
✅ shows lecture description
✅ shows online lecture unit
✅ shows text lecture unit
✅ shows attachment lecture unit
✅ mark lecture unit as completed is successful

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

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.login.LoginEndToEndTest 1✅ 28s

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

✅ test login is successful

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

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.login.RegisterEndToEndTest 1✅ 4s

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

✅ can register to server

✅ test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.members.ConversationAddMemberSettingsE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.members.ConversationAddMemberSettingsE2eTest 2✅ 21s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.members.ConversationAddMemberSettingsE2eTest

✅ can add members to channel
✅ can add members to group chat

✅ test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.members.ConversationMemberSettingsE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.members.ConversationMemberSettingsE2eTest 4✅ 5s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.members.ConversationMemberSettingsE2eTest

✅ can promote user to moderator
✅ can revoke moderation rights
✅ can kick member
✅ displays conversation members

✅ test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.BrowseChannelsE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.BrowseChannelsE2eTest 2✅ 2s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.BrowseChannelsE2eTest

✅ displays existing channels
✅ can join channel

✅ test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.ConversationOverviewE2eTest.xml

8 tests were completed in 6s with 7 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.ConversationOverviewE2eTest 7✅ 1⚪ 6s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.ConversationOverviewE2eTest

✅ displays personal chat, group chat and channel
✅ can mark conversation as hidden
✅ can mark conversation as muted
✅ can mark hidden conversation as not muted
⚪ receives websocket conversation updates
✅ can mark favorite conversation as not favorite
✅ can mark hidden conversation as not hidden
✅ can mark conversation as favorite

✅ test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.CreateChannelE2eTest.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.manageconversations.overview.CreateChannelE2eTest 3✅ 2s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.CreateChannelE2eTest

✅ can create channel
✅ fun create channel without description
✅ fun create private and unrestricted channel

✅ test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.CreateConversationE2eTest.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.manageconversations.overview.CreateConversationE2eTest 3✅ 2s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.overview.CreateConversationE2eTest

✅ displays users on search
✅ can create personal conversation
✅ can create group conversation

✅ test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.settings.ChannelSettingsE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.settings.ChannelSettingsE2eTest 4✅ 4s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.settings.ChannelSettingsE2eTest

✅ can leave channel
✅ can change channel name, description and topic
✅ can archive channel
✅ can unarchive archived channel

✅ test-outputs/manage-conversations/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.settings.GroupChatSettingsE2eTest.xml

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.settings.GroupChatSettingsE2eTest 2✅ 2s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.manageconversations.settings.GroupChatSettingsE2eTest

✅ can leave group chat
✅ can change group chat name

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

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.push.PushNotificationSettingsE2eTest 3✅ 16s

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

✅ can update notification settings
✅ can register for and unregister from push notifications
✅ can retrieve notification settings

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

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.quiz.QuizParticipationE2eTest 4⚪ 2ms

✅ de.tum.informatics.www1.artemis.native_app.feature.quiz.QuizParticipationE2eTest

⚪ can submit live quiz - empty submission
⚪ can submit live quiz - drag and drop
⚪ can submit live quiz - short answer
⚪ can submit live quiz - multiple choice

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

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.quiz.QuizPracticeParticipationE2eTest 4✅ 26s

✅ de.tum.informatics.www1.artemis.native_app.feature.quiz.QuizPracticeParticipationE2eTest

✅ can submit practice quiz - multiple choice
✅ can submit practice quiz - drag and drop
✅ can submit practice quiz - empty submission
✅ can submit practice quiz - short answer

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

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

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.quiz.QuizWaitingScreenE2eTest 2⚪ 4ms

✅ de.tum.informatics.www1.artemis.native_app.feature.quiz.QuizWaitingScreenE2eTest

⚪ can start batched quiz
⚪ can start individual quiz