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

Check and fix feature files out from tests/behat directories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.9.9, 3.10.6, 3.11.2, 4.0
    • None
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE

      While doing some gherkin-list update tests it was detected that there are some behat feature files out from their expected directory:

      $ find . -name "*.feature" | xargs dirname | ag -v 'behat$'
      ./blocks/accessreview/tests
      ./blocks/accessreview/tests
      ./admin/tool/behat/tests/fixtures/core
      ./admin/tool/behat/tests/fixtures/core
      ./admin/tool/behat/tests/fixtures/theme/withfeatures
      ./admin/tool/behat/tests/fixtures/theme/withfeatures
      ./admin/tool/behat/tests/fixtures/theme/withfeatures
      ./admin/tool/behat/tests/fixtures/theme/withfeatures
      ./admin/tool/behat/tests/fixtures/theme/withfeatures
      

      The blocks/accessreview ones for sure seem to be in wrong place (in fact those are the ones causing me to search, because they have duplicate feature names and they were failing with my gherkin-lint experiments).

      I'm not sure about the admin/tool ones. Maybe they are just fixtures, not expected to be executed.

      In any case, this issue is about to check all them, moving and fixing the needed ones.

      Ciao

            Unassigned Unassigned
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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