small fixes to some behat tests

Bug #1719221 reported by Rebecca Blundell on 2017-09-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
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) on 2017-09-26
Changed in mahara:
assignee: nobody → Niranjan (niranjan528)

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

Changed in mahara:
importance: Undecided → Medium
Rebecca Blundell (rjb-dev) wrote :

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

Changed in mahara:
milestone: none → 18.04.0

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) on 2018-02-12
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9) on 2018-04-05
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers