Hi Jon, I am including QA list in the discussion.
Željko On Wed, Jul 10, 2013 at 10:56 PM, Jon Robson <[email protected]> wrote: > Including Zeljko and Chris.. > > On Wed, Jul 10, 2013 at 1:56 PM, Jon Robson <[email protected]> wrote: > > So I finally got the acceptance tests running on my local machine. > > I've added a convenience function to the Makefile to allow easier > > discovery of the qa tests: https://gerrit.wikimedia.org/r/73028 > > > > Some notes from my experience.... > > > > * It strikes me that I shouldn't need /private/wmf/ - the password > > should be stored in an environment variable to be consistent with > > others or should be the same as the username. > > > > * On my instance some pages with lots of templates take a very long to > > load. As a result occasionally my tests get stuck on the random test > > or it fails due to a timeout. > > * It would be nice to have a way to easily setup things such as the > > selenium user from the command line. I updated the readme in > > MobileFrontend as this wasn't stated - > > https://gerrit.wikimedia.org/r/73030 > > > > * Some tests fail due to expecting the main page to have a div with id > > mainpage - this is not true. Only special cased pages need this. It > > should check for the #content element instead. I corrected this (I > > think!) https://gerrit.wikimedia.org/r/73029 > > > > > > * The tests assume a mobile browser - by default MEDIAWIKI_URL on my > > machine http://localhost:80/w runs the desktop site. > > http://localhost.m:80/w runs the mobile site. Maybe we should use a > > new variable MEDIAWIKI_MOBILE_URL for these tests. I want to write > > some tests that test the desktop version of nearby so we need to be > > able to support both... > > * IN addition to this the format of MEDIAWIKI_URL as currently used is > > inconsistent with other users in the repository and we should > > standardise. On my machine it is http://localhost:80/w but to get the > > tests running it needs to be http://localhost:80/w/index.php/ > > * *** DEPRECATION WARNING > > *** You are calling a method named a at > > > /Users/jrobson/Sites/w/extensions/MobileFrontend/tests/acceptance/features/support/pages/home_page.rb:15:in > > `block in <class:HomePage>'. > > *** This method does not exist in page-object so it is being passed to > > the driver. > > *** This feature will be removed in the near future. > > *** Please change your code to call the correct page-object method. > > *** If you are using functionality that does not exist in page-object > > please request it be added. >
_______________________________________________ QA mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/qa
