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

Recent change causing hundred of behat failures with Firefox

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_39_STABLE
    • MDL-70075-39-2
    • MDL-70075-master-2
    • Hide

      Requirements

      • You need a course with some students
      • You need the Axe Accessibility browser extension

      Test 1

      1. Log in as admin
      2. Enter the course
      3. Go to the course participants page
      4. From the filters above the page, click on the 'filter type' field (that's the dropdown menu with 'Select' text in it), then click on the field again so the dropdown menu is collapsed, but still highlighted.
      5. Verify that you can move between the options of the menu by pressing up and down keys on your keyboard
      6. Move between the options until you select 'Roles' and then press Enter
      7. Verify that the 'filter type' field is now disabled and a new field has appeared next to it.
      8. Click on the new field and then press the down arrow key multiple times to move between the options
      9. Verify that the selected option is highlighted clearly when moving between the options with keyboard
      10. Add 3 roles to the filter
      11. Press tab
      12. Verify that a box around the selected roles is highlighted
      13. Verify that you can move between the selected roles by pressing up and down keys on the keyboard
      14. Verify that you can delete the selected role by pressing Enter
      15. Open the developer console and go to the axe tab, and then Analyze the page
      16. Verify that you don't see the 'Elements must only use allowed ARIA attributes' error

       


      Regression test from MDL-68378:

      Requirements

      You need a course with at least:

      • 1 forum
      • 3 other activities of any type
      • at least 2 students
      • at least one student has posted in the forum

      This issue should be tested with:

      • all supported browsers.
      • a Mac computer as well as a non-Mac computer

      Test 2

      1. Log in as admin
      2. Go to the course and then go to the participants page
      3. Select the checkbox for one of the students
      4. Press the tab key several times until the dropdown element for 'With selected users...' get focus
      5. Press the down arrow key on your keyboard twice
      6. Verify that the dropdown shows 'Add a new note'
      7. Press Enter
        1. Verify that the 'Add a new note to 1 person' modal is shown
      8. Close the modal
      9. Use the keyboard to return focus to the dropdown
      10. Use the up/down arrows to choose the "Add a new note to 1 person"
      11. Press tab
        1. Verify that the 'Add a new note to 1 person' modal is shown
      12. Use the keyboard to return focus to the dropdown
      13. Use the up/down arrows to choose the "Add a new note to 1 person"
      14. Click somewhere outside of the dropdown
        1. Verify that the 'Add a new note to 1 person' modal is shown
      15. Using the mouse click on the dropdown to open it
      16. Click on the 'Add a new note' option
        1. Verify that the 'Add a new note to 1 person' modal is shown
      Show
      Requirements You need a course with some students You need the Axe Accessibility browser extension Test 1 Log in as admin Enter the course Go to the course participants page From the filters above the page, click on the 'filter type' field (that's the dropdown menu with 'Select' text in it), then click on the field again so the dropdown menu is collapsed, but still highlighted. Verify that you can move between the options of the menu by pressing up and down keys on your keyboard Move between the options until you select 'Roles' and then press Enter Verify that the 'filter type' field is now disabled and a new field has appeared next to it. Click on the new field and then press the down arrow key multiple times to move between the options Verify that the selected option is highlighted clearly when moving between the options with keyboard Add 3 roles to the filter Press tab Verify that a box around the selected roles is highlighted Verify that you can move between the selected roles by pressing up and down keys on the keyboard Verify that you can delete the selected role by pressing Enter Open the developer console and go to the axe tab, and then Analyze the page Verify that you don't see the 'Elements must only use allowed ARIA attributes' error   Regression test from  MDL-68378 : Requirements You need a course with at least: 1 forum 3 other activities of any type at least 2 students at least one student has posted in the forum This issue should be tested with: all supported browsers. a Mac computer as well as a non-Mac computer Test 2 Log in as admin Go to the course and then go to the participants page Select the checkbox for one of the students Press the tab key several times until the dropdown element for 'With selected users...' get focus Press the down arrow key on your keyboard twice Verify that the dropdown shows 'Add a new note' Press Enter Verify that the 'Add a new note to 1 person' modal is shown Close the modal Use the keyboard to return focus to the dropdown Use the up/down arrows to choose the "Add a new note to 1 person" Press tab Verify that the 'Add a new note to 1 person' modal is shown Use the keyboard to return focus to the dropdown Use the up/down arrows to choose the "Add a new note to 1 person" Click somewhere outside of the dropdown Verify that the 'Add a new note to 1 person' modal is shown Using the mouse click on the dropdown to open it Click on the 'Add a new note' option Verify that the 'Add a new note to 1 person' modal is shown

    Description

      All the 39, 310 and master branches have started to end with hundreds of behat failures using Firefox. Some links follow:

      Without having researched about it, given the commits where it has started to fail... it seems that this is some regression caused by MDL-68167

      We need to ensure that the feature is working ok with all browsers, both humans and automated testing.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              stronk7 Eloy Lafuente (stronk7)
              Shamim Rezaie Shamim Rezaie
              Jun Pataleta Jun Pataleta
              Anna Carissa Sadia Anna Carissa Sadia
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Nov/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 1 hour, 31 minutes
                  4d 1h 31m