1. 27 Nov, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug 1732297: Remove unnessesary steps from tests · a323c8d8
      Rebecca Blundell authored
      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
  2. 23 Nov, 2017 1 commit
  3. 21 Nov, 2017 2 commits
  4. 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
  5. 17 Nov, 2017 1 commit
    • Niranjan Bandi's avatar
      Bug 1692746: Changes to the shared pages feature file. · 92a72586
      Niranjan Bandi authored
      Donot merge
      Done with the changes below
      search_users_by_share_pages.feature
      don't confirm login
      add pages in Background
      consider combining with the share_with_group.feature
      
      Change-Id: I96c4f56e93ebcac7073feb7a7b576c354be08494
      92a72586
  6. 30 Oct, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1660237: removed old mobile api · d7018426
      Cecilia Vela Gurovic authored
      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
  7. 24 Oct, 2017 1 commit
  8. 23 Oct, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug #1702613 - improve behat help text test · f603fd1e
      Rebecca Blundell authored
      This commit adds combines tests for all help text under the Pages and
      Collections menu into one test, pulling in the existing Skins help test.
      
      Change-Id: I853bad39c61c8916d0c9c4c7451bcc11393022d6
      f603fd1e
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 25 Sep, 2017 1 commit
  15. 24 Sep, 2017 1 commit
  16. 22 Sep, 2017 1 commit
  17. 21 Sep, 2017 3 commits
  18. 18 Sep, 2017 1 commit
  19. 10 Sep, 2017 1 commit
  20. 09 Sep, 2017 4 commits
    • Cecilia Vela Gurovic's avatar
      Bug 1701083: SE matrix accessibility · ec2aa2cb
      Cecilia Vela Gurovic authored
       - 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
  21. 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
  22. 07 Sep, 2017 3 commits
  23. 06 Sep, 2017 1 commit
  24. 05 Sep, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug 1714408: Fix whitespace error in date format · f1182d0b
      Rebecca Blundell authored
      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
  25. 04 Sep, 2017 1 commit
  26. 31 Aug, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug #1703736 - reorder behat tests · 102a042b
      Rebecca Blundell authored
      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
  27. 30 Aug, 2017 1 commit
  28. 25 Aug, 2017 1 commit
  29. 18 Aug, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug 1711277 - Add a step to check dates · 6972c504
      Rebecca Blundell authored
      This commit adds a step for checking the date is in a page element
      It takes a date as accepted by strtodate(), and an optional format
      which can be a language string set by langconfig.php or a php date()
      format.
      
      Change-Id: I8a5e57ab6cfb8e2d9fa05b44ff71fa9724d695d9
      6972c504
  30. 15 Aug, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug 1710997 - fix user_themes.feature · 98fa6956
      Rebecca Blundell authored
      -Add a user and a page owned by that user in the background
      -Keep the part of the test where the admin changes the setting
      -Check that the the regular user can choose page theme and that the logo changes
      
      Change-Id: Ia0a0b916a0d48ab96370241e2bec58c36bba4418
      98fa6956
  31. 02 Aug, 2017 1 commit
  32. 11 Jul, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug #1679904 - adding a test for the comments block · 787ac996
      Rebecca Blundell authored
      This commit tests the adding of a comments block to display comments
      to the existing add_delete_comments.feature
      
      removed block that added an external feed to push the comments block
      down the page as it was not useful.
      
      Change-Id: Ic82f0b6f8303686256a2e319b3d22e87566683ee
      787ac996