1 | @cookies
|
2 | @dialects=webapi
|
3 |
|
4 | Feature: Simple HTTP
|
5 |
|
6 | Background: Google Scenarios
|
7 |
|
8 | Given I am googling
|
9 |
|
10 | Scenario: Google - with redirects
|
11 |
|
12 | Given I enable redirects
|
13 | When I GET http://google.com
|
14 | Then response code should be 200
|
15 |
|
16 | @target=google
|
17 | Scenario: Google - no redirect
|
18 |
|
19 | Given I disable redirects
|
20 | When I GET /
|
21 | Then response code should be 3xx
|
22 |
|
23 |
|
24 | @target=example
|
25 | Scenario: Example.com
|
26 |
|
27 | Given I am browsing example.com
|
28 | When I GET /
|
29 | Then response code should be 200
|
30 | And response body should contain Example Domain
|