Skip to content
Browse files

removed features

Behat integration is not Mink's job anymore
  • Loading branch information...
1 parent 4bd6d96 commit 461bb95c8f2469a53ee61ac93376f4de8481fbf3 @everzet everzet committed May 21, 2012
Showing with 0 additions and 65 deletions.
  1. +0 −22 features/bootstrap/FeatureContext.php
  2. +0 −21 features/mink_feature.feature
  3. +0 −22 features/mink_feature_ru.feature
View
22 features/bootstrap/FeatureContext.php
@@ -1,22 +0,0 @@
-<?php
-
-use Behat\Behat\Context\ClosuredContextInterface,
- Behat\Behat\Context\TranslatedContextInterface,
- Behat\Behat\Context\BehatContext,
- Behat\Behat\Exception\PendingException;
-
-use Behat\Gherkin\Node\PyStringNode,
- Behat\Gherkin\Node\TableNode;
-
-require_once __DIR__.'/../../vendor/autoload.php';
-
-/**
- * Features context.
- */
-class FeatureContext extends BehatContext
-{
- public function __construct(array $parameters)
- {
- $this->useContext('mink', new Behat\Mink\Behat\Context\MinkContext($parameters));
- }
-}
View
21 features/mink_feature.feature
@@ -1,21 +0,0 @@
-Feature: Mink steps
- In order to describe web application behavior
- As a web developer
- I need to be able to talk with Mink through Behat features
-
- @javascript
- Scenario: Basic form (through Sahi)
- Given I am on "basic_form.php"
- When I fill in "first_name" with "Konstantin"
- And I fill in "Kudryashov" for "lastn"
- And I press "Save"
- Then I should see "Anket for Konstantin"
- And I should see "Lastname: Kudryashov"
-
- Scenario: Basic form (through Goutte)
- Given I am on "basic_form.php"
- When I fill in "first_name" with "Konstantin"
- And I fill in "lastn" with "Kudryashov"
- And I press "Save"
- Then I should see "Anket for Konstantin"
- And I should see "Lastname: Kudryashov"
View
22 features/mink_feature_ru.feature
@@ -1,22 +0,0 @@
-# language: ru
-Функционал: Шаги Mink
- Для того, чтобы описывать поведение веб-приложений
- Как веб-девелопер
- Мне нужна возможность говорить с Mink через Behat
-
- @mink:zombie
- Сценарий: Стандартная форма (через Sahi)
- Допустим я на странице "basic_form.php"
- Когда я ввожу "Konstantin" в поле "first_name"
- И ввожу "Kudryashov" в поле "lastn"
- И я нажимаю "Save"
- Тогда я должен видеть "Anket for Konstantin"
- И я должен видеть "Lastname: Kudryashov"
-
- Сценарий: Стандартная форма (через Goutte)
- Допустим я на странице "basic_form.php"
- Когда я заполняю поле "first_name" значением "Konstantin"
- И заполняю поле "lastn" значением "Kudryashov"
- И нажимаю "Save"
- Тогда я должен видеть "Anket for Konstantin"
- И я должен видеть "Lastname: Kudryashov"

0 comments on commit 461bb95

Please sign in to comment.
Something went wrong with that request. Please try again.