← Back to team overview

mahara-contributors team mailing list archive

[Bug 1781503] Re: Behat test: Add checks for a few page elements on profile page

 

** Changed in: mahara
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1781503

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

Status in Mahara:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1781503/+subscriptions


References