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

Edit PDF: Add behat tests

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.3
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide

      Ghostscript needs to be set up for the editpdf plugin (on ubuntu ghostscript is installed by default, so nothing need to be setup).

      vendor/bin/behat --config=/home/jerome/moodles/stable_master_hq/moodledata_behat/behat/behat.yml --name "Submit a PDF file as a student and annotate the PDF as a teacher"

      Test this with phantomjs and make sure this should skip.

      Show
      Ghostscript needs to be set up for the editpdf plugin (on ubuntu ghostscript is installed by default, so nothing need to be setup). vendor/bin/behat --config=/home/jerome/moodles/stable_master_hq/moodledata_behat/behat/behat.yml --name "Submit a PDF file as a student and annotate the PDF as a teacher" Test this with phantomjs and make sure this should skip.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-42025-master-nomerge
    • Story Points:
      20
    • Sprint:
      FRONTEND Sprint 10

      Description

      We need to add behat tests for the Edit PDF plugin - but there are 2 things that require solving first.

      1. How to simulate mouse/touch drags
      2. How to skip the tests if ghostscript is not available.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jerome Jérôme Mouneyrac
              Reporter:
              damyon Damyon Wiese
              Peer reviewer:
              Andrew Davis Andrew Davis
              Integrator:
              Marina Glancy Marina Glancy
              Tester:
              Michael de Raadt Michael de Raadt
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14