Last modified: 2014-10-27 10:39:48 UTC
this is like bug 46893. $ cd extensions/VisualEditor/modules/ve-mw/test/browser $ bundle exec cucumber features/visual_editor_bullets.feature If the tests progress, eventually they print out a lot of *** DEPRECATION WARNING *** You are calling a method named class_name at /home/spage/projects/core/extensions/VisualEditor/modules/ve-mw/test/browser/features/step_definitions/visual_editor_bullets_steps.rb:81:in `block in <top (required)>'. *** 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. *** DEPRECATION WARNING *** You are calling a method named select_text at /home/spage/projects/core/extensions/VisualEditor/modules/ve-mw/test/browser/features/step_definitions/visual_editor_bullets_steps.rb:14:in `block in <top (required)>'. *** [same last 4 lines] The lines deprecated by the former are all of the form SOME_element.class_name.{should, should_not} match /disabled/ where the HTML has CSS class="ve-ui-widget ve-ui-tool ve-ui-tool-outdent ve-ui-widget-disabled". I don't know the page-object equivalent to retrieving the CSS class (attribute( 'class' ), but maybe instead the code could use page-object's disabled? and enabled? methods. The latter deprecation is odd since the test specifically requires "watir-webdriver/extensions/select_text"
Still not fixed: https://wmf.ci.cloudbees.com/view/r-ve/job/VisualEditor-test2.wikipedia.org-linux-chrome/96/console
And here: https://wmf.ci.cloudbees.com/job/VisualEditor-test2.wikipedia.org-linux-firefox/119/console
See also bug 46893
Cheezy actually fixed this but hasn't updated the page-object gem yet https://github.com/cheezy/page-object/issues/192
If you need more information (and you probably do), feel free to ask questions here, at #wikimedia-qa freenode IRC channel or at QA mailing list: https://lists.wikimedia.org/mailman/listinfo/qa
(In reply to Chris McMahon from comment #4) > Cheezy actually fixed this but hasn't updated the page-object gem yet > https://github.com/cheezy/page-object/issues/192 Željko / Chris: Is this still a valid ticket one year after? Has Cheezy updated it in the meantime or is this still a task suitable for new contributors?
After a quick look at VisualEditor Jenkins jobs[0], looks like this is fixed. Please reopen if you see the problem again. 0: https://integration.wikimedia.org/ci/view/BrowserTests/view/VisualEditor/