<div dir="ltr">Hello, <div><br></div><div>Last week I had paired with Zeljko on Wednesday and Friday. Here is what we did on Wednesday:</div><div><br></div><div>Zeljko started to reviewing my patch for language screenshot[1] and he suggested the following changes: </div>
<div><br></div><div>* In the Gemfile, it would be better to have gems in sorted manner. </div><div><br></div><div>* Removal of LANGUAGE_SCREENSHOT environmental variable, as LANGUAGE_SCREENSHOT_CODE when set, tells us that the test is run to take language screenshot. </div>
<div><br></div><div>* Steps like: "I take screenshot of headings pull-down menu", does not perform any activity which is required, for tests to be green(or should not be in feature as it is something which is not related to browser tests), hence it would be better to keep inside other step after which I would want to have a screenshot. </div>
<div><br></div><div>* We moved the current written scenarios for taking language screenshot in a new file called language_screenshot.feature, because it would not require Background steps present in features which are there in VisualEditor. </div>
<div><div><br></div><div>* We also tried the code to zoom[2] into browser and it did work :) </div><div><br></div><div>* Also we made a small hack for "I am editing a random page" step where we made a small hack on existing step "I am at a random page" by changing the URL to "vehidebetadialog=true&veaction=edit" using @browser.url, which gives us url at which the browser is.</div>
<div><br></div><div>* We changed the test name to the file name of the screenshot required. And we added a Before hook for the scenarios so as to get the scenario name in the step. </div><div><br></div><div>* We also discussed about the idea of getting minimum bounding rectangle by drawing it in AWW[3] for the elements which needs to be cropped. </div>
<div><br></div><div>* At the end we were planning to make the part of cropping the image simpler, which we did on Friday. </div><div><br></div><div>Zeljko: Let me know if I have missed anything, or I have written something wrong up here. </div>
<div><br></div><div>-</div><div>[1]: <a href="https://gerrit.wikimedia.org/r/#/c/135616/">https://gerrit.wikimedia.org/r/#/c/135616/</a><div style="display:inline-block;width:16px;height:16px"> </div></div><div><br></div>
<div>[2]: <a href="http://lists.wikimedia.org/pipermail/qa/2014-June/001568.html">http://lists.wikimedia.org/pipermail/qa/2014-June/001568.html</a><div style="display:inline-block;width:16px;height:16px"> </div></div><div>
<br></div><div>[3]: <a href="https://awwapp.com/">https://awwapp.com/</a><div style="display:inline-block;width:16px;height:16px"> </div></div><div><br></div><div>Regards <br>-- <br>Vikas S Yaligar<br>(9481543789)<br>IT Department <br>
NITK Surathkal<br>
<font face="yw-04b1231f2b49ebfc02591937fa6d6ece0e8f71c2-25d17dfab4fc49569b0010fa2a5da072--o" style></font></div></div></div>