fixes the requirements

This commit is contained in:
Oleg Pidsadnyi 2013-11-10 13:00:03 +01:00
parent 0ab9c440de
commit 764a891901
3 changed files with 7 additions and 7 deletions

View File

@ -24,9 +24,9 @@ Scenario: Invalid password
Given I'm not logged in
When I go to login page
And I enter "wrong" username
And I enter "default" password
And I enter "admin" username
And I enter "wrong" password
And I click login button
Then I should see "Error: Invalid username"
Then I should see "Error: Invalid password"

View File

@ -6,9 +6,9 @@ from .fixtures.auth import *
from .fixtures.steps import *
# @pytest.fixture(scope='session')
# def pytestbdd_selenium_speed():
# return 0.5
@pytest.fixture(scope='session')
def pytestbdd_selenium_speed():
return 0.5
@pytest.fixture

View File

@ -1,7 +1,7 @@
import re
from urlparse import urljoin
from pytest_bdd import given, when, scenario
from pytest_bdd import when, scenario
test_sucsessful_login = scenario(