small fixes to some behat tests

Bug #1719221 reported by Rebecca Blundell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Niranjan

Bug Description

There are some badly formatted tests, with background steps in the scenario:

test/behat/features/user_content/search_users_by_share_pages.feature
compare with test/behat/features/social/sharedwithme.feature.
Could this be a scenario in the other test?
 - regardless, the format should be changed. This is not testing adding pages, so add the pages in the background using the generic format data.

test/behat/features/social/modified_date.feature
 - put background into background.
 - is this already covered in test/behat/features/site_content/shared_views_to_group.feature?
 - if not, should it be combined.

Changed in mahara:
status: New → In Progress
Niranjan (niranjan528)
Changed in mahara:
assignee: nobody → Niranjan (niranjan528)
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Niranjan, please create a separate report for the second issue so that the tests can be kept separate.

Changed in mahara:
importance: Undecided → Medium
Revision history for this message
Rebecca Blundell (rjb-dev) wrote :

The first issue is now fixed, but the second still needs to be looked at.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/8493

Changed in mahara:
milestone: none → 18.04.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8493
Committed: https://git.mahara.org/mahara/mahara/commit/25d0656dcf7458cdb6638d404abe080ceffad306
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 25d0656dcf7458cdb6638d404abe080ceffad306
Author: Niranjan Bandi <email address hidden>
Date: Thu Feb 1 15:30:09 2018 +1300

Bug 1719221- Checking the last modified date on a collection.

-test/behat/features/social/modified_date.feature is now merged into test/behat/features/site_content/shared_with_group.feature

Change-Id: Ic0db83120af073969c423af914456600aac9e8e6

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.