Behat test: Add checks for a few page elements on profile page

Bug #1781503 reported by Steven
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned

Bug Description

Behat test: Update for feature file - create_delete_page.feature
---------------------------------------------
Summary: adding a few checks for page button elements and wording

# confirm h1 page title displayed
And I should see "This is the edited page title" in the "h1 heading" property

# confirm settings, edit and share buttons displayed
And I should see "Settings" in the ".editlayout .btn-title" element
And I should see "Edit" in the ".editcontent .btn-title" element
And I should see "Share" in the ".editshare .btn-title" element

# verify page elements are displayed Display page and Return to pages and collections buttons
And I should see "Display page" in the "#view-wizard-controls .btn-default:nth-of-type(1)" element
And I should see "Return to pages and collections" in the "#view-wizard-controls .btn-default:nth-of-type(2)" element

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/9010

Changed in mahara:
milestone: none → 18.10.0
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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

commit 7a08df3353ce9e5b91a104e34e2c9b2740a28ad0
Author: Steven Spinelli <email address hidden>
Date: Fri Jul 13 11:45:50 2018 +1200

Bug #1781503: Behat test: Add checks for a few page elements on profile page

Change-Id: If68dcf9f033bbb43b2efa80797fdbb31df141de4

Changed in mahara:
status: In Progress → Fix Committed
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.