Last modified: 2014-10-19 17:43:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72287, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70287 - Browser tests should not use Watir API
Browser tests should not use Watir API
Status: NEW
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
wmf-deployment
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-02 12:58 UTC by Željko Filipin
Modified: 2014-10-19 17:43 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Željko Filipin 2014-09-02 12:58:03 UTC
At the moment, browsers can be driven by three APIs (from high to low level): page object, watir, selenium. Watir API is nice and Chris and I are used to it, but it is not needed. I have noticed that people new to browser testing are confused with so many options.

I suggest that we no longer use watir API, but only page-object and selenium.

As a first step, I will make a change in one of the repositories, so we can see if it impacts maintainability or readability of the code.
Comment 1 Chris McMahon 2014-09-23 18:08:22 UTC
In some cases, the watir API is required. The most important case is when it is necessary to identify an element by more than one locator, which is not supported in selenium only. 

Looking at https://github.com/cheezy/page-object/wiki/Elements, only five access methods are marked "Watir only"

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links