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

Behat - add an option to take screenshots on failure

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. git fetch git://github.com/dmonllao/moodle.git MDL-43439_master-testme
      2. git cherry-pick f4a74462a4382026e4327522d981e78aa8e53215
      3. Set $CFG->behat_screenshots_path = '/a/valid/path/with/write/permissions';
      4. Run behat with --tags @MDL-43439
      5. The single scenario you are running SHOULD fail
      6. Open /a/valid/path/with/write/permissions
      7. You SHOULD find a screenshot showing all the page
      Show
      git fetch git://github.com/dmonllao/moodle.git MDL-43439 _master-testme git cherry-pick f4a74462a4382026e4327522d981e78aa8e53215 Set $CFG->behat_screenshots_path = '/a/valid/path/with/write/permissions'; Run behat with --tags @ MDL-43439 The single scenario you are running SHOULD fail Open /a/valid/path/with/write/permissions You SHOULD find a screenshot showing all the page
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-43439_master

      Description

      Sooooooo good for phantomjs.

        Attachments

          Activity

            People

            Assignee:
            dmonllao David Monllaó
            Reporter:
            damyon Damyon Wiese
            Peer reviewer:
            Damyon Wiese
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Eloy Lafuente (stronk7)
            Participants:
            Component watchers:
            Andrew Nicols, 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/Mar/14