behat properties file to store css elements

Bug #1705622 reported by Rebecca Blundell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Rebecca Blundell

Bug Description

Work on adding a properties file to make tests more readable.

Changed in mahara:
status: New → In Progress
assignee: nobody → Rebecca Blundell (rjb-dev)
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/7893

Changed in mahara:
importance: Undecided → Wishlist
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7893
Committed: https://git.mahara.org/mahara/mahara/commit/bc926b9e4269f2028515e712252aef10b1dec270
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit bc926b9e4269f2028515e712252aef10b1dec270
Author: Rebecca Blundell <email address hidden>
Date: Fri Jul 21 17:02:25 2017 +1200

Bug 1705622 - adding a properties file for some css elements

Work so far:
added switch to deal with different possible steps that have css elements
added some more css examples
changed array of css locators to const
changed const array back to array and use json en/decode as workaround
to avoid globals
made properties get_property function take an optional page location
added an optional properties param to BehatNavigation i_expand_node_in_the
added all used css elements
replaced css elements with descriptions in tests
replaced xpath elements with descriptions in tests

To do:
make the whole thing more user-friendly
look at replacing scroll to steps too

Change-Id: I83d8a96fc14701821b2e1cb37feb0900e1674f66

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
milestone: none → 18.04.0
tags: added: nominatedfeature
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.