Behat fixture for clicking a link/button on a list/table.

Bug #1403238 reported by Jinelle Foley-Barnes on 2014-12-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Medium
Son Nguyen

Bug Description

Version: master(15.04)

For behat tests,

The following fixtures need to be implemented

1. When I click "link or button" in the "n-th" row
This will click the button of link with id/name/title/alt = <link or button> in the n-th row of a list or table.

2. When I click "link or button" in "row text" row
This will click the button of link with id/name/value/alt = <link or button title> in the row containing the <row text> of a list or table.

For example go to:
Portfolio -> Pages -> Create a lot of pages

There is a lot of "Edit content and layout" buttons and "Delete this page" buttons.

We need to identify which one to click.

Son Nguyen (ngson2000) on 2014-12-16
summary: - Create a Behat step for multiple link/buttons on the page so Behat can
- identify them.
+ Behat fixture for clicking a link/button on a list/table.
description: updated
Son Nguyen (ngson2000) on 2014-12-16
description: updated
Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
Son Nguyen (ngson2000) on 2014-12-19
Changed in mahara:
assignee: nobody → Son Nguyen (ngson2000)
status: Confirmed → In Progress
Son Nguyen (ngson2000) on 2014-12-19
description: updated

Reviewed: https://reviews.mahara.org/4111
Committed: http://gitorious.org/mahara/mahara/commit/ff8ca5d375501ba1df3fb3c3841bb0f170a9b510
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit ff8ca5d375501ba1df3fb3c3841bb0f170a9b510
Author: Son Nguyen <email address hidden>
Date: Tue Dec 23 14:17:39 2014 +1300

Implement behat fixture for clicking link/button in a specified row

Bug 1403238

Change-Id: I5bd36d08054bd7a5146bd49732f308c3c5dbe298
Signed-off-by: Son Nguyen <email address hidden>

Son Nguyen (ngson2000) on 2014-12-29
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9) on 2015-04-17
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