Broken Behat test: Needs content->files ID's and labels tidied up

Bug #1428364 reported by Jinelle Foley-Barnes on 2015-03-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Medium
Unassigned
15.04
Medium
Unassigned
15.10
Medium
Unassigned

Bug Description

Hi Rob,

When I log in as an admin and navigate to Content -> Files and I try get Behat to click around there are a few ID's and text box titles and labels and thiggs that need tidying up a bit so Behat can click on them.

Behat cant:

And I fill in "Folder name" with "folder1" no title of the text box next to it
And I Press "Create folder" works when I enter the ID though
I manually press the button here... the next thing it cant do is identify the edit button (which is an img)
And I press "Edit (or ID of edit button because there might be multiple)

I have attached a Behat test with these errors to give you more context. The parts that are currently broken have ** next to them with the way they should probably be written.

Thanks heaps,
Jinelle

Jinelle Foley-Barnes (jinelleb) wrote :
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/4357

Reviewed: https://reviews.mahara.org/4357
Committed: http://gitorious.org/mahara/mahara/commit/583db39b9a9f978956cd7ad634ee81355c804f12
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit 583db39b9a9f978956cd7ad634ee81355c804f12
Author: Robert Lyon <email address hidden>
Date: Thu Mar 5 13:14:20 2015 +1300

Adding in new ids to allow for easier behat testing (Bug #1428364)

In the Content -> files section

Change-Id: I178b7e79490e50bc35337efee2a43ea663214003
Signed-off-by: Robert Lyon <email address hidden>

Changed in mahara:
status: New → In Progress
importance: Undecided → Medium
Robert Lyon (robertl-9) on 2015-04-17
Changed in mahara:
milestone: 15.04.0 → 15.04.1
Robert Lyon (robertl-9) on 2016-11-06
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