| Total Complexity | 2 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | from behave import when, then |
||
| 2 | |||
| 3 | |||
| 4 | @when(u'I visit the homepage') |
||
| 5 | def step_impl(context): |
||
| 6 | context.get_browser().visit(context.remote_url) |
||
| 7 | |||
| 8 | |||
| 9 | @then(u'the page should load') |
||
| 10 | def step_impl(context): |
||
| 11 | assert 'Nibble' in context.get_browser().title |
||
| 12 |