Behat: Check Page->Advanced has an instrution field

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

Bug Description

Automating a manual test. Copied from spreadsheet:

Page instructions: Pages can be set up with instructions that sit at the top of the page rather than needing to use a block for that.

Create a new portfolio page
Confirm that there is a new field under the advanced accordion tab
Label = “Instructions”

Lock blocks: You can lock blocks to a page preventing their deletion from the page. While a portfolio author can remove the lock, at first look it is not possible to delete the blocks.

Create a new portfolio page
Confirm that there is a new toggle under the advanced accordion tab
Label = “Lock blocks”

we can add a few lines to create_delete_page.feature to check these things. In the section commented: "# This is the test for manually creating a page", at around line 25, before And I press "Save", open the "Advanced" accordion and look for instructions and lock blocks.

Tags: behat-test
Rangi Daymond (rangid)
Changed in mahara:
status: New → In Progress
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/11203

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/11203
Committed: https://git.mahara.org/mahara/mahara/commit/32a2fc1a12b585f0ddf4dfec52ff7b33b7ec88ee
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 32a2fc1a12b585f0ddf4dfec52ff7b33b7ec88ee
Author: Rangi Daymond <email address hidden>
Date: Tue Sep 1 17:24:31 2020 +1200

Bug 1891265 Behat: add Page Advanced tab checks
- instructions and lock blocks

Change-Id: I9717f97f0d30c6beab55137e88d23b636738544b

Changed in mahara:
importance: Undecided → Medium
milestone: none → 20.10.0
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.