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

Dynamic tab content remains when switching tabs (so Behat sees old content)

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide

      Covered by CI, running the following:

      $ bin/moodle-docker-compose exec --user www-data webserver php admin/tool/behat/cli/run.php --name="Configure access to reports based on intended audience"
      

      Show
      Covered by CI, running the following: $ bin/moodle-docker-compose exec --user www-data webserver php admin/tool/behat/cli/run.php --name="Configure access to reports based on intended audience"

    Description

      When writing Behat tests, and switching between dynamic tabs, the old tab content remains in the DOM, leading to:

      1. False positives if what you expect to see is not visible on current tab, but existed on previous tab;
      2. Difficulty asserting content of current tab, when previous tab had similar/same elements on it

      Attachments

        Issue Links

          Activity

            People

              davidcarrillo David Carrillo
              pholden Paul Holden
              Mikel Martín Corrales Mikel Martín Corrales
              Ilya Tregubov Ilya Tregubov
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Clockify

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