These tests pass locally. What am I doing differently? Btw, I ran the test in both firefox and chrome. They both passed.
Feature: Table of contents Background: # features/toc.feature:4 Given I am using the mobile site # features/step_definitions/common_steps.rb:46 @smoke Scenario: Don't show table of contents on mobile # features/toc.feature:8 Given I am viewing the site in mobile mode # features/step_definitions/common_steps.rb:62 When I go to a page that has sections # features/step_definitions/create_page_api_steps.rb:17 Then I should not see the table of contents # features/step_definitions/toc_steps.rb:1 Scenario: Show table of contents on tablet # features/toc.feature:13 Given I am viewing the site in tablet mode # features/step_definitions/common_steps.rb:66 When I go to a page that has sections # features/step_definitions/create_page_api_steps.rb:17 Then I should see the table of contents # features/step_definitions/toc_steps.rb:8 2 scenarios (2 passed) 8 steps (8 passed) 0m33.561s
That said it seems to be applying in https://saucelabs.com/jobs/3cb4b0de8eb24f6cbc6cb53097e88697
this seems likely to be an issue with SauceLabs and/or ChromeDriver, the @browser.window.resize_to command seems to have just stopped working for Chrome on SauceLabs, even though it works locally.
I've asked on #selenium in IRC and got no response so far.
We can stop running this test for Chrome if it comes to that, but I'll follow up next week.