You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario Outline: Application login page renders with proper title
Given I'm visiting Application site
When I go to the <page> page
Then The page title should contain <title>
Examples:
| page | title |
| home/login | login |
| a | b |
I'm creating test cases with pytest_bdd:
scenarios('../features')
When test fails, it fails to take a screenshot, because generated test name contains / character:
WSPL504 None Could not save screenshot: [Errno 2] No such file or directory: '/home/kliput/Application/selenium-experiments/python/scenarios.test_lol/test_application_login_page_renders_with_proper_title[home/login-login]-browser.html'
The workaround is to use other chars and replace them with / inside tests, but it will be nice to escape / when creating path for screenshot file :)