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

Random failure with privacy scenarios setting the "Message" field

    XMLWordPrintable

Details

    • Moppies Kanban

    Description

      Basically these 2 scenarios seem to be affected:

      • Marking general enquiries as complete
      • Contacting the privacy officer

      And the error always happen after executing the step: And I set the field "Message" to "xxxxx

      Both together account > 50 failures in a month and, worse, sometimes they fail twice, ending with a failed build.

      Some examples:

      Link: https://ci.moodle.org/job/S36.05.01%20-%20Behat%20-%20Chrome%20+%20Postgres%20+%20Clean/180/

      001 Scenario: Marking general enquiries as complete                                            # /var/www/html/admin/tool/dataprivacy/tests/behat/manage_data_requests.feature:18
            And I set the field "Message" to "Hi PO! Can others access my information on your site?" # /var/www/html/admin/tool/dataprivacy/tests/behat/manage_data_requests.feature:23
              Exception: element not interactable
      

      Or, also, in the very same line:

      Link: https://ci.moodle.org/job/W37.04.01%20-%20Behat%20-%20Firefox%20+%20Postgres/194/

      001 Scenario: Marking general enquiries as complete                                            # /var/www/html/admin/tool/dataprivacy/tests/behat/manage_data_requests.feature:18
            And I set the field "Message" to "Hi PO! Can others access my information on your site?" # /var/www/html/admin/tool/dataprivacy/tests/behat/manage_data_requests.feature:23
              WebDriver\Exception\ElementNotVisible: Element is not currently visible and so may not be interacted with in
      

      And another one, same scenario, different message:

      001 Scenario: Marking general enquiries as complete                                                          # /var/www/html/admin/tool/dataprivacy/tests/behat/manage_data_requests.feature:18
            And I set the field "Message" to "Dear Mr. Privacy Officer, I'd like to know more about GDPR. Thanks!" # /var/www/html/admin/tool/dataprivacy/tests/behat/manage_data_requests.feature:30
              Exception: element not interactable
      

      This, for another scenario, but also when setting the "Message" field:

      Link:

      001 Scenario: Contacting the privacy officer        # /var/www/html/admin/tool/dataprivacy/tests/behat/contact_privacy_officer.feature:17
            And I set the field "Message" to "Hello DPO!" # /var/www/html/admin/tool/dataprivacy/tests/behat/contact_privacy_officer.feature:22
              Exception: element not interactable
      

       

      Attachments

        Activity

          People

            sarjona Sara Arjona (@sarjona)
            stronk7 Eloy Lafuente (stronk7)
            Amaia Anabitarte Amaia Anabitarte
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/May/20

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 20 minutes
                4h 20m