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

form validation behat test fails in clean

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Covered by automated tests but to test manually run:

      php admin/behat/cli/ini.php -a
      ./vendor/bin/behat --config=/path/to/config.php --profile=chrome `pwd`/calendar/tests/behat/calendar.feature
      

      Show
      Covered by automated tests but to test manually run: php admin/behat/cli/ini.php -a ./vendor/bin/behat --config=/path/to/config.php --profile=chrome `pwd`/calendar/tests/behat/calendar.feature
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Pull Master Branch:
      MDL-62949-master

      Description

      001 Scenario: Attempt to create event without fill required fields should display validation errors # /var/www/html/calendar/tests/behat/calendar.feature:159
            And I follow "Calendar"                                                                       # /var/www/html/calendar/tests/behat/calendar.feature:167
              The "(//html/.//a
              [./@href][((./@id = 'Calendar' or contains(normalize-space(string(.)), 'Calendar') or contains(./@title, 'Calendar') or contains(./@rel, 'Calendar')) or .//*[(contains(concat(' ', @class, ' '), ' icon ') or name() = 'img') and (contains(./@alt, 'Calendar') or contains(./@title, 'Calendar'))])] | //html/.//*
              [translate(./@role, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'link'][((./@id = 'Calendar' or contains(./@value, 'Calendar')) or contains(./@title, 'Calendar') or contains(normalize-space(string(.)), 'Calendar'))])[1]" xpath node is not visible and it should be visible
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Lyons
              Reporter:
              dobedobedoh Andrew Lyons
              Peer reviewer:
              Simey Lameze Simey Lameze
              Integrator:
              Jun Pataleta Jun Pataleta
              Tester:
              CiBoT CiBoT
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/18