X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fmink-extension%2Fsrc%2FBehat%2FMinkExtension%2FContext%2FMinkContext.php;fp=vendor%2Fbehat%2Fmink-extension%2Fsrc%2FBehat%2FMinkExtension%2FContext%2FMinkContext.php;h=0000000000000000000000000000000000000000;hp=a5bfa30f03fbd5d9d2b4a3447a6ad93c22b34aab;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/behat/mink-extension/src/Behat/MinkExtension/Context/MinkContext.php b/vendor/behat/mink-extension/src/Behat/MinkExtension/Context/MinkContext.php deleted file mode 100644 index a5bfa30f0..000000000 --- a/vendor/behat/mink-extension/src/Behat/MinkExtension/Context/MinkContext.php +++ /dev/null @@ -1,571 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Behat\MinkExtension\Context; - -use Behat\Behat\Context\TranslatableContext; -use Behat\Gherkin\Node\TableNode; - -/** - * Mink context for Behat BDD tool. - * Provides Mink integration and base step definitions. - * - * @author Konstantin Kudryashov - */ -class MinkContext extends RawMinkContext implements TranslatableContext -{ - /** - * Opens homepage - * Example: Given I am on "/" - * Example: When I go to "/" - * Example: And I go to "/" - * - * @Given /^(?:|I )am on (?:|the )homepage$/ - * @When /^(?:|I )go to (?:|the )homepage$/ - */ - public function iAmOnHomepage() - { - $this->visitPath('/'); - } - - /** - * Opens specified page - * Example: Given I am on "http://batman.com" - * Example: And I am on "/articles/isBatmanBruceWayne" - * Example: When I go to "/articles/isBatmanBruceWayne" - * - * @Given /^(?:|I )am on "(?P[^"]+)"$/ - * @When /^(?:|I )go to "(?P[^"]+)"$/ - */ - public function visit($page) - { - $this->visitPath($page); - } - - /** - * Reloads current page - * Example: When I reload the page - * Example: And I reload the page - * - * @When /^(?:|I )reload the page$/ - */ - public function reload() - { - $this->getSession()->reload(); - } - - /** - * Moves backward one page in history - * Example: When I move backward one page - * - * @When /^(?:|I )move backward one page$/ - */ - public function back() - { - $this->getSession()->back(); - } - - /** - * Moves forward one page in history - * Example: And I move forward one page - * - * @When /^(?:|I )move forward one page$/ - */ - public function forward() - { - $this->getSession()->forward(); - } - - /** - * Presses button with specified id|name|title|alt|value - * Example: When I press "Log In" - * Example: And I press "Log In" - * - * @When /^(?:|I )press "(?P