{"action":"closed","issue":{"url":"https://api.github.com/repos/oppia/oppia/issues/4044","repository_url":"https://api.github.com/repos/oppia/oppia","labels_url":"https://api.github.com/repos/oppia/oppia/issues/4044/labels{/name}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/4044/comments","events_url":"https://api.github.com/repos/oppia/oppia/issues/4044/events","html_url":"https://github.com/oppia/oppia/issues/4044","id":270207388,"number":4044,"title":"E2e test failures for stateEditor.js","user":{"login":"seanlip","id":10575562,"avatar_url":"https://avatars0.githubusercontent.com/u/10575562?v=4","gravatar_id":"","url":"https://api.github.com/users/seanlip","html_url":"https://github.com/seanlip","followers_url":"https://api.github.com/users/seanlip/followers","following_url":"https://api.github.com/users/seanlip/following{/other_user}","gists_url":"https://api.github.com/users/seanlip/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlip/subscriptions","organizations_url":"https://api.github.com/users/seanlip/orgs","repos_url":"https://api.github.com/users/seanlip/repos","events_url":"https://api.github.com/users/seanlip/events{/privacy}","received_events_url":"https://api.github.com/users/seanlip/received_events","type":"User","site_admin":false},"labels":[{"id":383795041,"url":"https://api.github.com/repos/oppia/oppia/labels/backend","name":"backend","color":"d4c5f9","default":false},{"id":309197616,"url":"https://api.github.com/repos/oppia/oppia/labels/needs%20debugging","name":"needs debugging","color":"efffaf","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-01T06:21:53Z","updated_at":"2018-02-04T08:48:26Z","closed_at":"2018-02-04T08:48:26Z","author_association":"OWNER","body":"We ran into a couple of test failures for stateEditor.js on Travis-CI. Something is flaky here and it's worth figuring out what's going on.\r\n\r\n/cc @DubeySandeep \r\n\r\n---\r\n\r\n**Failure 1**\r\n```\r\nSpecs: /home/travis/build/oppia/oppia/core/tests/protractor/stateEditor.js\r\n\r\nState editor\r\nF    ✗ should skip the customization modal for interactions having no customization options\r\n      - Failed: unknown error: Element <button type=\"button\" class=\"protractor-test-delete-interaction oppia-delete-interaction-button oppia-transition-200\" ng-click=\"deleteInteraction()\" ng-if=\"editabilityService.isEditable()\">...</button> is not clickable at point (755, 281). Other element would receive the click: <form name=\"addAnswerGroupForm.outcomeDetailsForm\" class=\"form-inline protractor-test-add-response-details ng-pristine ng-valid\" style=\"\">...</form>\r\n\r\nFailures:\r\n1) State editor should skip the customization modal for interactions having no customization options\r\n  Message:\r\n    Failed: unknown error: Element <button type=\"button\" class=\"protractor-test-delete-interaction oppia-delete-interaction-button oppia-transition-200\" ng-click=\"deleteInteraction()\" ng-if=\"editabilityService.isEditable()\">...</button> is not clickable at point (755, 281). Other element would receive the click: <form name=\"addAnswerGroupForm.outcomeDetailsForm\" class=\"form-inline protractor-test-add-response-details ng-pristine ng-valid\" style=\"\">...</form>\r\n      (Session info: chrome=62.0.3202.75)\r\n      (Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.4.0-93-generic x86_64)\r\n  Stack:\r\n    WebDriverError: unknown error: Element <button type=\"button\" class=\"protractor-test-delete-interaction oppia-delete-interaction-button oppia-transition-200\" ng-click=\"deleteInteraction()\" ng-if=\"editabilityService.isEditable()\">...</button> is not clickable at point (755, 281). Other element would receive the click: <form name=\"addAnswerGroupForm.outcomeDetailsForm\" class=\"form-inline protractor-test-add-response-details ng-pristine ng-valid\" style=\"\">...</form>\r\n      (Session info: chrome=62.0.3202.75)\r\n      (Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.4.0-93-generic x86_64)\r\n        at WebDriverError (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/error.js:27:5)\r\n        at Object.checkLegacyResponse (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/error.js:505:15)\r\n        at parseHttpResponse (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/http.js:509:13)\r\n        at doSend.then.response (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/http.js:440:13)\r\n        at process._tickCallback (internal/process/next_tick.js:103:7)\r\n    From: Task: WebElement.click()\r\n        at thenableWebDriverProxy.schedule (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/webdriver.js:816:17)\r\n        at WebElement.schedule_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/webdriver.js:1921:25)\r\n        at WebElement.click (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/webdriver.js:2002:17)\r\n        at actionFn (/home/travis/build/oppia/node_modules/protractor/lib/element.ts:94:34)\r\n        at Array.map (native)\r\n        at actionResults.getWebElements.then (/home/travis/build/oppia/node_modules/protractor/lib/element.ts:484:67)\r\n        at ManagedPromise.invokeCallback_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:1366:14)\r\n        at TaskQueue.execute_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:2970:14)\r\n        at TaskQueue.executeNext_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:2953:27)\r\n        at asyncRun (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:2813:27)Error\r\n        at ElementArrayFinder.applyAction_ (/home/travis/build/oppia/node_modules/protractor/lib/element.ts:482:23)\r\n        at ElementArrayFinder.(anonymous function) [as click] (/home/travis/build/oppia/node_modules/protractor/lib/element.ts:96:21)\r\n        at ElementFinder.(anonymous function) [as click] (/home/travis/build/oppia/node_modules/protractor/lib/element.ts:873:14)\r\n        at /home/travis/build/oppia/oppia/core/tests/protractor_utils/editor.js:179:64\r\n        at ManagedPromise.invokeCallback_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:1366:14)\r\n        at TaskQueue.execute_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:2970:14)\r\n        at TaskQueue.executeNext_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:2953:27)\r\n        at asyncRun (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:2813:27)\r\n        at /home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:676:7\r\n        at process._tickCallback (internal/process/next_tick.js:103:7)\r\n    From: Task: Run it(\"should skip the customization modal for interactions having no customization options\") in control flow\r\n        at UserContext.<anonymous> (/home/travis/build/oppia/node_modules/jasminewd2/index.js:94:19)\r\n    From asynchronous test: \r\n    Error\r\n        at Suite.<anonymous> (/home/travis/build/oppia/oppia/core/tests/protractor/stateEditor.js:138:3)\r\n        at Object.<anonymous> (/home/travis/build/oppia/oppia/core/tests/protractor/stateEditor.js:28:1)\r\n        at Module._compile (module.js:570:32)\r\n        at Object.Module._extensions..js (module.js:579:10)\r\n        at Module.load (module.js:487:32)\r\n        at tryModuleLoad (module.js:446:12)\r\n```\r\n\r\n**Failure 2**\r\n\r\n```\r\n  State editor\r\nF    ✗ should add/modify/delete a hint\r\n      - Failed: unknown error: Element <button id=\"tutorialSaveButton\" class=\"btn btn-default oppia-save-draft-button protractor-test-save-changes btn-success\" ng-class=\"{'btn-success': isExplorationSaveable(), 'oppia-save-draft-button-padding': getChangeListLength() &amp;&amp; !isPrivate()}\" ng-click=\"saveChanges()\" ng-disabled=\"!isExplorationSaveable()\" style=\"\">...</button> is not clickable at point (786, 25). Other element would receive the click: <h3>...</h3>\r\n        (Session info: chrome=62.0.3202.75)\r\n        (Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.4.0-93-generic x86_64)\r\n\r\nFailures:\r\n1) State editor should add/modify/delete a hint\r\n  Message:\r\n    Failed: unknown error: Element <button id=\"tutorialSaveButton\" class=\"btn btn-default oppia-save-draft-button protractor-test-save-changes btn-success\" ng-class=\"{'btn-success': isExplorationSaveable(), 'oppia-save-draft-button-padding': getChangeListLength() &amp;&amp; !isPrivate()}\" ng-click=\"saveChanges()\" ng-disabled=\"!isExplorationSaveable()\" style=\"\">...</button> is not clickable at point (786, 25). Other element would receive the click: <h3>...</h3>\r\n      (Session info: chrome=62.0.3202.75)\r\n      (Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.4.0-93-generic x86_64)\r\n  Stack:\r\n    WebDriverError: unknown error: Element <button id=\"tutorialSaveButton\" class=\"btn btn-default oppia-save-draft-button protractor-test-save-changes btn-success\" ng-class=\"{'btn-success': isExplorationSaveable(), 'oppia-save-draft-button-padding': getChangeListLength() &amp;&amp; !isPrivate()}\" ng-click=\"saveChanges()\" ng-disabled=\"!isExplorationSaveable()\" style=\"\">...</button> is not clickable at point (786, 25). Other element would receive the click: <h3>...</h3>\r\n      (Session info: chrome=62.0.3202.75)\r\n      (Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.4.0-93-generic x86_64)\r\n        at WebDriverError (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/error.js:27:5)\r\n        at Object.checkLegacyResponse (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/error.js:505:15)\r\n        at parseHttpResponse (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/http.js:509:13)\r\n        at doSend.then.response (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/http.js:440:13)\r\n        at process._tickCallback (internal/process/next_tick.js:103:7)\r\n    From: Task: WebElement.click()\r\n        at thenableWebDriverProxy.schedule (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/webdriver.js:816:17)\r\n        at WebElement.schedule_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/webdriver.js:1921:25)\r\n        at WebElement.click (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/webdriver.js:2002:17)\r\n        at actionFn (/home/travis/build/oppia/node_modules/protractor/lib/element.ts:94:34)\r\n        at Array.map (native)\r\n        at actionResults.getWebElements.then (/home/travis/build/oppia/node_modules/protractor/lib/element.ts:484:67)\r\n        at ManagedPromise.invokeCallback_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:1366:14)\r\n        at TaskQueue.execute_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:2970:14)\r\n        at TaskQueue.executeNext_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:2953:27)\r\n        at asyncRun (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:2813:27)Error\r\n        at ElementArrayFinder.applyAction_ (/home/travis/build/oppia/node_modules/protractor/lib/element.ts:482:23)\r\n        at ElementArrayFinder.(anonymous function) [as click] (/home/travis/build/oppia/node_modules/protractor/lib/element.ts:96:21)\r\n        at ElementFinder.(anonymous function) [as click] (/home/travis/build/oppia/node_modules/protractor/lib/element.ts:873:14)\r\n        at Object.saveChanges (/home/travis/build/oppia/oppia/core/tests/protractor_utils/editor.js:863:52)\r\n        at UserContext.<anonymous> (/home/travis/build/oppia/oppia/core/tests/protractor/stateEditor.js:233:12)\r\n        at /home/travis/build/oppia/node_modules/jasminewd2/index.js:112:25\r\n        at new ManagedPromise (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:1067:7)\r\n        at ControlFlow.promise (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:2396:12)\r\n        at schedulerExecute (/home/travis/build/oppia/node_modules/jasminewd2/index.js:95:18)\r\n        at TaskQueue.execute_ (/home/travis/build/oppia/node_modules/selenium-webdriver/lib/promise.js:2970:14)\r\n    From: Task: Run it(\"should add/modify/delete a hint\") in control flow\r\n        at UserContext.<anonymous> (/home/travis/build/oppia/node_modules/jasminewd2/index.js:94:19)\r\n    From asynchronous test: \r\n    Error\r\n        at Suite.<anonymous> (/home/travis/build/oppia/oppia/core/tests/protractor/stateEditor.js:216:3)\r\n        at Object.<anonymous> (/home/travis/build/oppia/oppia/core/tests/protractor/stateEditor.js:28:1)\r\n        at Module._compile (module.js:570:32)\r\n        at Object.Module._extensions..js (module.js:579:10)\r\n        at Module.load (module.js:487:32)\r\n        at tryModuleLoad (module.js:446:12)\r\n```"}}
{"actor":{"display_login":"seanlip"}}