Page MenuHomePhabricator

QA: Notifications test failing
Closed, ResolvedPublic

Description

unknown error: Element is not clickable at point (941, 26). Other element would receive the click: <span class="notification-count">...</span>

(Session info: chrome=43.0.2357.65)
(Driver info: chromedriver=2.15.322445 (1275e81571edae39c63505d4f884b9058f8f380c),platform=Linux 3.13.0-32-generic x86) (Selenium::WebDriver::Error::UnknownError)

/mnt/home/jenkins-deploy/.gem/2.0.0/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/response.rb:71:in `assert_ok'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/response.rb:34:in `initialize'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/http/common.rb:78:in `new'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/http/common.rb:78:in `create_response'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/http/default.rb:90:in `request'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/bridge.rb:657:in `raw_execute'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/bridge.rb:635:in `execute'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/bridge.rb:396:in `clickElement'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/common/element.rb:73:in `click'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/watir-webdriver-0.8.0/lib/watir-webdriver/elements/element.rb:128:in `block in click'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/watir-webdriver-0.8.0/lib/watir-webdriver/elements/element.rb:595:in `element_call'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/watir-webdriver-0.8.0/lib/watir-webdriver/elements/element.rb:117:in `click'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/page-object-1.1.0/lib/page-object/elements/element.rb:25:in `click'
/mnt/jenkins-workspace/workspace/browsertests-MobileFrontend-SmokeTests-linux-chrome-sauce/tests/browser/features/step_definitions/notification_steps.rb:11:in `block (2 levels) in <top (required)>'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/mediawiki_selenium-1.4.0/lib/mediawiki_selenium/page_factory.rb:30:in `block in on_page'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/page-object-1.1.0/lib/page-object/page_factory.rb:75:in `call'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/page-object-1.1.0/lib/page-object/page_factory.rb:75:in `on_page'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/mediawiki_selenium-1.4.0/lib/mediawiki_selenium/page_factory.rb:19:in `on_page'
/mnt/jenkins-workspace/workspace/browsertests-MobileFrontend-SmokeTests-linux-chrome-sauce/tests/browser/features/step_definitions/notification_steps.rb:2:in `block in <top (required)>'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/core_ext/instance_exec.rb:48:in `block in cucumber_instance_exec'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/rb_support/rb_step_definition.rb:97:in `invoke'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/step_match.rb:25:in `invoke'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/step_invocation.rb:60:in `invoke'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/step_invocation.rb:38:in `accept'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:106:in `block in visit_step'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:170:in `broadcast'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:105:in `visit_step'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/step_collection.rb:19:in `block in accept'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/step_collection.rb:18:in `each'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/step_collection.rb:18:in `accept'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:100:in `block in visit_steps'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:170:in `broadcast'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:99:in `visit_steps'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/background.rb:44:in `block in accept'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/background.rb:54:in `block in with_visitor'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/scenario.rb:79:in `with_visitor'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/background.rb:53:in `with_visitor'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/background.rb:41:in `accept'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:64:in `block in visit_background'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:170:in `broadcast'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:63:in `visit_background'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/feature.rb:36:in `accept'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:27:in `block in visit_feature'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:170:in `broadcast'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:26:in `visit_feature'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/features.rb:28:in `block in accept'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/features.rb:17:in `each'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/features.rb:17:in `each'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/features.rb:27:in `accept'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:21:in `block in visit_features'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:170:in `broadcast'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/ast/tree_walker.rb:20:in `visit_features'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/runtime.rb:49:in `run!'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/lib/cucumber/cli/main.rb:47:in `execute!'
/mnt/home/jenkins-deploy/.gem/2.0.0/gems/cucumber-1.3.20/bin/cucumber:13:in `<top (required)>'
/mnt/home/jenkins-deploy/.gem/2.0.0/bin/cucumber:23:in `load'
/mnt/home/jenkins-deploy/.gem/2.0.0/bin/cucumber:23:in `<main>'
features/notification.feature:6:in `When I click on the notification icon'

Event Timeline

Jdlrobson updated the task description. (Show Details)
Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson moved this task to To Triage on the Readers-Web-Backlog board.
Jdlrobson added a subscriber: Jdlrobson.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 24 2015, 7:19 PM
Jdlrobson renamed this task from QA: Notifications test fails occasionally to QA: Notifications test failing.Jul 24 2015, 8:00 PM
Jdlrobson set Security to None.
Jdlrobson claimed this task.

So this seems to fail with the user_factory ... as it creates a new user which as a result has new notifications... but I thought we didn't use that on Jenkins?

Change 226927 had a related patch set uploaded (by Jdlrobson):
QA: Make notifications test compatible with user_factory

https://gerrit.wikimedia.org/r/226927

Change 226927 merged by jenkins-bot:
QA: Make notifications test compatible with user_factory

https://gerrit.wikimedia.org/r/226927

Jhernandez closed this task as Resolved.Jul 29 2015, 10:41 AM
Jhernandez added a subscriber: Jhernandez.