<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 5, 2014 at 2:41 PM, Arthur Richards <span dir="ltr"><<a href="mailto:arichards@wikimedia.org" target="_blank">arichards@wikimedia.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">From Jon's latest email, it sounds like the beta test failures should be resolved (save for the VE-related ones). With the testwiki and enwiki failures, are those expected to go away with tomorrow's deployment?</div>
<div dir="ltr"><br></div></blockquote><div><br></div><div>Actually, the fix to page_loading.feature isn't quite complete, the step doesn't check properly that the editor is enabled, and there is an unimplemented step to be refactored. If Jon doesn't fix these I will. </div>
<div>-Chris </div><div><br></div><div><div>$ bundle exec cucumber features/page_loading.feature </div><div>@<a href="http://en.m.wikipedia.beta.wmflabs.org">en.m.wikipedia.beta.wmflabs.org</a> @<a href="http://test2.m.wikipedia.org">test2.m.wikipedia.org</a></div>
<div>Feature: Loading pages</div><div><br></div><div> # In stable pages are loaded the standard way via links.</div><div> Scenario: Page loads without ajax in stable # features/page_loading.feature:5</div><div> Given I am logged in as a new user # features/step_definitions/common_steps.rb:48</div>
<div> And I visit a protected page # features/step_definitions/common_steps.rb:108</div><div> And I click the placeholder search box # features/step_definitions/search_steps.rb:1</div><div>
And I type into search box "Foo bar" # features/step_definitions/search_steps.rb:10</div><div> When I click a search result # features/step_definitions/search_steps.rb:30</div>
<div> Then The edit button is enabled # features/step_definitions/editor_steps.rb:1</div><div> expected "edit-page" to match "enabled" (RSpec::Expectations::ExpectationNotMetError)</div>
<div> features/page_loading.feature:11:in `Then The edit button is enabled'</div><div> And The text of the first heading is "Foo bar" # features/step_definitions/common_article_steps.rb:40</div><div>
<br></div><div> # In alpha mode pages are loaded via JavaScript and ajax.</div><div> @wip</div><div> Scenario: Edit button updates when lazy load a page from search # features/page_loading.feature:16</div><div> Given I am in alpha mode # features/step_definitions/common_steps.rb:73</div>
<div> And I am logged in as a new user # features/step_definitions/common_steps.rb:48</div><div> And I visit a protected page # features/step_definitions/common_steps.rb:108</div>
<div> And I click the placeholder search box # features/step_definitions/search_steps.rb:1</div><div> And I type into search box Foo bar # features/page_loading.feature:21</div>
<div> When I click a search result # features/step_definitions/search_steps.rb:30</div><div> Then The edit button is enabled # features/step_definitions/editor_steps.rb:1</div>
<div> And The text of the first heading is "Foo bar" # features/step_definitions/common_article_steps.rb:40</div><div><br></div><div>Failing Scenarios:</div><div>cucumber features/page_loading.feature:5 # Scenario: Page loads without ajax in stable</div>
<div><br></div><div>2 scenarios (1 failed, 1 undefined)</div><div>15 steps (1 failed, 4 skipped, 1 undefined, 9 passed)</div><div>1m31.641s</div><div><br></div><div>You can implement step definitions for undefined steps with these snippets:</div>
<div><br></div><div>Given(/^I type into search box Foo bar$/) do</div><div> pending # express the regexp above with the code you wish you had</div><div>end</div></div><div><br></div></div><br></div></div>