Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

NEW: Adding some Behat steps for css selectors and Dialog confirmation #21

wants to merge 1 commit into


None yet
2 participants

This adds 2 new Behat steps one is to click on a element with a specific css selector (i.e. a cross to remove a option from a listbox) and the other step is a confirm Dialog wrapper for the other new step.

This is related to the following issue I have been investigating


The 2 new steps have been added so they can be used in a unit test which test if a alert appears when a admin tries to remove there own admin permissions.
I will be raising a pull request for framework which includes a unit test which will make use of these 2 new steps

@kmayo-ss kmayo-ss referenced this pull request in silverstripe/silverstripe-framework Jan 16, 2014


BUG: Fixes #730 warn admins removing admin permission from there own profile #2782

The following pull request has a new unit test which relies on this pull request


@kmayo-ss kmayo-ss referenced this pull request in silverstripe/silverstripe-framework Mar 17, 2014


Admin removal warning #2962


chillu commented Apr 7, 2015

Has been outdated for a while, closing.

@chillu chillu closed this Apr 7, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment