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

"questions with images in answers and responses" scenario fails, if behat run in different screen

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Run mod/lesson/tests/behat/questions_images.feature with browser in current screen and ensure image is added in editor with text
      2. Run --tags='@mod_lesson,@editor_atto' with browser on different screen

      test it on chrome and FF.

      If possible check on safari, and phantomjs (You might find some fails, but they are either random or because of tags not included in testing instructions like @_bug_phantomjs)

      Show
      Run mod/lesson/tests/behat/questions_images.feature with browser in current screen and ensure image is added in editor with text Run --tags='@mod_lesson,@editor_atto' with browser on different screen test it on chrome and FF. If possible check on safari, and phantomjs (You might find some fails, but they are either random or because of tags not included in testing instructions like @_bug_phantomjs)
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull Master Branch:
      wip-mdl-48403

      Description

      Start behat with --name "questions with images in answers and responses" and change screen on linux, it will fail.

      Reason being, when atto tries to upload image, it expects active window and in this case it's not.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rajeshtaneja Rajesh Taneja
              Reporter:
              rajeshtaneja Rajesh Taneja
              Peer reviewer:
              Tim Hunt
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Mark Nelson
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Mar/15