Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1685

Allow to filter by protractor specs

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.2
    • Component/s: Unit tests
    • Labels:
    • Testing Instructions:
      Hide

      Check that only the messages tests are executed (they probably will fail because the demo reset thing)

      1. gulp e2e-build --target browser --filter "www/addons/messages/e2e/*"
      2. ./node_modules/protractor/bin/webdriver-manager start
      3. ./node_modules/protractor/bin/protractor e2e/build/protractor.conf.js
      Show
      Check that only the messages tests are executed (they probably will fail because the demo reset thing) gulp e2e-build --target browser --filter "www/addons/messages/e2e/*" ./node_modules/protractor/bin/webdriver-manager start ./node_modules/protractor/bin/protractor e2e/build/protractor.conf.js
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Sprint:
      Moodle Mobile 3.1.2

      Description

      Sometimes we just want to check a specific spec we are working on, a new parameter --filter (like phpunit) should be added to be able to filter by spec

        Attachments

          Activity

            People

            Assignee:
            jleyva Juan Leyva
            Reporter:
            jleyva Juan Leyva
            Peer reviewer:
            Dani Palou
            Integrator:
            Juan Leyva
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              27/Jul/16