<div dir="ltr"><br><div><div>I'm going to sound a little like Selenium Clippy here, sorry: it looks like you're trying to fix the moderation.feature test! </div><div><br></div><div>I think you're making this more complicated than it has to be.  I don't really understand what you're trying to accomplish with the "do |page|" block.  If you want to specify the element more completely, just make the css locator deeper.  </div><div><br></div><div>Take a look at <a href="https://gerrit.wikimedia.org/r/#/c/167398/1" target="_blank">https://gerrit.wikimedia.org/r/#/c/167398/1</a>.  That patch solves your immediate problem in the simplest way I could find, and it makes the "Deleting a topic" Scenario pass.  The other three Scenarios are still failing, but in similar ways.</div><div><br></div><div>I admit it took me a few tries to sort out some of the locators and the part where the test was trying to call "when_present" on a string. :-)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 17, 2014 at 11:28 PM, S Page <span dir="ltr"><<a href="mailto:spage@wikimedia.org" target="_blank">spage@wikimedia.org</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Working with the Cheezy Watir cucumber Ruby Selenium WebDriver stack makes me feel clueless :-/</div></div></blockquote><div><br></div><div>Sorry.  The whole thing is designed to be as simple and as abstract as it can be.  If you find yourself doing stunt programming like writing "do" blocks for element locators and conditional statements and while loops and fretting about the difference between "textarea" and "text_area", that is an indication that you have a misunderstanding somewhere.  <br></div></div></div></div>