{"action":"closed","issue":{"url":"https://api.github.com/repos/StackStorm/st2e2e/issues/12","labels_url":"https://api.github.com/repos/StackStorm/st2e2e/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/StackStorm/st2e2e/issues/12/comments","events_url":"https://api.github.com/repos/StackStorm/st2e2e/issues/12/events","html_url":"https://github.com/StackStorm/st2e2e/issues/12","id":82160468,"number":12,"title":"Tests timing out on newRule","user":{"login":"DoriftoShoes","id":1108877,"avatar_url":"https://avatars.githubusercontent.com/u/1108877?v=3","gravatar_id":"","url":"https://api.github.com/users/DoriftoShoes","html_url":"https://github.com/DoriftoShoes","followers_url":"https://api.github.com/users/DoriftoShoes/followers","following_url":"https://api.github.com/users/DoriftoShoes/following{/other_user}","gists_url":"https://api.github.com/users/DoriftoShoes/gists{/gist_id}","starred_url":"https://api.github.com/users/DoriftoShoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoriftoShoes/subscriptions","organizations_url":"https://api.github.com/users/DoriftoShoes/orgs","repos_url":"https://api.github.com/users/DoriftoShoes/repos","events_url":"https://api.github.com/users/DoriftoShoes/events{/privacy}","received_events_url":"https://api.github.com/users/DoriftoShoes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-28T22:57:33Z","updated_at":"2015-05-31T17:06:55Z","closed_at":"2015-05-31T17:06:55Z","body":"Currently the tests are not completing successfully.  Here is the output of a test run:\r\n\r\n```\r\n(virtualenv)root@webtest001:/tmp/st2e2e_master_1432762253_28534# DISPLAY=:10 python webui/test_st2web.py TestSt2web fedora-staging201 8080 testu testp\r\n>>> Start st2web on Firefox at http://fedora-staging201:8080\r\n      browser: Running on Firefox\r\n      browser: Navigating to http://fedora-staging201:8080\r\n      web page: Wait for //div[contains(@class,\"login\")] to be present\r\n>>> Login as testu/testp\r\n      browser: Navigating to http://fedora-staging201:8080\r\n      web page: Wait for //div[contains(@class,\"login\")] to be present\r\n      web page: Wait for //input[contains(@ng-model,\"username\")] to be present\r\n      web element: Type value testu\r\n      web page: Wait for //input[contains(@ng-model,\"password\")] to be present\r\n      web element: Type value testp\r\n      web page: Wait for //input[contains(@value,\"Connect\")] to be clickable\r\n      web element: Click\r\n    Wait for History to load\r\n      web page: Wait for //div[contains(@class,\"panel__toolbar-title\") and contains(text(), \"History\")] to be present\r\n<<< Logged-in successfully\r\n    Switch to Actions\r\n      web page: Wait for //a[contains(@href, \"actions\")] to be present\r\n      web page: Wait for //a[contains(@href, \"actions\")] to be clickable\r\n      web element: Click\r\n    Wait for Actions to load\r\n      web page: Wait for //div[contains(@class,\"panel__toolbar-title\") and contains(text(), \"Actions\")] to be present\r\n>>> Run action core.local and get its status\r\n      web page: Wait for //div[contains(@class, \"view st2-actions\")] to be present\r\n    Find the column name with value core.local in the list and click on its row\r\n      web page: Wait for //div[contains(@class, \"column-name\") and contains(@title, \"core.local\")] to be present\r\n      web element: Get sub-element ..\r\n      web element: Click\r\n      web page: Wait for //div[contains(@class, \"actions__details-column-time\")] to be present\r\nE>>> Close browser\r\n>>> Start st2web on Firefox at http://fedora-staging201:8080\r\n      browser: Running on Firefox\r\n      browser: Navigating to http://fedora-staging201:8080\r\n      web page: Wait for //div[contains(@class,\"login\")] to be present\r\n>>> Login as testu/testp\r\n      browser: Navigating to http://fedora-staging201:8080\r\n      web page: Wait for //div[contains(@class,\"login\")] to be present\r\n      web page: Wait for //input[contains(@ng-model,\"username\")] to be present\r\n      web element: Type value testu\r\n      web page: Wait for //input[contains(@ng-model,\"password\")] to be present\r\n      web element: Type value testp\r\n      web page: Wait for //input[contains(@value,\"Connect\")] to be clickable\r\n      web element: Click\r\n    Wait for History to load\r\n      web page: Wait for //div[contains(@class,\"panel__toolbar-title\") and contains(text(), \"History\")] to be present\r\n<<< Logged-in successfully\r\n    Switch to Rules\r\n      web page: Wait for //a[contains(@href, \"rules\")] to be present\r\n      web page: Wait for //a[contains(@href, \"rules\")] to be clickable\r\n      web element: Click\r\n    Wait for Rules to load\r\n      web page: Wait for //div[contains(@class,\"panel__toolbar-title\") and contains(text(), \"Rules\")] to be present\r\n      web page: Wait for //div[contains(@class, \"view st2-rules\")] to be present\r\n>>> Delete 0 existing rules\r\n    Switch to Rules\r\n      web page: Wait for //a[contains(@href, \"rules\")] to be present\r\n      web page: Wait for //a[contains(@href, \"rules\")] to be clickable\r\n      web element: Click\r\n    Wait for Rules to load\r\n      web page: Wait for //div[contains(@class,\"panel__toolbar-title\") and contains(text(), \"Rules\")] to be present\r\n>>> Create a rule rule00746c43-600f-488e-9252-0a2649a6f38e (with trigger core.st2.webhook and action core.local)\r\n      web page: Wait for //div[contains(@class, \"view st2-rules\")] to be present\r\n      web page: Wait for //button[contains(@class,\"st2-panel__toolbar-button\")] to be present\r\n      web element: Click\r\n      web page: Wait for //div[@ng-model=\"newRule\"]/div[@name=\"name\"]/label/input to be present\r\nE>>> Close browser\r\n\r\n======================================================================\r\nERROR: test_run_action (__main__.TestSt2web)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"webui/test_st2web.py\", line 31, in test_run_action\r\n    action_status = self.st2web.get_actions_page().run_action(tested_action, **action_arguments)\r\n  File \"/tmp/st2e2e_master_1432762253_28534/webui/lib/st2web_actions_page.py\", line 18, in run_action\r\n    previous_timestamp = self.get_last_timestamp()\r\n  File \"/tmp/st2e2e_master_1432762253_28534/webui/lib/st2web_actions_page.py\", line 50, in get_last_timestamp\r\n    return result.get_text()\r\n  File \"/tmp/st2e2e_master_1432762253_28534/webui/lib/web/selenium_web_element.py\", line 28, in get_text\r\n    text = self.element.text\r\n  File \"/tmp/st2e2e_master_1432762253_28534/virtualenv/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py\", line 61, in text\r\n    return self._execute(Command.GET_ELEMENT_TEXT)['value']\r\n  File \"/tmp/st2e2e_master_1432762253_28534/virtualenv/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py\", line 402, in _execute\r\n    return self._parent.execute(command, params)\r\n  File \"/tmp/st2e2e_master_1432762253_28534/virtualenv/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py\", line 175, in execute\r\n    self.error_handler.check_response(response)\r\n  File \"/tmp/st2e2e_master_1432762253_28534/virtualenv/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py\", line 166, in check_response\r\n    raise exception_class(message, screen, stacktrace)\r\nStaleElementReferenceException: Message: Element not found in the cache - perhaps the page has changed since it was looked up\r\nStacktrace:\r\n    at fxdriver.cache.getElementAt (resource://fxdriver/modules/web-element-cache.js:8953)\r\n    at Utils.getElementAt (file:///tmp/tmpTJKQgb/extensions/fxdriver@googlecode.com/components/command-processor.js:8546)\r\n    at WebElement.getElementText (file:///tmp/tmpTJKQgb/extensions/fxdriver@googlecode.com/components/command-processor.js:11704)\r\n    at DelayedCommand.prototype.executeInternal_/h (file:///tmp/tmpTJKQgb/extensions/fxdriver@googlecode.com/components/command-processor.js:12274)\r\n    at fxdriver.Timer.prototype.setTimeout/<.notify (file:///tmp/tmpTJKQgb/extensions/fxdriver@googlecode.com/components/command-processor.js:603)\r\n\r\n======================================================================\r\nERROR: test_web_trigger (__main__.TestSt2web)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"webui/test_st2web.py\", line 50, in test_web_trigger\r\n    self.st2web.get_rules_page().create_rule(new_rule_name, tested_trigger, tested_action, **rule_arguments)\r\n  File \"/tmp/st2e2e_master_1432762253_28534/webui/lib/st2web_rules_page.py\", line 32, in create_rule\r\n    rule_name_field = self.wait_and_get_element(rules_page, st2web_locators.RULES_NEW_RULE_NAME)\r\n  File \"/tmp/st2e2e_master_1432762253_28534/webui/lib/st2web_common.py\", line 49, in wait_and_get_element\r\n    return page.wait(wait_element)\r\n  File \"/tmp/st2e2e_master_1432762253_28534/webui/lib/web/selenium_web_page.py\", line 16, in wait\r\n    found = WebDriverWait(self.browser.get_native_driver(), WebPage.LONG_WAIT).until(condition.getObject())\r\n  File \"/tmp/st2e2e_master_1432762253_28534/virtualenv/local/lib/python2.7/site-packages/selenium/webdriver/support/wait.py\", line 75, in until\r\n    raise TimeoutException(message, screen, stacktrace)\r\nTimeoutException: Message: \r\nStacktrace:\r\n    at FirefoxDriver.prototype.findElementInternal_ (file:///tmp/tmpWrPSwU/extensions/fxdriver@googlecode.com/components/driver-component.js:10271)\r\n    at fxdriver.Timer.prototype.setTimeout/<.notify (file:///tmp/tmpWrPSwU/extensions/fxdriver@googlecode.com/components/driver-component.js:603)\r\n\r\n----------------------------------------------------------------------\r\nRan 2 tests in 223.659s\r\n\r\nFAILED (errors=2)\r\n```"}}