fixes the requirements
This commit is contained in:
parent
0ab9c440de
commit
764a891901
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue