diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 1e7eefed9..6880a77c9 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -41,9 +41,6 @@ reviews: - "!**/*.min.css" - "!**/.git/**" - "!**/storybook-static/**" - # TODO: Temporär - nach Merge des Cypress-Refactoring-PRs entfernen - - "!cypress/support/step_definitions/**" - - "!cypress/e2e/**/*.feature" # Instruktionen für spezifische Pfade path_instructions: diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 537a4b7d5..cd026eda0 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -149,7 +149,7 @@ jobs: - name: List feature files id: list run: | - FEATURES=$(find cypress/e2e/ -maxdepth 1 -name "*.feature" -printf '%f\n' | sort | jq -R -s -c 'split("\n") | map(select(length > 0))') + FEATURES=$(cd cypress && find e2e/ -name "*.feature" -printf '%P\n' | sort | jq -R -s -c 'split("\n") | map(select(length > 0))') echo "features=$FEATURES" >> $GITHUB_OUTPUT fullstack_tests: @@ -249,12 +249,17 @@ jobs: cd cypress/ node create-cucumber-html-report.js + - name: Full stack tests | if tests failed, compute artifact name + id: artifact-name + if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }} + run: echo "name=e2e-report-$(echo '${{ matrix.feature }}' | tr '/' '-')" >> $GITHUB_OUTPUT + - name: Full stack tests | if tests failed, upload report id: e2e-report if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }} uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: - name: e2e-report-${{ matrix.feature }} + name: ${{ steps.artifact-name.outputs.name }} path: /home/runner/work/Ocelot-Social/Ocelot-Social/cypress/reports/cucumber_html_report e2e_status: diff --git a/backend/src/db/seed.ts b/backend/src/db/seed.ts index a5025d4c1..88873f200 100644 --- a/backend/src/db/seed.ts +++ b/backend/src/db/seed.ts @@ -830,15 +830,103 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] // eslint-disable-next-line no-console console.log('seed', 'invitecodes') + + // Peter invited the core users: Jenny, Bob, Huey await Factory.build( 'inviteCode', - { - code: 'ABCDEF', - }, - { - generatedBy: jennyRostock, - }, + { code: 'PETER1', comment: 'For Jenny' }, + { generatedBy: peterLustig }, ) + await Factory.build( + 'inviteCode', + { code: 'PETER2', comment: 'For Bob' }, + { generatedBy: peterLustig }, + ) + await Factory.build( + 'inviteCode', + { code: 'PETER3', comment: 'For Huey' }, + { generatedBy: peterLustig }, + ) + + // Jenny invited Dewey, Louie, Dagobert + await Factory.build( + 'inviteCode', + { code: 'JENNY1', comment: 'For Dewey' }, + { generatedBy: jennyRostock }, + ) + await Factory.build( + 'inviteCode', + { code: 'JENNY2', comment: 'For Louie' }, + { generatedBy: jennyRostock }, + ) + await Factory.build( + 'inviteCode', + { code: 'JENNY3', comment: 'For Dagobert' }, + { generatedBy: jennyRostock }, + ) + // Jenny's shared code (used by additional users) + await Factory.build( + 'inviteCode', + { code: 'ABCDEF', comment: 'Share link' }, + { generatedBy: jennyRostock }, + ) + // Jenny's unused code (still active) + await Factory.build('inviteCode', { code: 'JNEW01' }, { generatedBy: jennyRostock }) + // Jenny's invalidated code (was used once, then deactivated) + await Factory.build( + 'inviteCode', + { code: 'JENNY0', comment: 'Old link', expiresAt: new Date().toISOString() }, + { generatedBy: jennyRostock }, + ) + // Jenny total: JENNY1, JENNY2, JENNY3, ABCDEF, JNEW01 (5 active) + JENNY0 (1 expired) = 6 codes + + // Create REDEEMED and INVITED relationships via Cypher + const inviteSession = database.driver.session() + try { + await inviteSession.writeTransaction((txc) => + txc.run(` + // Peter's invitations + MATCH (jenny:User {id: 'u3'}), (code1:InviteCode {code: 'PETER1'}), (peter:User {id: 'u1'}) + MERGE (jenny)-[:REDEEMED {createdAt: toString(datetime())}]->(code1) + MERGE (peter)-[:INVITED {createdAt: toString(datetime())}]->(jenny) + MERGE (jenny)-[:FOLLOWS {createdAt: toString(datetime())}]->(peter) + MERGE (peter)-[:FOLLOWS {createdAt: toString(datetime())}]->(jenny) + WITH 1 AS dummy + MATCH (bob:User {id: 'u2'}), (code2:InviteCode {code: 'PETER2'}), (peter:User {id: 'u1'}) + MERGE (bob)-[:REDEEMED {createdAt: toString(datetime())}]->(code2) + MERGE (peter)-[:INVITED {createdAt: toString(datetime())}]->(bob) + MERGE (bob)-[:FOLLOWS {createdAt: toString(datetime())}]->(peter) + MERGE (peter)-[:FOLLOWS {createdAt: toString(datetime())}]->(bob) + WITH 1 AS dummy + MATCH (huey:User {id: 'u4'}), (code3:InviteCode {code: 'PETER3'}), (peter:User {id: 'u1'}) + MERGE (huey)-[:REDEEMED {createdAt: toString(datetime())}]->(code3) + MERGE (peter)-[:INVITED {createdAt: toString(datetime())}]->(huey) + MERGE (huey)-[:FOLLOWS {createdAt: toString(datetime())}]->(peter) + MERGE (peter)-[:FOLLOWS {createdAt: toString(datetime())}]->(huey) + WITH 1 AS dummy + // Jenny's invitations + MATCH (dewey:User {id: 'u5'}), (code4:InviteCode {code: 'JENNY1'}), (jenny:User {id: 'u3'}) + MERGE (dewey)-[:REDEEMED {createdAt: toString(datetime())}]->(code4) + MERGE (jenny)-[:INVITED {createdAt: toString(datetime())}]->(dewey) + MERGE (dewey)-[:FOLLOWS {createdAt: toString(datetime())}]->(jenny) + MERGE (jenny)-[:FOLLOWS {createdAt: toString(datetime())}]->(dewey) + WITH 1 AS dummy + MATCH (louie:User {id: 'u6'}), (code5:InviteCode {code: 'JENNY2'}), (jenny:User {id: 'u3'}) + MERGE (louie)-[:REDEEMED {createdAt: toString(datetime())}]->(code5) + MERGE (jenny)-[:INVITED {createdAt: toString(datetime())}]->(louie) + MERGE (louie)-[:FOLLOWS {createdAt: toString(datetime())}]->(jenny) + MERGE (jenny)-[:FOLLOWS {createdAt: toString(datetime())}]->(louie) + WITH 1 AS dummy + MATCH (dagobert:User {id: 'u7'}), (code6:InviteCode {code: 'JENNY3'}), (jenny:User {id: 'u3'}) + MERGE (dagobert)-[:REDEEMED {createdAt: toString(datetime())}]->(code6) + MERGE (jenny)-[:INVITED {createdAt: toString(datetime())}]->(dagobert) + MERGE (dagobert)-[:FOLLOWS {createdAt: toString(datetime())}]->(jenny) + MERGE (jenny)-[:FOLLOWS {createdAt: toString(datetime())}]->(dagobert) + `), + ) + } finally { + await inviteSession.close() + } authenticatedUser = await louie.toJson() const mention1 = @@ -1234,6 +1322,32 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] }) } + // Jenny's first 99 additional users all redeemed code ABCDEF + // eslint-disable-next-line no-console + console.log('seed', 'invite redemptions for additional users') + const jennyInviteSession = database.driver.session() + try { + for (let i = 0; i < Math.min(99, additionalUsers.length); i++) { + // eslint-disable-next-line security/detect-object-injection + const userObj = await additionalUsers[i].toJson() + const userId = userObj.id as string + await jennyInviteSession.writeTransaction((txc) => + txc.run( + ` + MATCH (user:User {id: $userId}), (inviteCode:InviteCode {code: 'ABCDEF'}), (jenny:User {id: 'u3'}) + MERGE (user)-[:REDEEMED {createdAt: toString(datetime())}]->(inviteCode) + MERGE (jenny)-[:INVITED {createdAt: toString(datetime())}]->(user) + MERGE (user)-[:FOLLOWS {createdAt: toString(datetime())}]->(jenny) + MERGE (jenny)-[:FOLLOWS {createdAt: toString(datetime())}]->(user) + `, + { userId }, + ), + ) + } + } finally { + await jennyInviteSession.close() + } + // Jenny users for (let i = 0; i < 30; i++) { await Factory.build('user', { name: `Jenny${i}` }) diff --git a/cypress/e2e/Admin.DonationInfo.feature b/cypress/e2e/admin/DonationInfo.feature similarity index 100% rename from cypress/e2e/Admin.DonationInfo.feature rename to cypress/e2e/admin/DonationInfo.feature diff --git a/cypress/e2e/Admin.PinPost.feature b/cypress/e2e/admin/PinPost.feature similarity index 100% rename from cypress/e2e/Admin.PinPost.feature rename to cypress/e2e/admin/PinPost.feature diff --git a/cypress/e2e/Admin.TagOverview.feature b/cypress/e2e/admin/TagOverview.feature similarity index 100% rename from cypress/e2e/Admin.TagOverview.feature rename to cypress/e2e/admin/TagOverview.feature diff --git a/cypress/e2e/Chat.DirectMessage.feature b/cypress/e2e/chat/DirectMessage.feature similarity index 100% rename from cypress/e2e/Chat.DirectMessage.feature rename to cypress/e2e/chat/DirectMessage.feature diff --git a/cypress/e2e/Chat.GroupChat.feature b/cypress/e2e/chat/GroupChat.feature similarity index 100% rename from cypress/e2e/Chat.GroupChat.feature rename to cypress/e2e/chat/GroupChat.feature diff --git a/cypress/e2e/Chat.Notification.feature b/cypress/e2e/chat/Notification.feature similarity index 100% rename from cypress/e2e/Chat.Notification.feature rename to cypress/e2e/chat/Notification.feature diff --git a/cypress/e2e/Chat.ReadStatus.feature b/cypress/e2e/chat/ReadStatus.feature similarity index 100% rename from cypress/e2e/Chat.ReadStatus.feature rename to cypress/e2e/chat/ReadStatus.feature diff --git a/cypress/e2e/Chat.Rooms.feature b/cypress/e2e/chat/Rooms.feature similarity index 100% rename from cypress/e2e/Chat.Rooms.feature rename to cypress/e2e/chat/Rooms.feature diff --git a/cypress/e2e/Chat.Search.feature b/cypress/e2e/chat/Search.feature similarity index 100% rename from cypress/e2e/Chat.Search.feature rename to cypress/e2e/chat/Search.feature diff --git a/cypress/e2e/Group.Create.feature b/cypress/e2e/group/Create.feature similarity index 100% rename from cypress/e2e/Group.Create.feature rename to cypress/e2e/group/Create.feature diff --git a/cypress/e2e/Moderation.HidePost.feature b/cypress/e2e/moderation/HidePost.feature similarity index 100% rename from cypress/e2e/Moderation.HidePost.feature rename to cypress/e2e/moderation/HidePost.feature diff --git a/cypress/e2e/Moderation.ReportContent.feature b/cypress/e2e/moderation/ReportContent.feature similarity index 100% rename from cypress/e2e/Moderation.ReportContent.feature rename to cypress/e2e/moderation/ReportContent.feature diff --git a/cypress/e2e/Notification.Mention.feature b/cypress/e2e/notification/Mention.feature similarity index 100% rename from cypress/e2e/Notification.Mention.feature rename to cypress/e2e/notification/Mention.feature diff --git a/cypress/e2e/Post.Comment.feature b/cypress/e2e/post/Comment.feature similarity index 100% rename from cypress/e2e/Post.Comment.feature rename to cypress/e2e/post/Comment.feature diff --git a/cypress/e2e/Post.Create.feature b/cypress/e2e/post/Create.feature similarity index 100% rename from cypress/e2e/Post.Create.feature rename to cypress/e2e/post/Create.feature diff --git a/cypress/e2e/Post.Images.feature b/cypress/e2e/post/Images.feature similarity index 100% rename from cypress/e2e/Post.Images.feature rename to cypress/e2e/post/Images.feature diff --git a/cypress/e2e/PersistentLinks.feature b/cypress/e2e/post/PersistentLinks.feature similarity index 100% rename from cypress/e2e/PersistentLinks.feature rename to cypress/e2e/post/PersistentLinks.feature diff --git a/cypress/e2e/Post.feature b/cypress/e2e/post/Post.feature similarity index 100% rename from cypress/e2e/Post.feature rename to cypress/e2e/post/Post.feature diff --git a/cypress/e2e/Search.Results.feature b/cypress/e2e/search/Results.feature similarity index 100% rename from cypress/e2e/Search.Results.feature rename to cypress/e2e/search/Results.feature diff --git a/cypress/e2e/Search.feature.broken b/cypress/e2e/search/Search.feature.broken similarity index 100% rename from cypress/e2e/Search.feature.broken rename to cypress/e2e/search/Search.feature.broken diff --git a/cypress/e2e/UserProfile.ChangePassword.feature b/cypress/e2e/settings/ChangePassword.feature similarity index 100% rename from cypress/e2e/UserProfile.ChangePassword.feature rename to cypress/e2e/settings/ChangePassword.feature diff --git a/cypress/e2e/settings/InviteCode.feature b/cypress/e2e/settings/InviteCode.feature new file mode 100644 index 000000000..e8948d28c --- /dev/null +++ b/cypress/e2e/settings/InviteCode.feature @@ -0,0 +1,39 @@ +Feature: Invite Codes + As a User + I'd like to manage my invite codes + So I can invite friends to the network + + Background: + Given the following "users" are in the database: + | email | password | id | name | slug | termsAndConditionsAgreedVersion | + | peterpan@example.org | 123 | id-of-peter-pan | Peter Pan | peter-pan | 0.0.4 | + And I am logged in as "peter-pan" + + Scenario: View invite codes page + When I navigate to page "/settings/invites" + Then I am on page "/settings/invites" + And I see the invite code list title with count + + Scenario: Generate a new invite code + When I navigate to page "/settings/invites" + Then I am on page "/settings/invites" + When I generate a new invite code + Then I see a toaster with status "success" + And the invite code count has increased + + Scenario: Generate a new invite code with comment + When I navigate to page "/settings/invites" + Then I am on page "/settings/invites" + When I generate a new invite code with comment "For my friend" + Then I see a toaster with status "success" + And I see the comment "For my friend" on an invite code + + Scenario: Invalidate an invite code + When I navigate to page "/settings/invites" + Then I am on page "/settings/invites" + When I generate a new invite code + Then I see a toaster with status "success" + When I invalidate the first invite code + And I confirm the action in the modal + Then I see a toaster with status "success" + And the invite code count has decreased diff --git a/cypress/e2e/UserProfile.NameDescriptionLocation.feature b/cypress/e2e/settings/NameDescriptionLocation.feature similarity index 100% rename from cypress/e2e/UserProfile.NameDescriptionLocation.feature rename to cypress/e2e/settings/NameDescriptionLocation.feature diff --git a/cypress/e2e/User.SettingNotifications.feature.broken b/cypress/e2e/settings/Notifications.feature.broken similarity index 100% rename from cypress/e2e/User.SettingNotifications.feature.broken rename to cypress/e2e/settings/Notifications.feature.broken diff --git a/cypress/e2e/UserProfile.SocialMedia.feature b/cypress/e2e/settings/SocialMedia.feature similarity index 100% rename from cypress/e2e/UserProfile.SocialMedia.feature rename to cypress/e2e/settings/SocialMedia.feature diff --git a/cypress/e2e/User.Authentication.feature b/cypress/e2e/user/Authentication.feature similarity index 100% rename from cypress/e2e/User.Authentication.feature rename to cypress/e2e/user/Authentication.feature diff --git a/cypress/e2e/UserProfile.Avatar.feature b/cypress/e2e/user/Avatar.feature similarity index 100% rename from cypress/e2e/UserProfile.Avatar.feature rename to cypress/e2e/user/Avatar.feature diff --git a/cypress/e2e/User.Block.feature.broken b/cypress/e2e/user/Block.feature.broken similarity index 100% rename from cypress/e2e/User.Block.feature.broken rename to cypress/e2e/user/Block.feature.broken diff --git a/cypress/e2e/User.Mute.feature.broken b/cypress/e2e/user/Mute.feature.broken similarity index 100% rename from cypress/e2e/User.Mute.feature.broken rename to cypress/e2e/user/Mute.feature.broken diff --git a/cypress/parallel-features.sh b/cypress/parallel-features.sh index 24f5bfa9f..496d717af 100755 --- a/cypress/parallel-features.sh +++ b/cypress/parallel-features.sh @@ -8,10 +8,10 @@ CUR_JOB=$(expr $1 - 1) MAX_JOBS=$2 # Features -FEATURE_LIST=( $(find cypress/e2e/ -maxdepth 1 -name "*.feature") ) +FEATURE_LIST=( $(find cypress/e2e/ -name "*.feature") ) # Calculation -MAX_FEATURES=$(find cypress/e2e/ -maxdepth 1 -name "*.feature" -print | wc -l) +MAX_FEATURES=$(find cypress/e2e/ -name "*.feature" -print | wc -l) # adds overhead features to the first jobs if [[ $CUR_JOB -lt $(expr ${MAX_FEATURES} % ${MAX_JOBS}) ]] then diff --git a/cypress/support/step_definitions/Admin.DonationInfo/the_donation_info_contains_goal_{string}_and_progress_{string}.js b/cypress/support/step_definitions/admin/DonationInfo/the_donation_info_contains_goal_{string}_and_progress_{string}.js similarity index 100% rename from cypress/support/step_definitions/Admin.DonationInfo/the_donation_info_contains_goal_{string}_and_progress_{string}.js rename to cypress/support/step_definitions/admin/DonationInfo/the_donation_info_contains_goal_{string}_and_progress_{string}.js diff --git a/cypress/support/step_definitions/Admin.DonationInfo/the_donation_info_is_{string}.js b/cypress/support/step_definitions/admin/DonationInfo/the_donation_info_is_{string}.js similarity index 100% rename from cypress/support/step_definitions/Admin.DonationInfo/the_donation_info_is_{string}.js rename to cypress/support/step_definitions/admin/DonationInfo/the_donation_info_is_{string}.js diff --git a/cypress/support/step_definitions/Admin.PinPost/I_open_the_content_menu_of_post_{string}.js b/cypress/support/step_definitions/admin/PinPost/I_open_the_content_menu_of_post_{string}.js similarity index 100% rename from cypress/support/step_definitions/Admin.PinPost/I_open_the_content_menu_of_post_{string}.js rename to cypress/support/step_definitions/admin/PinPost/I_open_the_content_menu_of_post_{string}.js diff --git a/cypress/support/step_definitions/Admin.PinPost/the_post_with_title_{string}_has_a_ribbon_for_pinned_posts.js b/cypress/support/step_definitions/admin/PinPost/the_post_with_title_{string}_has_a_ribbon_for_pinned_posts.js similarity index 100% rename from cypress/support/step_definitions/Admin.PinPost/the_post_with_title_{string}_has_a_ribbon_for_pinned_posts.js rename to cypress/support/step_definitions/admin/PinPost/the_post_with_title_{string}_has_a_ribbon_for_pinned_posts.js diff --git a/cypress/support/step_definitions/Admin.PinPost/there_is_no_button_to_pin_a_post.js b/cypress/support/step_definitions/admin/PinPost/there_is_no_button_to_pin_a_post.js similarity index 100% rename from cypress/support/step_definitions/Admin.PinPost/there_is_no_button_to_pin_a_post.js rename to cypress/support/step_definitions/admin/PinPost/there_is_no_button_to_pin_a_post.js diff --git a/cypress/support/step_definitions/Chat.DirectMessage/I_open_a_direct_message_with_{string}.js b/cypress/support/step_definitions/chat/DirectMessage/I_open_a_direct_message_with_{string}.js similarity index 100% rename from cypress/support/step_definitions/Chat.DirectMessage/I_open_a_direct_message_with_{string}.js rename to cypress/support/step_definitions/chat/DirectMessage/I_open_a_direct_message_with_{string}.js diff --git a/cypress/support/step_definitions/Chat.GroupChat/I_click_on_the_group_chat_button.js b/cypress/support/step_definitions/chat/GroupChat/I_click_on_the_group_chat_button.js similarity index 100% rename from cypress/support/step_definitions/Chat.GroupChat/I_click_on_the_group_chat_button.js rename to cypress/support/step_definitions/chat/GroupChat/I_click_on_the_group_chat_button.js diff --git a/cypress/support/step_definitions/Chat.GroupChat/I_open_the_group_chat_for_{string}.js b/cypress/support/step_definitions/chat/GroupChat/I_open_the_group_chat_for_{string}.js similarity index 100% rename from cypress/support/step_definitions/Chat.GroupChat/I_open_the_group_chat_for_{string}.js rename to cypress/support/step_definitions/chat/GroupChat/I_open_the_group_chat_for_{string}.js diff --git a/cypress/support/step_definitions/Chat.GroupChat/I_see_the_group_chat_popup_with_name_{string}.js b/cypress/support/step_definitions/chat/GroupChat/I_see_the_group_chat_popup_with_name_{string}.js similarity index 100% rename from cypress/support/step_definitions/Chat.GroupChat/I_see_the_group_chat_popup_with_name_{string}.js rename to cypress/support/step_definitions/chat/GroupChat/I_see_the_group_chat_popup_with_name_{string}.js diff --git a/cypress/support/step_definitions/Chat.Rooms/I_see_{string}_at_position_{int}_in_the_room_list.js b/cypress/support/step_definitions/chat/Rooms/I_see_{string}_at_position_{int}_in_the_room_list.js similarity index 100% rename from cypress/support/step_definitions/Chat.Rooms/I_see_{string}_at_position_{int}_in_the_room_list.js rename to cypress/support/step_definitions/chat/Rooms/I_see_{string}_at_position_{int}_in_the_room_list.js diff --git a/cypress/support/step_definitions/Chat.Search/I_click_the_add_chat_button.js b/cypress/support/step_definitions/chat/Search/I_click_the_add_chat_button.js similarity index 100% rename from cypress/support/step_definitions/Chat.Search/I_click_the_add_chat_button.js rename to cypress/support/step_definitions/chat/Search/I_click_the_add_chat_button.js diff --git a/cypress/support/step_definitions/Chat.Search/I_search_for_{string}_in_the_chat_search.js b/cypress/support/step_definitions/chat/Search/I_search_for_{string}_in_the_chat_search.js similarity index 100% rename from cypress/support/step_definitions/Chat.Search/I_search_for_{string}_in_the_chat_search.js rename to cypress/support/step_definitions/chat/Search/I_search_for_{string}_in_the_chat_search.js diff --git a/cypress/support/step_definitions/Chat.Search/I_see_no_chat_search_results.js b/cypress/support/step_definitions/chat/Search/I_see_no_chat_search_results.js similarity index 100% rename from cypress/support/step_definitions/Chat.Search/I_see_no_chat_search_results.js rename to cypress/support/step_definitions/chat/Search/I_see_no_chat_search_results.js diff --git a/cypress/support/step_definitions/Chat.Search/I_see_{string}_in_the_chat_search_results.js b/cypress/support/step_definitions/chat/Search/I_see_{string}_in_the_chat_search_results.js similarity index 100% rename from cypress/support/step_definitions/Chat.Search/I_see_{string}_in_the_chat_search_results.js rename to cypress/support/step_definitions/chat/Search/I_see_{string}_in_the_chat_search_results.js diff --git a/cypress/support/step_definitions/Chat.Search/I_select_{string}_from_the_chat_search_results.js b/cypress/support/step_definitions/chat/Search/I_select_{string}_from_the_chat_search_results.js similarity index 100% rename from cypress/support/step_definitions/Chat.Search/I_select_{string}_from_the_chat_search_results.js rename to cypress/support/step_definitions/chat/Search/I_select_{string}_from_the_chat_search_results.js diff --git a/cypress/support/step_definitions/Group.Create/I_choose_the_following_text_as_description.js b/cypress/support/step_definitions/group/Create/I_choose_the_following_text_as_description.js similarity index 100% rename from cypress/support/step_definitions/Group.Create/I_choose_the_following_text_as_description.js rename to cypress/support/step_definitions/group/Create/I_choose_the_following_text_as_description.js diff --git a/cypress/support/step_definitions/Group.Create/I_choose_{string}_as_the_about.js b/cypress/support/step_definitions/group/Create/I_choose_{string}_as_the_about.js similarity index 100% rename from cypress/support/step_definitions/Group.Create/I_choose_{string}_as_the_about.js rename to cypress/support/step_definitions/group/Create/I_choose_{string}_as_the_about.js diff --git a/cypress/support/step_definitions/Group.Create/I_choose_{string}_as_the_action_radius.js b/cypress/support/step_definitions/group/Create/I_choose_{string}_as_the_action_radius.js similarity index 100% rename from cypress/support/step_definitions/Group.Create/I_choose_{string}_as_the_action_radius.js rename to cypress/support/step_definitions/group/Create/I_choose_{string}_as_the_action_radius.js diff --git a/cypress/support/step_definitions/Group.Create/I_choose_{string}_as_the_name.js b/cypress/support/step_definitions/group/Create/I_choose_{string}_as_the_name.js similarity index 100% rename from cypress/support/step_definitions/Group.Create/I_choose_{string}_as_the_name.js rename to cypress/support/step_definitions/group/Create/I_choose_{string}_as_the_name.js diff --git a/cypress/support/step_definitions/Group.Create/I_choose_{string}_as_the_visibility.js b/cypress/support/step_definitions/group/Create/I_choose_{string}_as_the_visibility.js similarity index 100% rename from cypress/support/step_definitions/Group.Create/I_choose_{string}_as_the_visibility.js rename to cypress/support/step_definitions/group/Create/I_choose_{string}_as_the_visibility.js diff --git a/cypress/support/step_definitions/Group.Create/the_group_was_saved_successfully.js b/cypress/support/step_definitions/group/Create/the_group_was_saved_successfully.js similarity index 100% rename from cypress/support/step_definitions/Group.Create/the_group_was_saved_successfully.js rename to cypress/support/step_definitions/group/Create/the_group_was_saved_successfully.js diff --git a/cypress/support/step_definitions/Moderation.HidePost/I_should_see_only_{int}_posts_on_the_newsfeed.js b/cypress/support/step_definitions/moderation/HidePost/I_should_see_only_{int}_posts_on_the_newsfeed.js similarity index 100% rename from cypress/support/step_definitions/Moderation.HidePost/I_should_see_only_{int}_posts_on_the_newsfeed.js rename to cypress/support/step_definitions/moderation/HidePost/I_should_see_only_{int}_posts_on_the_newsfeed.js diff --git a/cypress/support/step_definitions/Moderation.HidePost/the_page_{string}_returns_a_404_error_with_a_message.js b/cypress/support/step_definitions/moderation/HidePost/the_page_{string}_returns_a_404_error_with_a_message.js similarity index 100% rename from cypress/support/step_definitions/Moderation.HidePost/the_page_{string}_returns_a_404_error_with_a_message.js rename to cypress/support/step_definitions/moderation/HidePost/the_page_{string}_returns_a_404_error_with_a_message.js diff --git a/cypress/support/step_definitions/Moderation.ReportContent/I_can_t_see_the_moderation_menu_item.js b/cypress/support/step_definitions/moderation/ReportContent/I_can_t_see_the_moderation_menu_item.js similarity index 100% rename from cypress/support/step_definitions/Moderation.ReportContent/I_can_t_see_the_moderation_menu_item.js rename to cypress/support/step_definitions/moderation/ReportContent/I_can_t_see_the_moderation_menu_item.js diff --git a/cypress/support/step_definitions/Moderation.ReportContent/I_can_visit_the_post_page.js b/cypress/support/step_definitions/moderation/ReportContent/I_can_visit_the_post_page.js similarity index 100% rename from cypress/support/step_definitions/Moderation.ReportContent/I_can_visit_the_post_page.js rename to cypress/support/step_definitions/moderation/ReportContent/I_can_visit_the_post_page.js diff --git a/cypress/support/step_definitions/Moderation.ReportContent/I_click_on_Report_Post_from_the_content_menu_of_the_post.js b/cypress/support/step_definitions/moderation/ReportContent/I_click_on_Report_Post_from_the_content_menu_of_the_post.js similarity index 100% rename from cypress/support/step_definitions/Moderation.ReportContent/I_click_on_Report_Post_from_the_content_menu_of_the_post.js rename to cypress/support/step_definitions/moderation/ReportContent/I_click_on_Report_Post_from_the_content_menu_of_the_post.js diff --git a/cypress/support/step_definitions/Moderation.ReportContent/I_click_on_the_author.js b/cypress/support/step_definitions/moderation/ReportContent/I_click_on_the_author.js similarity index 100% rename from cypress/support/step_definitions/Moderation.ReportContent/I_click_on_the_author.js rename to cypress/support/step_definitions/moderation/ReportContent/I_click_on_the_author.js diff --git a/cypress/support/step_definitions/Moderation.ReportContent/I_click_on_the_avatar_menu_in_the_top_right_corner.js b/cypress/support/step_definitions/moderation/ReportContent/I_click_on_the_avatar_menu_in_the_top_right_corner.js similarity index 100% rename from cypress/support/step_definitions/Moderation.ReportContent/I_click_on_the_avatar_menu_in_the_top_right_corner.js rename to cypress/support/step_definitions/moderation/ReportContent/I_click_on_the_avatar_menu_in_the_top_right_corner.js diff --git a/cypress/support/step_definitions/Moderation.ReportContent/I_confirm_the_reporting_dialog.js b/cypress/support/step_definitions/moderation/ReportContent/I_confirm_the_reporting_dialog.js similarity index 100% rename from cypress/support/step_definitions/Moderation.ReportContent/I_confirm_the_reporting_dialog.js rename to cypress/support/step_definitions/moderation/ReportContent/I_confirm_the_reporting_dialog.js diff --git a/cypress/support/step_definitions/Moderation.ReportContent/I_see_all_the_reported_posts_including_from_the_user_who_muted_me.js b/cypress/support/step_definitions/moderation/ReportContent/I_see_all_the_reported_posts_including_from_the_user_who_muted_me.js similarity index 100% rename from cypress/support/step_definitions/Moderation.ReportContent/I_see_all_the_reported_posts_including_from_the_user_who_muted_me.js rename to cypress/support/step_definitions/moderation/ReportContent/I_see_all_the_reported_posts_including_from_the_user_who_muted_me.js diff --git a/cypress/support/step_definitions/Moderation.ReportContent/I_see_all_the_reported_posts_including_the_one_from_above.js b/cypress/support/step_definitions/moderation/ReportContent/I_see_all_the_reported_posts_including_the_one_from_above.js similarity index 100% rename from cypress/support/step_definitions/Moderation.ReportContent/I_see_all_the_reported_posts_including_the_one_from_above.js rename to cypress/support/step_definitions/moderation/ReportContent/I_see_all_the_reported_posts_including_the_one_from_above.js diff --git a/cypress/support/step_definitions/Moderation.ReportContent/each_list_item_links_to_the_post_page.js b/cypress/support/step_definitions/moderation/ReportContent/each_list_item_links_to_the_post_page.js similarity index 100% rename from cypress/support/step_definitions/Moderation.ReportContent/each_list_item_links_to_the_post_page.js rename to cypress/support/step_definitions/moderation/ReportContent/each_list_item_links_to_the_post_page.js diff --git a/cypress/support/step_definitions/Moderation.ReportContent/somebody_reported_the_following_posts.js b/cypress/support/step_definitions/moderation/ReportContent/somebody_reported_the_following_posts.js similarity index 96% rename from cypress/support/step_definitions/Moderation.ReportContent/somebody_reported_the_following_posts.js rename to cypress/support/step_definitions/moderation/ReportContent/somebody_reported_the_following_posts.js index 191bcd25f..845952b92 100644 --- a/cypress/support/step_definitions/Moderation.ReportContent/somebody_reported_the_following_posts.js +++ b/cypress/support/step_definitions/moderation/ReportContent/somebody_reported_the_following_posts.js @@ -1,6 +1,6 @@ import { defineStep } from '@badeball/cypress-cucumber-preprocessor' -import './../../commands' -import './../../factories' +import './../../../commands' +import './../../../factories' import 'cypress-network-idle' defineStep('somebody reported the following posts:', table => { diff --git a/cypress/support/step_definitions/Moderation.ReportContent/there_is_an_annoying_user_who_has_muted_me.js b/cypress/support/step_definitions/moderation/ReportContent/there_is_an_annoying_user_who_has_muted_me.js similarity index 100% rename from cypress/support/step_definitions/Moderation.ReportContent/there_is_an_annoying_user_who_has_muted_me.js rename to cypress/support/step_definitions/moderation/ReportContent/there_is_an_annoying_user_who_has_muted_me.js diff --git a/cypress/support/step_definitions/Notification.Mention/I_start_to_write_a_new_post_with_the_title_{string}_beginning_with.js b/cypress/support/step_definitions/notification/Mention/I_start_to_write_a_new_post_with_the_title_{string}_beginning_with.js similarity index 100% rename from cypress/support/step_definitions/Notification.Mention/I_start_to_write_a_new_post_with_the_title_{string}_beginning_with.js rename to cypress/support/step_definitions/notification/Mention/I_start_to_write_a_new_post_with_the_title_{string}_beginning_with.js diff --git a/cypress/support/step_definitions/Notification.Mention/mention_{string}_in_the_text.js b/cypress/support/step_definitions/notification/Mention/mention_{string}_in_the_text.js similarity index 100% rename from cypress/support/step_definitions/Notification.Mention/mention_{string}_in_the_text.js rename to cypress/support/step_definitions/notification/Mention/mention_{string}_in_the_text.js diff --git a/cypress/support/step_definitions/Notification.Mention/open_the_notification_menu_and_click_on_the_first_item.js b/cypress/support/step_definitions/notification/Mention/open_the_notification_menu_and_click_on_the_first_item.js similarity index 100% rename from cypress/support/step_definitions/Notification.Mention/open_the_notification_menu_and_click_on_the_first_item.js rename to cypress/support/step_definitions/notification/Mention/open_the_notification_menu_and_click_on_the_first_item.js diff --git a/cypress/support/step_definitions/Notification.Mention/see_{int}_unread_notifications_in_the_top_menu.js b/cypress/support/step_definitions/notification/Mention/see_{int}_unread_notifications_in_the_top_menu.js similarity index 100% rename from cypress/support/step_definitions/Notification.Mention/see_{int}_unread_notifications_in_the_top_menu.js rename to cypress/support/step_definitions/notification/Mention/see_{int}_unread_notifications_in_the_top_menu.js diff --git a/cypress/support/step_definitions/Notification.Mention/the_notification_menu_button_links_to_the_all_notifications_page.js b/cypress/support/step_definitions/notification/Mention/the_notification_menu_button_links_to_the_all_notifications_page.js similarity index 100% rename from cypress/support/step_definitions/Notification.Mention/the_notification_menu_button_links_to_the_all_notifications_page.js rename to cypress/support/step_definitions/notification/Mention/the_notification_menu_button_links_to_the_all_notifications_page.js diff --git a/cypress/support/step_definitions/Notification.Mention/the_unread_counter_is_removed.js b/cypress/support/step_definitions/notification/Mention/the_unread_counter_is_removed.js similarity index 100% rename from cypress/support/step_definitions/Notification.Mention/the_unread_counter_is_removed.js rename to cypress/support/step_definitions/notification/Mention/the_unread_counter_is_removed.js diff --git a/cypress/support/step_definitions/Post.Comment/I_comment_the_following.js b/cypress/support/step_definitions/post/Comment/I_comment_the_following.js similarity index 100% rename from cypress/support/step_definitions/Post.Comment/I_comment_the_following.js rename to cypress/support/step_definitions/post/Comment/I_comment_the_following.js diff --git a/cypress/support/step_definitions/Post.Comment/I_should_see_an_abbreviated_version_of_my_comment.js b/cypress/support/step_definitions/post/Comment/I_should_see_an_abbreviated_version_of_my_comment.js similarity index 100% rename from cypress/support/step_definitions/Post.Comment/I_should_see_an_abbreviated_version_of_my_comment.js rename to cypress/support/step_definitions/post/Comment/I_should_see_an_abbreviated_version_of_my_comment.js diff --git a/cypress/support/step_definitions/Post.Comment/I_should_see_my_comment.js b/cypress/support/step_definitions/post/Comment/I_should_see_my_comment.js similarity index 100% rename from cypress/support/step_definitions/Post.Comment/I_should_see_my_comment.js rename to cypress/support/step_definitions/post/Comment/I_should_see_my_comment.js diff --git a/cypress/support/step_definitions/Post.Comment/I_should_see_the_entirety_of_my_comment.js b/cypress/support/step_definitions/post/Comment/I_should_see_the_entirety_of_my_comment.js similarity index 100% rename from cypress/support/step_definitions/Post.Comment/I_should_see_the_entirety_of_my_comment.js rename to cypress/support/step_definitions/post/Comment/I_should_see_the_entirety_of_my_comment.js diff --git a/cypress/support/step_definitions/Post.Comment/I_type_in_a_comment_with_{int}_characters.js b/cypress/support/step_definitions/post/Comment/I_type_in_a_comment_with_{int}_characters.js similarity index 100% rename from cypress/support/step_definitions/Post.Comment/I_type_in_a_comment_with_{int}_characters.js rename to cypress/support/step_definitions/post/Comment/I_type_in_a_comment_with_{int}_characters.js diff --git a/cypress/support/step_definitions/Post.Comment/it_should_create_a_mention_in_the_CommentForm.js b/cypress/support/step_definitions/post/Comment/it_should_create_a_mention_in_the_CommentForm.js similarity index 100% rename from cypress/support/step_definitions/Post.Comment/it_should_create_a_mention_in_the_CommentForm.js rename to cypress/support/step_definitions/post/Comment/it_should_create_a_mention_in_the_CommentForm.js diff --git a/cypress/support/step_definitions/Post.Comment/my_comment_should_be_successfully_created.js b/cypress/support/step_definitions/post/Comment/my_comment_should_be_successfully_created.js similarity index 100% rename from cypress/support/step_definitions/Post.Comment/my_comment_should_be_successfully_created.js rename to cypress/support/step_definitions/post/Comment/my_comment_should_be_successfully_created.js diff --git a/cypress/support/step_definitions/Post.Comment/the_editor_should_be_cleared.js b/cypress/support/step_definitions/post/Comment/the_editor_should_be_cleared.js similarity index 100% rename from cypress/support/step_definitions/Post.Comment/the_editor_should_be_cleared.js rename to cypress/support/step_definitions/post/Comment/the_editor_should_be_cleared.js diff --git a/cypress/support/step_definitions/Post.Create/I_choose_{string}_as_the_title.js b/cypress/support/step_definitions/post/Create/I_choose_{string}_as_the_title.js similarity index 100% rename from cypress/support/step_definitions/Post.Create/I_choose_{string}_as_the_title.js rename to cypress/support/step_definitions/post/Create/I_choose_{string}_as_the_title.js diff --git a/cypress/support/step_definitions/Post.Create/the_post_was_saved_successfully.js b/cypress/support/step_definitions/post/Create/the_post_was_saved_successfully.js similarity index 100% rename from cypress/support/step_definitions/Post.Create/the_post_was_saved_successfully.js rename to cypress/support/step_definitions/post/Create/the_post_was_saved_successfully.js diff --git a/cypress/support/step_definitions/Post.Images/I_add_all_required_fields.js b/cypress/support/step_definitions/post/Images/I_add_all_required_fields.js similarity index 100% rename from cypress/support/step_definitions/Post.Images/I_add_all_required_fields.js rename to cypress/support/step_definitions/post/Images/I_add_all_required_fields.js diff --git a/cypress/support/step_definitions/Post.Images/I_should_be_able_to_{string}_a_teaser_image.js b/cypress/support/step_definitions/post/Images/I_should_be_able_to_{string}_a_teaser_image.js similarity index 100% rename from cypress/support/step_definitions/Post.Images/I_should_be_able_to_{string}_a_teaser_image.js rename to cypress/support/step_definitions/post/Images/I_should_be_able_to_{string}_a_teaser_image.js diff --git a/cypress/support/step_definitions/Post.Images/my_post_has_a_teaser_image.js b/cypress/support/step_definitions/post/Images/my_post_has_a_teaser_image.js similarity index 100% rename from cypress/support/step_definitions/Post.Images/my_post_has_a_teaser_image.js rename to cypress/support/step_definitions/post/Images/my_post_has_a_teaser_image.js diff --git a/cypress/support/step_definitions/Post.Images/the_first_image_should_not_be_displayed_anymore.js b/cypress/support/step_definitions/post/Images/the_first_image_should_not_be_displayed_anymore.js similarity index 100% rename from cypress/support/step_definitions/Post.Images/the_first_image_should_not_be_displayed_anymore.js rename to cypress/support/step_definitions/post/Images/the_first_image_should_not_be_displayed_anymore.js diff --git a/cypress/support/step_definitions/Post.Images/the_post_was_saved_successfully_with_the_{string}_teaser_image.js b/cypress/support/step_definitions/post/Images/the_post_was_saved_successfully_with_the_{string}_teaser_image.js similarity index 100% rename from cypress/support/step_definitions/Post.Images/the_post_was_saved_successfully_with_the_{string}_teaser_image.js rename to cypress/support/step_definitions/post/Images/the_post_was_saved_successfully_with_the_{string}_teaser_image.js diff --git a/cypress/support/step_definitions/Post.Images/the_{string}_post_was_saved_successfully_without_a_teaser_image.js b/cypress/support/step_definitions/post/Images/the_{string}_post_was_saved_successfully_without_a_teaser_image.js similarity index 100% rename from cypress/support/step_definitions/Post.Images/the_{string}_post_was_saved_successfully_without_a_teaser_image.js rename to cypress/support/step_definitions/post/Images/the_{string}_post_was_saved_successfully_without_a_teaser_image.js diff --git a/cypress/support/step_definitions/Post/the_post_shows_up_on_the_newsfeed_at_position_{int}.js b/cypress/support/step_definitions/post/Post/the_post_shows_up_on_the_newsfeed_at_position_{int}.js similarity index 100% rename from cypress/support/step_definitions/Post/the_post_shows_up_on_the_newsfeed_at_position_{int}.js rename to cypress/support/step_definitions/post/Post/the_post_shows_up_on_the_newsfeed_at_position_{int}.js diff --git a/cypress/support/step_definitions/Search.Results/I_click_on_the_next_page_button.js b/cypress/support/step_definitions/search/Results/I_click_on_the_next_page_button.js similarity index 100% rename from cypress/support/step_definitions/Search.Results/I_click_on_the_next_page_button.js rename to cypress/support/step_definitions/search/Results/I_click_on_the_next_page_button.js diff --git a/cypress/support/step_definitions/Search.Results/I_click_on_the_{string}_tab.js b/cypress/support/step_definitions/search/Results/I_click_on_the_{string}_tab.js similarity index 100% rename from cypress/support/step_definitions/Search.Results/I_click_on_the_{string}_tab.js rename to cypress/support/step_definitions/search/Results/I_click_on_the_{string}_tab.js diff --git a/cypress/support/step_definitions/Search.Results/I_should_not_see_post_results.js b/cypress/support/step_definitions/search/Results/I_should_not_see_post_results.js similarity index 100% rename from cypress/support/step_definitions/Search.Results/I_should_not_see_post_results.js rename to cypress/support/step_definitions/search/Results/I_should_not_see_post_results.js diff --git a/cypress/support/step_definitions/Search.Results/I_should_see_page_{string}.js b/cypress/support/step_definitions/search/Results/I_should_see_page_{string}.js similarity index 100% rename from cypress/support/step_definitions/Search.Results/I_should_see_page_{string}.js rename to cypress/support/step_definitions/search/Results/I_should_see_page_{string}.js diff --git a/cypress/support/step_definitions/Search.Results/I_should_see_pagination_buttons.js b/cypress/support/step_definitions/search/Results/I_should_see_pagination_buttons.js similarity index 100% rename from cypress/support/step_definitions/Search.Results/I_should_see_pagination_buttons.js rename to cypress/support/step_definitions/search/Results/I_should_see_pagination_buttons.js diff --git a/cypress/support/step_definitions/Search.Results/I_should_see_the_{string}_tab_as_active.js b/cypress/support/step_definitions/search/Results/I_should_see_the_{string}_tab_as_active.js similarity index 100% rename from cypress/support/step_definitions/Search.Results/I_should_see_the_{string}_tab_as_active.js rename to cypress/support/step_definitions/search/Results/I_should_see_the_{string}_tab_as_active.js diff --git a/cypress/support/step_definitions/Search.Results/I_should_see_{int}_group_results.js b/cypress/support/step_definitions/search/Results/I_should_see_{int}_group_results.js similarity index 100% rename from cypress/support/step_definitions/Search.Results/I_should_see_{int}_group_results.js rename to cypress/support/step_definitions/search/Results/I_should_see_{int}_group_results.js diff --git a/cypress/support/step_definitions/Search.Results/I_should_see_{int}_hashtag_results.js b/cypress/support/step_definitions/search/Results/I_should_see_{int}_hashtag_results.js similarity index 100% rename from cypress/support/step_definitions/Search.Results/I_should_see_{int}_hashtag_results.js rename to cypress/support/step_definitions/search/Results/I_should_see_{int}_hashtag_results.js diff --git a/cypress/support/step_definitions/Search.Results/I_should_see_{int}_post_results.js b/cypress/support/step_definitions/search/Results/I_should_see_{int}_post_results.js similarity index 100% rename from cypress/support/step_definitions/Search.Results/I_should_see_{int}_post_results.js rename to cypress/support/step_definitions/search/Results/I_should_see_{int}_post_results.js diff --git a/cypress/support/step_definitions/Search.Results/I_should_see_{int}_user_results.js b/cypress/support/step_definitions/search/Results/I_should_see_{int}_user_results.js similarity index 100% rename from cypress/support/step_definitions/Search.Results/I_should_see_{int}_user_results.js rename to cypress/support/step_definitions/search/Results/I_should_see_{int}_user_results.js diff --git a/cypress/support/step_definitions/Search/I_select_a_post_entry.js b/cypress/support/step_definitions/search/Search/I_select_a_post_entry.js similarity index 100% rename from cypress/support/step_definitions/Search/I_select_a_post_entry.js rename to cypress/support/step_definitions/search/Search/I_select_a_post_entry.js diff --git a/cypress/support/step_definitions/Search/I_select_a_user_entry.js b/cypress/support/step_definitions/search/Search/I_select_a_user_entry.js similarity index 100% rename from cypress/support/step_definitions/Search/I_select_a_user_entry.js rename to cypress/support/step_definitions/search/Search/I_select_a_user_entry.js diff --git a/cypress/support/step_definitions/Search/I_should_have_one_item_in_the_select_dropdown.js b/cypress/support/step_definitions/search/Search/I_should_have_one_item_in_the_select_dropdown.js similarity index 100% rename from cypress/support/step_definitions/Search/I_should_have_one_item_in_the_select_dropdown.js rename to cypress/support/step_definitions/search/Search/I_should_have_one_item_in_the_select_dropdown.js diff --git a/cypress/support/step_definitions/Search/I_should_not_see_posts_without_the_searched-for_term_in_the_select_dropdown.js b/cypress/support/step_definitions/search/Search/I_should_not_see_posts_without_the_searched-for_term_in_the_select_dropdown.js similarity index 100% rename from cypress/support/step_definitions/Search/I_should_not_see_posts_without_the_searched-for_term_in_the_select_dropdown.js rename to cypress/support/step_definitions/search/Search/I_should_not_see_posts_without_the_searched-for_term_in_the_select_dropdown.js diff --git a/cypress/support/step_definitions/Search/I_should_see_posts_with_the_searched-for_term_in_the_select_dropdown.js b/cypress/support/step_definitions/search/Search/I_should_see_posts_with_the_searched-for_term_in_the_select_dropdown.js similarity index 100% rename from cypress/support/step_definitions/Search/I_should_see_posts_with_the_searched-for_term_in_the_select_dropdown.js rename to cypress/support/step_definitions/search/Search/I_should_see_posts_with_the_searched-for_term_in_the_select_dropdown.js diff --git a/cypress/support/step_definitions/Search/I_should_see_the_following_posts_on_the_search_results_page.js b/cypress/support/step_definitions/search/Search/I_should_see_the_following_posts_on_the_search_results_page.js similarity index 100% rename from cypress/support/step_definitions/Search/I_should_see_the_following_posts_on_the_search_results_page.js rename to cypress/support/step_definitions/search/Search/I_should_see_the_following_posts_on_the_search_results_page.js diff --git a/cypress/support/step_definitions/Search/I_should_see_the_following_users_in_the_select_dropdown.js b/cypress/support/step_definitions/search/Search/I_should_see_the_following_users_in_the_select_dropdown.js similarity index 100% rename from cypress/support/step_definitions/Search/I_should_see_the_following_users_in_the_select_dropdown.js rename to cypress/support/step_definitions/search/Search/I_should_see_the_following_users_in_the_select_dropdown.js diff --git a/cypress/support/step_definitions/Search/I_type_{string}_and_press_Enter.js b/cypress/support/step_definitions/search/Search/I_type_{string}_and_press_Enter.js similarity index 100% rename from cypress/support/step_definitions/Search/I_type_{string}_and_press_Enter.js rename to cypress/support/step_definitions/search/Search/I_type_{string}_and_press_Enter.js diff --git a/cypress/support/step_definitions/Search/I_type_{string}_and_press_escape.js b/cypress/support/step_definitions/search/Search/I_type_{string}_and_press_escape.js similarity index 100% rename from cypress/support/step_definitions/Search/I_type_{string}_and_press_escape.js rename to cypress/support/step_definitions/search/Search/I_type_{string}_and_press_escape.js diff --git a/cypress/support/step_definitions/Search/the_search_field_should_clear.js b/cypress/support/step_definitions/search/Search/the_search_field_should_clear.js similarity index 100% rename from cypress/support/step_definitions/Search/the_search_field_should_clear.js rename to cypress/support/step_definitions/search/Search/the_search_field_should_clear.js diff --git a/cypress/support/step_definitions/Search/the_search_parameter_equals_{string}.js b/cypress/support/step_definitions/search/Search/the_search_parameter_equals_{string}.js similarity index 100% rename from cypress/support/step_definitions/Search/the_search_parameter_equals_{string}.js rename to cypress/support/step_definitions/search/Search/the_search_parameter_equals_{string}.js diff --git a/cypress/support/step_definitions/UserProfile.ChangePassword/I_can_login_successfully.js b/cypress/support/step_definitions/settings/ChangePassword/I_can_login_successfully.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.ChangePassword/I_can_login_successfully.js rename to cypress/support/step_definitions/settings/ChangePassword/I_can_login_successfully.js diff --git a/cypress/support/step_definitions/UserProfile.ChangePassword/I_cannot_login_anymore.js b/cypress/support/step_definitions/settings/ChangePassword/I_cannot_login_anymore.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.ChangePassword/I_cannot_login_anymore.js rename to cypress/support/step_definitions/settings/ChangePassword/I_cannot_login_anymore.js diff --git a/cypress/support/step_definitions/UserProfile.ChangePassword/I_cannot_submit_the_form.js b/cypress/support/step_definitions/settings/ChangePassword/I_cannot_submit_the_form.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.ChangePassword/I_cannot_submit_the_form.js rename to cypress/support/step_definitions/settings/ChangePassword/I_cannot_submit_the_form.js diff --git a/cypress/support/step_definitions/UserProfile.ChangePassword/I_fill_the_password_form_with.js b/cypress/support/step_definitions/settings/ChangePassword/I_fill_the_password_form_with.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.ChangePassword/I_fill_the_password_form_with.js rename to cypress/support/step_definitions/settings/ChangePassword/I_fill_the_password_form_with.js diff --git a/cypress/support/step_definitions/UserProfile.ChangePassword/I_submit_the_form.js b/cypress/support/step_definitions/settings/ChangePassword/I_submit_the_form.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.ChangePassword/I_submit_the_form.js rename to cypress/support/step_definitions/settings/ChangePassword/I_submit_the_form.js diff --git a/cypress/support/step_definitions/settings/InviteCode/I_confirm_the_action_in_the_modal.js b/cypress/support/step_definitions/settings/InviteCode/I_confirm_the_action_in_the_modal.js new file mode 100644 index 000000000..0d8718170 --- /dev/null +++ b/cypress/support/step_definitions/settings/InviteCode/I_confirm_the_action_in_the_modal.js @@ -0,0 +1,6 @@ +import { defineStep } from '@badeball/cypress-cucumber-preprocessor' + +defineStep('I confirm the action in the modal', () => { + cy.get('[data-test="confirm-modal"]').should('be.visible') + cy.get('[data-test="confirm-button"]').click() +}) diff --git a/cypress/support/step_definitions/settings/InviteCode/I_generate_a_new_invite_code.js b/cypress/support/step_definitions/settings/InviteCode/I_generate_a_new_invite_code.js new file mode 100644 index 000000000..5b604e837 --- /dev/null +++ b/cypress/support/step_definitions/settings/InviteCode/I_generate_a_new_invite_code.js @@ -0,0 +1,5 @@ +import { defineStep } from '@badeball/cypress-cucumber-preprocessor' + +defineStep('I generate a new invite code', () => { + cy.get('.generate-invite-code').click() +}) diff --git a/cypress/support/step_definitions/settings/InviteCode/I_generate_a_new_invite_code_with_comment_{string}.js b/cypress/support/step_definitions/settings/InviteCode/I_generate_a_new_invite_code_with_comment_{string}.js new file mode 100644 index 000000000..9556223e8 --- /dev/null +++ b/cypress/support/step_definitions/settings/InviteCode/I_generate_a_new_invite_code_with_comment_{string}.js @@ -0,0 +1,6 @@ +import { defineStep } from '@badeball/cypress-cucumber-preprocessor' + +defineStep('I generate a new invite code with comment {string}', (comment) => { + cy.get('.create-invitation input').type(comment) + cy.get('.generate-invite-code').click() +}) diff --git a/cypress/support/step_definitions/settings/InviteCode/I_invalidate_the_first_invite_code.js b/cypress/support/step_definitions/settings/InviteCode/I_invalidate_the_first_invite_code.js new file mode 100644 index 000000000..729b5bce0 --- /dev/null +++ b/cypress/support/step_definitions/settings/InviteCode/I_invalidate_the_first_invite_code.js @@ -0,0 +1,5 @@ +import { defineStep } from '@badeball/cypress-cucumber-preprocessor' + +defineStep('I invalidate the first invite code', () => { + cy.get('.invitation .invalidate-button').first().click() +}) diff --git a/cypress/support/step_definitions/settings/InviteCode/I_see_the_comment_{string}_on_an_invite_code.js b/cypress/support/step_definitions/settings/InviteCode/I_see_the_comment_{string}_on_an_invite_code.js new file mode 100644 index 000000000..98172e0fc --- /dev/null +++ b/cypress/support/step_definitions/settings/InviteCode/I_see_the_comment_{string}_on_an_invite_code.js @@ -0,0 +1,5 @@ +import { defineStep } from '@badeball/cypress-cucumber-preprocessor' + +defineStep('I see the comment {string} on an invite code', (comment) => { + cy.get('.invitation .comment').should('contain', comment) +}) diff --git a/cypress/support/step_definitions/settings/InviteCode/I_see_the_invite_code_list_title_with_count.js b/cypress/support/step_definitions/settings/InviteCode/I_see_the_invite_code_list_title_with_count.js new file mode 100644 index 000000000..5787292ec --- /dev/null +++ b/cypress/support/step_definitions/settings/InviteCode/I_see_the_invite_code_list_title_with_count.js @@ -0,0 +1,6 @@ +import { defineStep } from '@badeball/cypress-cucumber-preprocessor' + +defineStep('I see the invite code list title with count', () => { + cy.get('.invite-code-list__title').should('be.visible') + cy.get('.invite-code-list__count').should('be.visible').and('contain', '/') +}) diff --git a/cypress/support/step_definitions/settings/InviteCode/the_invite_code_count_has_decreased.js b/cypress/support/step_definitions/settings/InviteCode/the_invite_code_count_has_decreased.js new file mode 100644 index 000000000..0f28da0c5 --- /dev/null +++ b/cypress/support/step_definitions/settings/InviteCode/the_invite_code_count_has_decreased.js @@ -0,0 +1,5 @@ +import { defineStep } from '@badeball/cypress-cucumber-preprocessor' + +defineStep('the invite code count has decreased', () => { + cy.get('.invite-code-list__count').should('contain', '(0/') +}) diff --git a/cypress/support/step_definitions/settings/InviteCode/the_invite_code_count_has_increased.js b/cypress/support/step_definitions/settings/InviteCode/the_invite_code_count_has_increased.js new file mode 100644 index 000000000..61d2ecf3f --- /dev/null +++ b/cypress/support/step_definitions/settings/InviteCode/the_invite_code_count_has_increased.js @@ -0,0 +1,5 @@ +import { defineStep } from '@badeball/cypress-cucumber-preprocessor' + +defineStep('the invite code count has increased', () => { + cy.get('.invite-code-list__count').should('contain', '(1/') +}) diff --git a/cypress/support/step_definitions/UserProfile.NameDescriptionLocation/I_can_see_my_new_name_{string}_when_I_click_on_my_profile_picture_in_the_top_right.js b/cypress/support/step_definitions/settings/NameDescriptionLocation/I_can_see_my_new_name_{string}_when_I_click_on_my_profile_picture_in_the_top_right.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.NameDescriptionLocation/I_can_see_my_new_name_{string}_when_I_click_on_my_profile_picture_in_the_top_right.js rename to cypress/support/step_definitions/settings/NameDescriptionLocation/I_can_see_my_new_name_{string}_when_I_click_on_my_profile_picture_in_the_top_right.js diff --git a/cypress/support/step_definitions/UserProfile.NameDescriptionLocation/I_have_the_following_self-description.js b/cypress/support/step_definitions/settings/NameDescriptionLocation/I_have_the_following_self-description.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.NameDescriptionLocation/I_have_the_following_self-description.js rename to cypress/support/step_definitions/settings/NameDescriptionLocation/I_have_the_following_self-description.js diff --git a/cypress/support/step_definitions/UserProfile.NameDescriptionLocation/I_save_{string}_as_my_location.js b/cypress/support/step_definitions/settings/NameDescriptionLocation/I_save_{string}_as_my_location.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.NameDescriptionLocation/I_save_{string}_as_my_location.js rename to cypress/support/step_definitions/settings/NameDescriptionLocation/I_save_{string}_as_my_location.js diff --git a/cypress/support/step_definitions/UserProfile.NameDescriptionLocation/I_save_{string}_as_my_new_name.js b/cypress/support/step_definitions/settings/NameDescriptionLocation/I_save_{string}_as_my_new_name.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.NameDescriptionLocation/I_save_{string}_as_my_new_name.js rename to cypress/support/step_definitions/settings/NameDescriptionLocation/I_save_{string}_as_my_new_name.js diff --git a/cypress/support/step_definitions/UserProfile.NameDescriptionLocation/they_can_see_the_following_text_in_the_info_box_below_my_avatar.js b/cypress/support/step_definitions/settings/NameDescriptionLocation/they_can_see_the_following_text_in_the_info_box_below_my_avatar.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.NameDescriptionLocation/they_can_see_the_following_text_in_the_info_box_below_my_avatar.js rename to cypress/support/step_definitions/settings/NameDescriptionLocation/they_can_see_the_following_text_in_the_info_box_below_my_avatar.js diff --git a/cypress/support/step_definitions/UserProfile.NameDescriptionLocation/they_can_see_{string}_in_the_info_box_below_my_avatar.js b/cypress/support/step_definitions/settings/NameDescriptionLocation/they_can_see_{string}_in_the_info_box_below_my_avatar.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.NameDescriptionLocation/they_can_see_{string}_in_the_info_box_below_my_avatar.js rename to cypress/support/step_definitions/settings/NameDescriptionLocation/they_can_see_{string}_in_the_info_box_below_my_avatar.js diff --git a/cypress/support/step_definitions/User.SettingNotifications/I_click_on_element_with_ID_{string}.js b/cypress/support/step_definitions/settings/Notifications/I_click_on_element_with_ID_{string}.js similarity index 100% rename from cypress/support/step_definitions/User.SettingNotifications/I_click_on_element_with_ID_{string}.js rename to cypress/support/step_definitions/settings/Notifications/I_click_on_element_with_ID_{string}.js diff --git a/cypress/support/step_definitions/User.SettingNotifications/I_click_save.js b/cypress/support/step_definitions/settings/Notifications/I_click_save.js similarity index 100% rename from cypress/support/step_definitions/User.SettingNotifications/I_click_save.js rename to cypress/support/step_definitions/settings/Notifications/I_click_save.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/I_add_a_social_media_link.js b/cypress/support/step_definitions/settings/SocialMedia/I_add_a_social_media_link.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/I_add_a_social_media_link.js rename to cypress/support/step_definitions/settings/SocialMedia/I_add_a_social_media_link.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/I_can_cancel_editing.js b/cypress/support/step_definitions/settings/SocialMedia/I_can_cancel_editing.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/I_can_cancel_editing.js rename to cypress/support/step_definitions/settings/SocialMedia/I_can_cancel_editing.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_a_social_media_link.js b/cypress/support/step_definitions/settings/SocialMedia/I_delete_a_social_media_link.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_a_social_media_link.js rename to cypress/support/step_definitions/settings/SocialMedia/I_delete_a_social_media_link.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_the_social_media_link_{string}.js b/cypress/support/step_definitions/settings/SocialMedia/I_delete_the_social_media_link_{string}.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_the_social_media_link_{string}.js rename to cypress/support/step_definitions/settings/SocialMedia/I_delete_the_social_media_link_{string}.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/I_edit_and_save_the_link.js b/cypress/support/step_definitions/settings/SocialMedia/I_edit_and_save_the_link.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/I_edit_and_save_the_link.js rename to cypress/support/step_definitions/settings/SocialMedia/I_edit_and_save_the_link.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/I_have_added_a_social_media_link.js b/cypress/support/step_definitions/settings/SocialMedia/I_have_added_a_social_media_link.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/I_have_added_a_social_media_link.js rename to cypress/support/step_definitions/settings/SocialMedia/I_have_added_a_social_media_link.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/I_have_added_the_social_media_link_{string}.js b/cypress/support/step_definitions/settings/SocialMedia/I_have_added_the_social_media_link_{string}.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/I_have_added_the_social_media_link_{string}.js rename to cypress/support/step_definitions/settings/SocialMedia/I_have_added_the_social_media_link_{string}.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/I_start_editing_a_social_media_link.js b/cypress/support/step_definitions/settings/SocialMedia/I_start_editing_a_social_media_link.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/I_start_editing_a_social_media_link.js rename to cypress/support/step_definitions/settings/SocialMedia/I_start_editing_a_social_media_link.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/the_new_social_media_link_shows_up_on_the_page.js b/cypress/support/step_definitions/settings/SocialMedia/the_new_social_media_link_shows_up_on_the_page.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/the_new_social_media_link_shows_up_on_the_page.js rename to cypress/support/step_definitions/settings/SocialMedia/the_new_social_media_link_shows_up_on_the_page.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/the_new_url_is_displayed.js b/cypress/support/step_definitions/settings/SocialMedia/the_new_url_is_displayed.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/the_new_url_is_displayed.js rename to cypress/support/step_definitions/settings/SocialMedia/the_new_url_is_displayed.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/the_old_url_is_not_displayed.js b/cypress/support/step_definitions/settings/SocialMedia/the_old_url_is_not_displayed.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/the_old_url_is_not_displayed.js rename to cypress/support/step_definitions/settings/SocialMedia/the_old_url_is_not_displayed.js diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/they_should_be_able_to_see_my_social_media_links.js b/cypress/support/step_definitions/settings/SocialMedia/they_should_be_able_to_see_my_social_media_links.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.SocialMedia/they_should_be_able_to_see_my_social_media_links.js rename to cypress/support/step_definitions/settings/SocialMedia/they_should_be_able_to_see_my_social_media_links.js diff --git a/cypress/support/step_definitions/User.Authentication/I_am_logged_in_with_username_{string}.js b/cypress/support/step_definitions/user/Authentication/I_am_logged_in_with_username_{string}.js similarity index 100% rename from cypress/support/step_definitions/User.Authentication/I_am_logged_in_with_username_{string}.js rename to cypress/support/step_definitions/user/Authentication/I_am_logged_in_with_username_{string}.js diff --git a/cypress/support/step_definitions/UserProfile.Avatar/I_cannot_upload_a_picture.js b/cypress/support/step_definitions/user/Avatar/I_cannot_upload_a_picture.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.Avatar/I_cannot_upload_a_picture.js rename to cypress/support/step_definitions/user/Avatar/I_cannot_upload_a_picture.js diff --git a/cypress/support/step_definitions/UserProfile.Avatar/I_should_be_able_to_change_my_profile_picture.js b/cypress/support/step_definitions/user/Avatar/I_should_be_able_to_change_my_profile_picture.js similarity index 100% rename from cypress/support/step_definitions/UserProfile.Avatar/I_should_be_able_to_change_my_profile_picture.js rename to cypress/support/step_definitions/user/Avatar/I_should_be_able_to_change_my_profile_picture.js diff --git a/cypress/support/step_definitions/User.Block/I_block_the_user_{string}.js b/cypress/support/step_definitions/user/Block/I_block_the_user_{string}.js similarity index 100% rename from cypress/support/step_definitions/User.Block/I_block_the_user_{string}.js rename to cypress/support/step_definitions/user/Block/I_block_the_user_{string}.js diff --git a/cypress/support/step_definitions/User.Block/I_should_not_see_{string}_button.js b/cypress/support/step_definitions/user/Block/I_should_not_see_{string}_button.js similarity index 100% rename from cypress/support/step_definitions/User.Block/I_should_not_see_{string}_button.js rename to cypress/support/step_definitions/user/Block/I_should_not_see_{string}_button.js diff --git a/cypress/support/step_definitions/User.Block/I_should_see_no_users_in_my_blocked_users_list.js b/cypress/support/step_definitions/user/Block/I_should_see_no_users_in_my_blocked_users_list.js similarity index 100% rename from cypress/support/step_definitions/User.Block/I_should_see_no_users_in_my_blocked_users_list.js rename to cypress/support/step_definitions/user/Block/I_should_see_no_users_in_my_blocked_users_list.js diff --git a/cypress/support/step_definitions/User.Block/I_should_see_the_{string}_button.js b/cypress/support/step_definitions/user/Block/I_should_see_the_{string}_button.js similarity index 100% rename from cypress/support/step_definitions/User.Block/I_should_see_the_{string}_button.js rename to cypress/support/step_definitions/user/Block/I_should_see_the_{string}_button.js diff --git a/cypress/support/step_definitions/User.Block/I_{string}_see_{string}_from_the_content_menu_in_the_user_info_box.js b/cypress/support/step_definitions/user/Block/I_{string}_see_{string}_from_the_content_menu_in_the_user_info_box.js similarity index 100% rename from cypress/support/step_definitions/User.Block/I_{string}_see_{string}_from_the_content_menu_in_the_user_info_box.js rename to cypress/support/step_definitions/user/Block/I_{string}_see_{string}_from_the_content_menu_in_the_user_info_box.js diff --git a/cypress/support/step_definitions/User.Block/a_user_has_blocked_me.js b/cypress/support/step_definitions/user/Block/a_user_has_blocked_me.js similarity index 100% rename from cypress/support/step_definitions/User.Block/a_user_has_blocked_me.js rename to cypress/support/step_definitions/user/Block/a_user_has_blocked_me.js diff --git a/cypress/support/step_definitions/User.Block/they_should_not_see_the_comment_form.js b/cypress/support/step_definitions/user/Block/they_should_not_see_the_comment_form.js similarity index 100% rename from cypress/support/step_definitions/User.Block/they_should_not_see_the_comment_form.js rename to cypress/support/step_definitions/user/Block/they_should_not_see_the_comment_form.js diff --git a/cypress/support/step_definitions/User.Block/they_should_see_a_text_explaining_why_commenting_is_not_possible.js b/cypress/support/step_definitions/user/Block/they_should_see_a_text_explaining_why_commenting_is_not_possible.js similarity index 100% rename from cypress/support/step_definitions/User.Block/they_should_see_a_text_explaining_why_commenting_is_not_possible.js rename to cypress/support/step_definitions/user/Block/they_should_see_a_text_explaining_why_commenting_is_not_possible.js diff --git a/cypress/support/step_definitions/User.Mute/I_mute_the_user_{string}.js b/cypress/support/step_definitions/user/Mute/I_mute_the_user_{string}.js similarity index 100% rename from cypress/support/step_definitions/User.Mute/I_mute_the_user_{string}.js rename to cypress/support/step_definitions/user/Mute/I_mute_the_user_{string}.js diff --git a/cypress/support/step_definitions/User.Mute/the_list_of_posts_of_this_user_is_empty.js b/cypress/support/step_definitions/user/Mute/the_list_of_posts_of_this_user_is_empty.js similarity index 100% rename from cypress/support/step_definitions/User.Mute/the_list_of_posts_of_this_user_is_empty.js rename to cypress/support/step_definitions/user/Mute/the_list_of_posts_of_this_user_is_empty.js diff --git a/cypress/support/step_definitions/User.Mute/the_search_should_contain_the_annoying_user.js b/cypress/support/step_definitions/user/Mute/the_search_should_contain_the_annoying_user.js similarity index 100% rename from cypress/support/step_definitions/User.Mute/the_search_should_contain_the_annoying_user.js rename to cypress/support/step_definitions/user/Mute/the_search_should_contain_the_annoying_user.js diff --git a/cypress/support/step_definitions/User.Mute/the_search_should_not_contain_posts_by_the_annoying_user.js b/cypress/support/step_definitions/user/Mute/the_search_should_not_contain_posts_by_the_annoying_user.js similarity index 100% rename from cypress/support/step_definitions/User.Mute/the_search_should_not_contain_posts_by_the_annoying_user.js rename to cypress/support/step_definitions/user/Mute/the_search_should_not_contain_posts_by_the_annoying_user.js diff --git a/package.json b/package.json index ca596182e..0777d7a42 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "cypress-cucumber-preprocessor": { "stepDefinitions": [ - "cypress/support/step_definitions/[filepart]/**/*.js", + "cypress/support/step_definitions/[filepath]/**/*.js", "cypress/support/step_definitions/common/**/*.js" ], "json": { diff --git a/webapp/components/HeaderMenu/HeaderMenu.vue b/webapp/components/HeaderMenu/HeaderMenu.vue index c42b7fe68..78ed8feb3 100644 --- a/webapp/components/HeaderMenu/HeaderMenu.vue +++ b/webapp/components/HeaderMenu/HeaderMenu.vue @@ -92,11 +92,7 @@