Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52949

Delete message step fails with parallel run

XMLWordPrintable

    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_30_STABLE
    • wip-mdl-52949
    • Hide
      1. initialize behat with 3 parallel run

        php admin/tool/behat/cli/init.php -j=3

      2. Run behat and make sure mentioned steps don't fail (Fail happens in 420 and 560 lines)

        php admin/tool/behat/cli/run.php

      NOTE: Execute with latest selenium 2.50.1

      Show
      initialize behat with 3 parallel run php admin/tool/behat/cli/init.php -j=3 Run behat and make sure mentioned steps don't fail (Fail happens in 420 and 560 lines) php admin/tool/behat/cli/run.php NOTE: Execute with latest selenium 2.50.1

      Following fails with 3 parallel run:

      01. The "((//html/descendant-or-self::*[@id = 'message_2'])[1]//a[./@href][(((./@id = 'Delete' or contains(normalize-space(string(.)), 'Delete')) or contains(./@title, 'Delete') or contains(./@rel, 'Delete')) or .//img[contains(./@alt, 'Delete')])]|(//html/descendant-or-self::*[@id = 'message_2'])[1]//*[./@role = 'link'][((./@id = 'Delete' or contains(./@value, 'Delete')) or contains(./@title, 'Delete') or contains(normalize-space(string(.)), 'Delete'))])[1]" xpath node is not visible and it should be visible
          In step `And I click on "Delete" "link" in the "#message_2" "css_element"'. # behat_general::i_click_on_in_the()
          From scenario `Test basic functionality of deleting a message'.             # /home/rajesh/moodles/stable/moodle/message/tests/behat/delete_messages.feature:18
          Of feature `Check that messages can be deleted'.                            # /home/rajesh/moodles/stable/moodle/message/tests/behat/delete_messages.feature
       
      02. The "((//html/descendant-or-self::*[@id = 'message_1'])[1]//a[./@href][(((./@id = 'Delete' or contains(normalize-space(string(.)), 'Delete')) or contains(./@title, 'Delete') or contains(./@rel, 'Delete')) or .//img[contains(./@alt, 'Delete')])]|(//html/descendant-or-self::*[@id = 'message_1'])[1]//*[./@role = 'link'][((./@id = 'Delete' or contains(./@value, 'Delete')) or contains(./@title, 'Delete') or contains(normalize-space(string(.)), 'Delete'))])[1]" xpath node is not visible and it should be visible
          In step `And I click on "Delete" "link" in the "#message_1" "css_element"'.  # behat_general::i_click_on_in_the()
          From scenario `Check that we can prevent some users from deleting messages'. # /home/rajesh/moodles/stable/moodle/message/tests/behat/delete_messages.feature:105
          Of feature `Check that messages can be deleted'.                             # /home/rajesh/moodles/stable/moodle/message/tests/behat/delete_messages.feature
      

      Steps to replicate:

      1. Initialize behat with 3 parallel run
      2. Run behat and make sure there is no fail around 420 and 560.

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Simey Lameze Simey Lameze
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.