Details

    • Sprint:
      2.12 Larks

      Description

      Step to reproduce:

      1. Login to forum, go to user menu -> Message
      2. Click Compose button
      3. Fill out all fields except "To" field
      4. Type your name with different letters case ( for ex: If your name User, type user)
      5. Click Send

      AR: Message is shown to your inbox folder
      ER: Message can`t send to yourself

      Note, that the message sent to yourself can`t be deleted

        Attachments

          Issue Links

            Activity

            Hide
            e_salmin Eugene Salmin added a comment -

            Pull reqeust created, unit test added

            Show
            e_salmin Eugene Salmin added a comment - Pull reqeust created, unit test added
            Hide
            ctapobep Stanislav Bashkyrtsev added a comment -

            Thanks, let's merge it when 2.12 starts (in a week I think).

            Show
            ctapobep Stanislav Bashkyrtsev added a comment - Thanks, let's merge it when 2.12 starts (in a week I think).
            Hide
            jenkins Jenkins Bot added a comment -

            SUCCESS: Integrated in JC. Unit Tests #2586
            JC-1987 fixed. Can't send message to yourself (bignoga: 5bd311d2fb7688c8111b5dde6f8f55a89c70ae8a)

            Show
            jenkins Jenkins Bot added a comment - SUCCESS: Integrated in JC. Unit Tests #2586 JC-1987 fixed. Can't send message to yourself (bignoga: 5bd311d2fb7688c8111b5dde6f8f55a89c70ae8a )
            Hide
            julik Julia Atlygina added a comment -

            Alexandr Muzhichok could you please help Natalia Boryakova to test this issue?

            Show
            julik Julia Atlygina added a comment - Alexandr Muzhichok could you please help Natalia Boryakova to test this issue?
            Hide
            Muzhichok Alexandr Muzhichok added a comment -

            Julia Atlygina, ok
            Natalia Boryakova, let's do it together

            Show
            Muzhichok Alexandr Muzhichok added a comment - Julia Atlygina , ok Natalia Boryakova , let's do it together
            Hide
            nata_ck Natalia Boryakova added a comment - - edited

            Environment:
            JCommune 2.12.2588.bcb03a7 (QA)
            Browsers: FireFox 31.0, Chrome 37.0.2062.103 m

            Test Scenario 1:
            Receiver's name exactly matches username.
            Pre-conditions:
            User has permission to send Private Messages.
            Step to reproduce:
            1. Login to forum, go to user menu -> Message
            2. Click Compose button
            3. Fill out all fields with valid test data except "To" field
            4.Type name that exactly matches User name in language, letter case, so on ( for ex: If your name user, type user)
            Click Send
            AR: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field.
            ER: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field.
            AR=ER.

            Test Scenario 2:
            Username is in Endlish. Receiver's name has different letter case
            Pre-conditions:
            User with username consisting of English letters is created.
            User has permission to send Private Messages
            Step to reproduce:
            1. Login to forum, go to user menu -> Message
            2. Click Compose button
            3. Fill out all fields with valid test data except "To" field
            4. Type name that matches User name but with letters in different case. ( for ex: If your name user, type UsEr)
            Click Send
            AR: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field.
            ER: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field.
            AR=ER.

            Test Scenario 3:
            Username is in Russian. Receiver's name has different letter case
            Pre-conditions:
            User with username consisting of Russian letters is created.
            User has permission to send Private Messages
            Step to reproduce:
            #Login to forum, go to user menu -> Message
            #Click Compose button
            #Fill out all fields with valid test data except "To" field
            #Type name that matches User name but with letters in different case. ( for ex: If your name Маша, type мАША)
            Click Send
            AR: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field.
            ER: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field.

            Test Scenario 4:
            Accented letters in Username. Receiver's name has different letter case
            Pre-conditions:
            User with username consisting of accented letters is created.
            User has permission to send Private Messages.
            Step to reproduce:
            1. Login to forum, go to user menu -> Message
            2. Click Compose button
            3. Fill out all fields with valid test data except "To" field
            4. Type name that matches User name but with letters in different case.
            Click Send
            AR: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field.
            ER: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field.

            Regression tests

            Test Results
            1 Send private message through User menu -> Messages. PASS
            2 Send private message to the specific User through his profile. PASS
            3 Save new private message in Drafts. PASS
            4 Receive private message. PASS
            5 Send private message to yourself through User's Profile. PASS
            6 Save private message addressed to yourself. PASS
            7 Send private message addressed to unexisting user. PASS
            8 Save private message addressed to unexisting user PASS
            9 Preview private message addressed to yourself PASS
            10 View. Form for private message PASS

            Tests result Issue can be closed

            Show
            nata_ck Natalia Boryakova added a comment - - edited Environment: JCommune 2.12.2588.bcb03a7 (QA) Browsers: FireFox 31.0, Chrome 37.0.2062.103 m Test Scenario 1: Receiver's name exactly matches username. Pre-conditions: User has permission to send Private Messages. Step to reproduce : 1. Login to forum, go to user menu -> Message 2. Click Compose button 3. Fill out all fields with valid test data except "To" field 4.Type name that exactly matches User name in language, letter case, so on ( for ex: If your name user, type user) Click Send AR: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field. ER: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field. AR = ER . Test Scenario 2: Username is in Endlish. Receiver's name has different letter case Pre-conditions: User with username consisting of English letters is created. User has permission to send Private Messages Step to reproduce : 1. Login to forum, go to user menu -> Message 2. Click Compose button 3. Fill out all fields with valid test data except "To" field 4. Type name that matches User name but with letters in different case. ( for ex: If your name user, type UsEr) Click Send AR: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field. ER: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field. AR = ER . Test Scenario 3: Username is in Russian. Receiver's name has different letter case Pre-conditions: User with username consisting of Russian letters is created. User has permission to send Private Messages Step to reproduce: #Login to forum, go to user menu -> Message #Click Compose button #Fill out all fields with valid test data except "To" field #Type name that matches User name but with letters in different case. ( for ex: If your name Маша, type мАША) Click Send AR: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field. ER: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field. Test Scenario 4: Accented letters in Username. Receiver's name has different letter case Pre-conditions: User with username consisting of accented letters is created. User has permission to send Private Messages. Step to reproduce: 1. Login to forum, go to user menu -> Message 2. Click Compose button 3. Fill out all fields with valid test data except "To" field 4. Type name that matches User name but with letters in different case. Click Send AR: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field. ER: Message is not sent. Error message "Sending messages to yourself is not allowed" appears under "To" field. Regression tests № Test Results 1 Send private message through User menu -> Messages. PASS 2 Send private message to the specific User through his profile. PASS 3 Save new private message in Drafts. PASS 4 Receive private message. PASS 5 Send private message to yourself through User's Profile. PASS 6 Save private message addressed to yourself. PASS 7 Send private message addressed to unexisting user. PASS 8 Save private message addressed to unexisting user PASS 9 Preview private message addressed to yourself PASS 10 View. Form for private message PASS Tests result Issue can be closed

              People

              • Assignee:
                Muzhichok Alexandr Muzhichok
                Reporter:
                QAPasha Paul Panaitov
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel