1. 14 Jan, 2018 1 commit
    • Rebecca Blundell's avatar
      Bug #1696627: Behat HTML report · e35e3528
      Rebecca Blundell authored
      - Updated details for behat.yml config to BehatConfigManager and a call
      to update the file
      - Added BehatHooks to get screenshots on fail. Screenshots are saved in the
      Behat maharadata directory at /behat/results/html/screenshots
      - Added auto-open of report
      - Added some explanatory notes on how to run report
      
      If you set the "html" flag as third parameter of the Behat command, you can
      generate the HTML report. The report will be saved in the Behat
      dataroot under behat/html_results
      
      If you accidentially set the "html" flag as 2nd parameter it will
      instead show help info
      
      behatnotneeded
      
      Change-Id: I76c67a1148278efa049317b526fef760c1a43ded
      e35e3528
  2. 11 Jan, 2018 1 commit
    • Rebecca Blundell's avatar
      Bug 1742600: update chromedriver for behat tests · 186c07f8
      Rebecca Blundell authored
      I have successfully run tests with the new version of chromedriver
      (2.35) and chrome (63). I thought the best way to test further was to
      let maharabot run the test suite and see if any issues come up.
      
      failing tests are now fixed.
      
      behatnotneeded
      
      Change-Id: I22e45e8a95669e2109ca70ae782aa2c40546db14
      186c07f8
  3. 04 Jan, 2018 1 commit
  4. 17 Dec, 2017 2 commits
  5. 12 Dec, 2017 1 commit
  6. 27 Nov, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug 1732297: Remove unnessesary steps from tests · a323c8d8
      Rebecca Blundell authored and Robert Lyon's avatar Robert Lyon committed
      Done:
      Removed checks that user name is visible after login unless it's
      related to what's being tested.
      where possible added pages in background instead of manually
      deleted character_limit, forgot_password and create_group as content was covered in other tests.
      checked for other unnessesary "And I should see/ not see" steps
      fixed stuff I broke
      
      Change-Id: Ideaff604e49c6ca4b369bf96a3377e38d680d77d
      a323c8d8
  7. 23 Nov, 2017 1 commit
  8. 21 Nov, 2017 2 commits
  9. 20 Nov, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug 1705622 - adding a properties file for some css elements · bc926b9e
      Rebecca Blundell authored
      Work so far:
      added switch to deal with different possible steps that have css elements
      added some more css examples
      changed array of css locators to const
      changed const array back to array and use json en/decode as workaround
      to avoid globals
      made properties get_property function take an optional page location
      added an optional properties param to BehatNavigation i_expand_node_in_the
      added all used css elements
      replaced css elements with descriptions in tests
      replaced xpath elements with descriptions in tests
      
      To do:
      make the whole thing more user-friendly
      look at replacing scroll to steps too
      
      Change-Id: I83d8a96fc14701821b2e1cb37feb0900e1674f66
      bc926b9e
  10. 17 Nov, 2017 1 commit
  11. 30 Oct, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1660237: removed old mobile api · d7018426
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
      removed code from htdocs/api/module/ files and replace it with a json reply error message.
      removed the 'allowmobileuploads' config variable since it is only used by the old mobile api.
      removed the 'mobileuploadtoken' values in usr_account_preferences since they are only used by old mobile api. The new mahara mobile uses external_tokens table to store its access tokens.
      
      behatnotneeded
      
      Change-Id: I02e94079fc83aa6a81534b70446f7e8ab2ebd7a4
      d7018426
  12. 24 Oct, 2017 1 commit
  13. 23 Oct, 2017 1 commit
  14. 18 Oct, 2017 1 commit
    • Robert Lyon's avatar
      Bug 1724113: Changes for reports · a5c930d8
      Robert Lyon authored
      
      
      This patch includes
      - Allow the overview report to be the default report
      - Fixed sorting of modified/visited columns for page activity report
      - Fixed sorting for username in useractivity report
      - Fixed total rows count for user activity
      - Fixed collaboration report for institutions
      - Fixed issues with the new columns in the groups report
      
      Change-Id: I2269bb5610d238bc9786d04d4c2a9122c0a4ccfc
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      a5c930d8
  15. 09 Oct, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug #1703721 - combine add user tests and make more comprehensive · 5dd3b1ae
      Rebecca Blundell authored
      Removes 3 existing tests and replaces with one Adds 2 new csv files
      -fixed domain names so they are all example.org
      -changed one domain to example.com for use in add_users_new test
      as mahara doesn't like .org.
      Indentation and Captalisation changes done.
      
      Change-Id: I0c767c5736c613d3d82b20a59014015db8ea6071
      5dd3b1ae
  16. 05 Oct, 2017 1 commit
    • Rebecca Blundell's avatar
      Remove duplicate behat test · f02d7646
      Rebecca Blundell authored
      found duplicate tests and deleted the 'user_content' version:
      test/behat/features/settings/create_and_delete_menu_item.feature
      test/behat/features/user_content/create_and_delete_menu_item.feature
      
      Change-Id: I6ea6947c75d047d600a07d5e73a3ae6eb3acb085
      f02d7646
  17. 27 Sep, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug 1710988 - add behat test for broken js in note copy · 4c54d9d7
      Rebecca Blundell authored
      The following changes are done
      Rename user_content/add_note_block.feature to note_block.feature
      -Fix the formatting issues with partial tests in background.
      -Copy the content of blocktype/copy_note_content.feature to note_block.feature and delete the original
      
      Change-Id: I9e5744d94bfed7470983d373cd1bfe8699661500
      4c54d9d7
  18. 26 Sep, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug 1674850 - journal block tests · 223b372d
      Rebecca Blundell authored
      Just fixed merge conflict - other issues still to fix
      
      New feature adding test for all 4 journal types to see they display correctly
      
      Also includes new 'journals' background step to create journals
      and new 'journalposts' background step to create journal entries
      
      I called the one for journal entries 'journalposts' to keep it
      consistent with noun plural being an 's'
      
      Also updated an existing feature for taggged posts to use the new
      'journalposts' step so that we have an examples of it's use with and
      without using the 'journals' step
      
      Change-Id: I0200e5a263359610c6ad49d38a9f2cc866f9af61
      223b372d
  19. 25 Sep, 2017 1 commit
  20. 24 Sep, 2017 1 commit
  21. 22 Sep, 2017 1 commit
  22. 21 Sep, 2017 3 commits
  23. 18 Sep, 2017 1 commit
  24. 10 Sep, 2017 1 commit
  25. 09 Sep, 2017 4 commits
    • Cecilia Vela Gurovic's avatar
      Bug 1701083: SE matrix accessibility · ec2aa2cb
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
       - Modified tags in template so screen readers
      can see them correctly
       - Tabbing goes through each cell of the table
      and collapsible sections heading
       - Opening a modal sets focus on the delete button
      of the modal ('X')
       - Tabbing inside a modal dialog loops through the
      elements of that dialog
       - Closing modal dialog sets focus back on the
      annotation cell
       - Clicking on standard title (first cell of a row)
      will display description of standard. The element
      can also be reached with tab key and description
      can be opened with enter key. The description box
      disappears when it loses focus
      
      behatnotneeded
      
      Change-Id: Ia164cca7517bad89c60685757947dd14e27aef75
      ec2aa2cb
    • Robert Lyon's avatar
      Bug 1697248: More updates for report navigation and reports · c3d9acba
      Robert Lyon authored
      
      
      This patch will contain the fixes for:
      
      - Navigation placement
      - Collaboration report
      - CSV's of reports
      - Overview page for the graphs
      - Making Institution selector a select2 field
      - Moving all configs for reports into the modal and combine 3rd level
      menu with submenu choices in select2 field
      - Ignore non logged in users from user activity report
      - Move more variables for reports into sticky (session) vars
      - Allow results to be fetched from elasticsearch
      
      Change-Id: I725b7615ac3cd6b1d9b6352bae9f6be0d5161e1b
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      c3d9acba
    • Robert Lyon's avatar
      Bug 1697248: Update report navigation and reports · 8c08b88b
      Robert Lyon authored
      
      
      Introduce a new navigation bar to allow going through the different
      types of reports:
      
      - Change the page title according to the selected report section and
        report
      - Decide which columns to display in a report
      - Configure reports via the "Configure reports" button
      
      Add existing reports into the new interface.
      
      Create new and expand existing reports:
      
      - User activity
      - Page activity
      - Collaboration
      
      Sponsored by the AAIM project with funding from University of
      Sussex and Dublin City University.
      
      Change-Id: I1eb6920890af27c34c902fe22ff5ce3591b73cb0
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      8c08b88b
    • Robert Lyon's avatar
      Bug 1694171: Fixing up outstanding issues for v5.0 · 1bbc75e1
      Robert Lyon authored
      
      
      This patch will sit above Geralds one to sort out last minute things
      including:
      
      - upgrade compatibility
      -- Will need to compare current elasticsearch version with compatible
      version and alert about problems
      -- Will allow one to set the shards/replicas as part of config
      -- alert the cluster health (non green) status and unallocated replica
      shards
      
      - Allow empty search query to return all related results
      - Allow collections to record / search on collection tags
      - Index group access correctly
      - Get correct results to display for each tab rather than all results
      bunched together
      - Allow highlight on description field
      
      - Add a basic behat test
      - removed the built in docs/ and tests/ dirs as well as the phpunit
      test files
      
      Change-Id: I09b4eaf502a8400499debde2ff1d2a5316f20fbf
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      1bbc75e1
  26. 08 Sep, 2017 1 commit
    • Robert Lyon's avatar
      Fixing behat for testing webservices · c740a5cf
      Robert Lyon authored
      
      
      This patch
      - moves webservice tests into their own directory
      - allows one to create an institution with 'webservice' auth
      - allows creation of a user using 'webservice' auth
      
      @TODO actually test things in webservices
      
      Change-Id: Ib64687dbd647179233fed2c3937418847bfda27c
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      c740a5cf
  27. 07 Sep, 2017 3 commits
  28. 06 Sep, 2017 1 commit
  29. 05 Sep, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug 1714408: Fix whitespace error in date format · f1182d0b
      Rebecca Blundell authored and Robert Lyon's avatar Robert Lyon committed
      Remove default date format and require it to be passed in.
      Reinstate if statement which now runs if the date format is not found
      in the langconfig.php file.
      
      Also fix format in the modified_date.feature file so the test works
      for single digit dates.
      
      Change-Id: I532e8db518a34e803c47d9192fd9cc74231d3999
      f1182d0b
  30. 04 Sep, 2017 1 commit
  31. 31 Aug, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug #1703736 - reorder behat tests · 102a042b
      Rebecca Blundell authored and Robert Lyon's avatar Robert Lyon committed
      This commit moves all the test feature files into new folders, hopefully
      to make them easier to find. Please feel free to check out and see if
      you think the new order makes sense.
      
      Change-Id: I5f07fc296a159f986f883d273bc72d4ea1a40d32
      
      Bug 1703736 - change domains to example.org
      
      Dear git, please let me push this. Love Rebecca
      
      Change-Id: I5f07fc296a159f986f883d273bc72d4ea1a40d32
      102a042b