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

form validation behat test fails in clean

    XMLWordPrintable

Details

    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-62949-master
    • 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

    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

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Simey Lameze Simey Lameze
              Jun Pataleta Jun Pataleta
              CiBoT CiBoT
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/18