MDL-49376 behat: Fixing resize step regex

This commit is contained in:
David Monllao
2015-03-06 11:00:12 +08:00
parent b855cfcfee
commit ef381fdae1
+1 -1
View File
@@ -982,7 +982,7 @@ class behat_general extends behat_base {
* Example: I change window size to "small" or I change window size to "1024x768"
*
* @throws ExpectationException
* @Then /^I change window size to "([^"](small|medium|large|\d+x\d+))"$/
* @Then /^I change window size to "(small|medium|large|\d+x\d+)"$/
* @param string $windowsize size of the window (small|medium|large|wxh).
*/
public function i_change_window_size_to($windowsize) {