Skip to content

Instantly share code, notes, and snippets.

@naspeh
Created February 2, 2017 18:22
Show Gist options
  • Save naspeh/38a89bb2bdc48a98248e422c725f288d to your computer and use it in GitHub Desktop.
Save naspeh/38a89bb2bdc48a98248e422c725f288d to your computer and use it in GitHub Desktop.
+ cd /opt/superdesk/client-core
+ npm i protractor-flake
[email protected] /opt/superdesk/client-core
└─┬ [email protected]
├── [email protected]
└── [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ webdriver-manager update
[17:06:28] I/file_manager - creating folder /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium
[17:06:29] I/downloader - selenium standalone: downloading version 2.53.1
[17:06:29] I/downloader - curl -o /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-2.53.1.jar https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.1.jar
[17:06:29] I/downloader - chromedriver: downloading version 2.26
[17:06:29] I/downloader - curl -o /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.26linux64.zip https://chromedriver.storage.googleapis.com/2.26/chromedriver_linux64.zip
[17:06:29] I/downloader - geckodriver: downloading version v0.11.1
[17:06:29] I/downloader - curl -o /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.11.1-linux64.tar.gz https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-linux64.tar.gz
[17:06:29] I/update - chromedriver: unzipping /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.26linux64.zip
[17:06:29] I/update - chromedriver: setting permissions to 0755 for /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.26
[17:06:31] I/update - geckodriver: unzipping /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.11.1-linux64.tar.gz
[17:06:31] I/update - geckodriver: setting permissions to 0755 for /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.11.1
+ '[' -n 2 ']'
++ cat /var/tmp/specs-part2
+ specs='--specs spec/monitoring_spec.js,spec/notifications_spec.js,spec/package_spec.js,spec/publishing_spec.js,spec/saved_search_spec.js,spec/search_provider_spec.js,spec/search_spec.js,spec/send_spec.js,spec/spike_spec.js,spec/subscribers_spec.js,spec/suggest_spec.js,spec/takes_spec.js,spec/templates_spec.js,spec/users_spec.js,spec/workspace_spec.js'
+ xvfb-run -a -s '-ac -screen 0 1920x1080x24' protractor-flake --max-attempts=2 -- protractor.conf.js --stackTrace --verbose --baseUrl http://localhost --params.baseBackendUrl http://localhost/api --specs spec/monitoring_spec.js,spec/notifications_spec.js,spec/package_spec.js,spec/publishing_spec.js,spec/saved_search_spec.js,spec/search_provider_spec.js,spec/search_spec.js,spec/send_spec.js,spec/spike_spec.js,spec/subscribers_spec.js,spec/suggest_spec.js,spec/takes_spec.js,spec/templates_spec.js,spec/users_spec.js,spec/workspace_spec.js
(node:4026) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[17:06:32] I/direct - Using ChromeDriver directly...
[17:06:32] I/launcher - Running 1 instances of WebDriver
Started
.................[17:11:19] W/element - more than one element found for locator By(css selector, .filetype-icon-composite) - the first result will be used
[17:11:25] W/element - more than one element found for locator By(css selector, .filetype-icon-takes-pack) - the first result will be used
......[17:12:41] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
..........[17:15:24] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
.[17:15:43] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
.[17:16:08] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
..*[17:16:36] W/element - more than one element found for locator By(css selector, *[id="unread-count"]) - the first result will be used
........[17:19:09] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
.*...*[17:20:41] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[17:20:41] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[17:20:43] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[17:20:43] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[17:20:44] W/element - more than one element found for locator By(css selector, .icon-close-small.icon-white) - the first result will be used
[17:20:46] W/element - more than one element found for locator By(css selector, option[label="first name last name"]) - the first result will be used
at search: can search by search field
F[17:22:46] W/element - more than one element found for locator By(css selector, .icon-close-small.icon-white) - the first result will be used
..............[17:26:35] W/element - more than one element found for locator By(css selector, [ng-click="cancel()"]) - the first result will be used
..*[17:27:02] W/element - more than one element found for locator By(css selector, button) - the first result will be used
[17:27:26] W/element - more than one element found for locator By(css selector, button) - the first result will be used
.[17:28:09] W/element - more than one element found for locator By(css selector, [ng-click="cancel()"]) - the first result will be used
...[17:28:44] W/element - more than one element found for locator by.cssContainingText("option", "English") - the first result will be used
......[17:29:57] W/element - more than one element found for locator By(css selector, button) - the first result will be used
......
Failures:
1) search can search by search field
Message:
Expected 0 to be 1.
Stack:
Error: Failed expectation
at Object.it (/opt/superdesk/client-core/spec/search_spec.js:135:49)
at /opt/superdesk/client-core/node_modules/jasminewd2/index.js:94:23
at new ManagedPromise (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:1082:7)
at controlFlowExecute (/opt/superdesk/client-core/node_modules/jasminewd2/index.js:80:18)
at TaskQueue.execute_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2913:14)
at TaskQueue.executeNext_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2896:21)
at asyncRun (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2820:25)
at /opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:639:7
Message:
Failed: Index out of bound. Trying to access element at index: 0, but there are only 0 elements that match locator By(css selector, .media-box)
Stack:
NoSuchElementError: Index out of bound. Trying to access element at index: 0, but there are only 0 elements that match locator By(css selector, .media-box)
at /opt/superdesk/client-core/node_modules/protractor/built/element.js:291:27
at ManagedPromise.invokeCallback_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:1379:14)
at TaskQueue.execute_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2913:14)
at TaskQueue.executeNext_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2896:21)
at asyncRun (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2775:27)
at /opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:639:7
at process._tickCallback (internal/process/next_tick.js:103:7)Error
at ElementArrayFinder.applyAction_ (/opt/superdesk/client-core/node_modules/protractor/built/element.js:461:27)
at ElementArrayFinder._this.(anonymous function) [as getText] (/opt/superdesk/client-core/node_modules/protractor/built/element.js:103:30)
at ElementFinder.(anonymous function) [as getText] (/opt/superdesk/client-core/node_modules/protractor/built/element.js:829:22)
at Object.it (/opt/superdesk/client-core/spec/search_spec.js:136:51)
at /opt/superdesk/client-core/node_modules/jasminewd2/index.js:94:23
at new ManagedPromise (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:1082:7)
at controlFlowExecute (/opt/superdesk/client-core/node_modules/jasminewd2/index.js:80:18)
at TaskQueue.execute_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2913:14)
at TaskQueue.executeNext_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2896:21)
at asyncRun (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2820:25)
From: Task: Run it("can search by search field") in control flow
at Object.<anonymous> (/opt/superdesk/client-core/node_modules/jasminewd2/index.js:79:14)
at /opt/superdesk/client-core/node_modules/jasminewd2/index.js:16:5
at ManagedPromise.invokeCallback_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:1379:14)
at TaskQueue.execute_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2913:14)
at TaskQueue.executeNext_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2896:21)
at asyncRun (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2775:27)
From asynchronous test:
Error
at Suite.describe (/opt/superdesk/client-core/spec/search_spec.js:14:5)
at Object.<anonymous> (/opt/superdesk/client-core/spec/search_spec.js:9:1)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
Pending:
1) monitoring can display embargo label when set for published item
Temporarily disabled with xit
2) package can preview package in a package
Temporarily disabled with xit
3) search_provider Add Search Provider
Temporarily disabled with xit
4) takes performs send and continue and reopens scenarios
Temporarily disabled with xit
86 specs, 1 failure, 4 pending specs
Finished in 1466.013 seconds
[17:31:01] I/launcher - 0 instance(s) of WebDriver still running
[17:31:01] I/launcher - chrome #01 failed 1 test(s)
[17:31:01] I/launcher - overall: 1 failed spec(s)
[17:31:01] E/launcher - Process exited with error code 1
Using standard to parse output
Re-running tests: test attempt 2
Re-running the following test files:
/opt/superdesk/client-core/spec/search_spec.js
(node:8125) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[17:31:02] I/direct - Using ChromeDriver directly...
[17:31:02] I/launcher - Running 1 instances of WebDriver
Started
[17:31:27] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[17:31:27] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[17:31:29] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[17:31:29] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[17:31:30] W/element - more than one element found for locator By(css selector, .icon-close-small.icon-white) - the first result will be used
[17:31:32] W/element - more than one element found for locator By(css selector, option[label="first name last name"]) - the first result will be used
at search: can search by search field
F[17:33:29] W/element - more than one element found for locator By(css selector, .icon-close-small.icon-white) - the first result will be used
..
Failures:
1) search can search by search field
Message:
Expected 0 to be 1.
Stack:
Error: Failed expectation
at Object.it (/opt/superdesk/client-core/spec/search_spec.js:135:49)
at /opt/superdesk/client-core/node_modules/jasminewd2/index.js:94:23
at new ManagedPromise (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:1082:7)
at controlFlowExecute (/opt/superdesk/client-core/node_modules/jasminewd2/index.js:80:18)
at TaskQueue.execute_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2913:14)
at TaskQueue.executeNext_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2896:21)
at asyncRun (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2820:25)
at /opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:639:7
Message:
Failed: Index out of bound. Trying to access element at index: 0, but there are only 0 elements that match locator By(css selector, .media-box)
Stack:
NoSuchElementError: Index out of bound. Trying to access element at index: 0, but there are only 0 elements that match locator By(css selector, .media-box)
at /opt/superdesk/client-core/node_modules/protractor/built/element.js:291:27
at ManagedPromise.invokeCallback_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:1379:14)
at TaskQueue.execute_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2913:14)
at TaskQueue.executeNext_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2896:21)
at asyncRun (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2775:27)
at /opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:639:7
at process._tickCallback (internal/process/next_tick.js:103:7)Error
at ElementArrayFinder.applyAction_ (/opt/superdesk/client-core/node_modules/protractor/built/element.js:461:27)
at ElementArrayFinder._this.(anonymous function) [as getText] (/opt/superdesk/client-core/node_modules/protractor/built/element.js:103:30)
at ElementFinder.(anonymous function) [as getText] (/opt/superdesk/client-core/node_modules/protractor/built/element.js:829:22)
at Object.it (/opt/superdesk/client-core/spec/search_spec.js:136:51)
at /opt/superdesk/client-core/node_modules/jasminewd2/index.js:94:23
at new ManagedPromise (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:1082:7)
at controlFlowExecute (/opt/superdesk/client-core/node_modules/jasminewd2/index.js:80:18)
at TaskQueue.execute_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2913:14)
at TaskQueue.executeNext_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2896:21)
at asyncRun (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2820:25)
From: Task: Run it("can search by search field") in control flow
at Object.<anonymous> (/opt/superdesk/client-core/node_modules/jasminewd2/index.js:79:14)
at /opt/superdesk/client-core/node_modules/jasminewd2/index.js:16:5
at ManagedPromise.invokeCallback_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:1379:14)
at TaskQueue.execute_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2913:14)
at TaskQueue.executeNext_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2896:21)
at asyncRun (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2775:27)
From asynchronous test:
Error
at Suite.describe (/opt/superdesk/client-core/spec/search_spec.js:14:5)
at Object.<anonymous> (/opt/superdesk/client-core/spec/search_spec.js:9:1)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
3 specs, 1 failure
Finished in 162.22 seconds
[17:33:44] I/launcher - 0 instance(s) of WebDriver still running
[17:33:44] I/launcher - chrome #01 failed 1 test(s)
[17:33:44] I/launcher - overall: 1 failed spec(s)
[17:33:44] E/launcher - Process exited with error code 1
+ cd /opt/superdesk/client-core
+ npm i protractor-flake
[email protected] /opt/superdesk/client-core
└─┬ [email protected]
├── [email protected]
└── [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
real 0m21.311s
user 0m20.420s
sys 0m0.736s
+ webdriver-manager update
[22:59:46] I/file_manager - creating folder /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium
[22:59:46] I/downloader - selenium standalone: downloading version 2.53.1
[22:59:46] I/downloader - curl -o /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-2.53.1.jar https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.1.jar
[22:59:46] I/downloader - chromedriver: downloading version 2.26
[22:59:46] I/downloader - curl -o /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.26linux64.zip https://chromedriver.storage.googleapis.com/2.26/chromedriver_linux64.zip
[22:59:46] I/downloader - geckodriver: downloading version v0.11.1
[22:59:46] I/downloader - curl -o /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.11.1-linux64.tar.gz https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-linux64.tar.gz
[22:59:46] I/update - chromedriver: unzipping /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.26linux64.zip
[22:59:46] I/update - chromedriver: setting permissions to 0755 for /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.26
[22:59:50] I/update - geckodriver: unzipping /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.11.1-linux64.tar.gz
[22:59:50] I/update - geckodriver: setting permissions to 0755 for /opt/superdesk/client-core/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.11.1
real 0m5.054s
user 0m0.788s
sys 0m0.220s
+ '[' -n 2 ']'
++ cat /var/tmp/specs-part2
+ specs='--specs spec/monitoring_spec.js,spec/notifications_spec.js,spec/package_spec.js,spec/publishing_spec.js,spec/saved_search_spec.js,spec/search_provider_spec.js,spec/search_spec.js,spec/send_spec.js,spec/spike_spec.js,spec/subscribers_spec.js,spec/suggest_spec.js,spec/takes_spec.js,spec/templates_spec.js,spec/users_spec.js,spec/workspace_spec.js'
+ xvfb-run -a -s '-ac -screen 0 1920x1080x24' protractor-flake --max-attempts=2 -- protractor.conf.js --stackTrace --verbose --troubleshoot --baseUrl http://localhost --params.baseBackendUrl http://localhost/api --specs spec/monitoring_spec.js,spec/notifications_spec.js,spec/package_spec.js,spec/publishing_spec.js,spec/saved_search_spec.js,spec/search_provider_spec.js,spec/search_spec.js,spec/send_spec.js,spec/spike_spec.js,spec/subscribers_spec.js,spec/suggest_spec.js,spec/takes_spec.js,spec/templates_spec.js,spec/users_spec.js,spec/workspace_spec.js
[22:59:51] D/launcher - Running with --troubleshoot
[22:59:51] D/launcher - Protractor version: 4.0.14
[22:59:51] D/launcher - Your base url for tests is http://localhost
(node:466) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[22:59:51] I/direct - Using ChromeDriver directly...
[22:59:51] I/launcher - Running 1 instances of WebDriver
[22:59:52] D/runner - WebDriver session successfully started with capabilities Capabilities {
'acceptSslCerts' => true,
'applicationCacheEnabled' => false,
'browserConnectionEnabled' => false,
'browserName' => 'chrome',
'chrome' => { chromedriverVersion: '2.26.436382 (70eb799287ce4c2208441fc057053a5b07ceabac)',
userDataDir: '/tmp/.org.chromium.Chromium.mtnFre' },
'cssSelectorsEnabled' => true,
'databaseEnabled' => false,
'handlesAlerts' => true,
'hasTouchScreen' => false,
'javascriptEnabled' => true,
'locationContextEnabled' => true,
'mobileEmulationEnabled' => false,
'nativeEvents' => true,
'networkConnectionEnabled' => false,
'pageLoadStrategy' => 'normal',
'platform' => 'Linux',
'rotatable' => false,
'takesHeapSnapshot' => true,
'takesScreenshot' => true,
'unexpectedAlertBehaviour' => '',
'version' => '55.0.2883.87',
'webStorageEnabled' => true }
[22:59:52] D/runner - Running with spec files /opt/superdesk/client-core/spec/monitoring_spec.js,/opt/superdesk/client-core/spec/notifications_spec.js,/opt/superdesk/client-core/spec/package_spec.js,/opt/superdesk/client-core/spec/publishing_spec.js,/opt/superdesk/client-core/spec/saved_search_spec.js,/opt/superdesk/client-core/spec/search_provider_spec.js,/opt/superdesk/client-core/spec/search_spec.js,/opt/superdesk/client-core/spec/send_spec.js,/opt/superdesk/client-core/spec/spike_spec.js,/opt/superdesk/client-core/spec/subscribers_spec.js,/opt/superdesk/client-core/spec/suggest_spec.js,/opt/superdesk/client-core/spec/takes_spec.js,/opt/superdesk/client-core/spec/templates_spec.js,/opt/superdesk/client-core/spec/users_spec.js,/opt/superdesk/client-core/spec/workspace_spec.js
Started
.................[23:03:56] W/element - more than one element found for locator By(css selector, .filetype-icon-composite) - the first result will be used
[23:04:04] W/element - more than one element found for locator By(css selector, .filetype-icon-takes-pack) - the first result will be used
......[23:05:05] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
..........[23:07:38] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
.[23:08:02] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
.[23:08:39] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
..*[23:09:06] W/element - more than one element found for locator By(css selector, *[id="unread-count"]) - the first result will be used
........[23:11:34] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
.*...*[23:13:04] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[23:13:04] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[23:13:06] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[23:13:06] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[23:13:07] W/element - more than one element found for locator By(css selector, .icon-close-small.icon-white) - the first result will be used
[23:13:09] W/element - more than one element found for locator By(css selector, option[label="first name last name"]) - the first result will be used
.[23:15:47] W/element - more than one element found for locator By(css selector, .icon-close-small.icon-white) - the first result will be used
at search: can action on items
F.............[23:19:51] W/element - more than one element found for locator By(css selector, [ng-click="cancel()"]) - the first result will be used
..*[23:20:19] W/element - more than one element found for locator By(css selector, button) - the first result will be used
[23:20:44] W/element - more than one element found for locator By(css selector, button) - the first result will be used
.[23:21:26] W/element - more than one element found for locator By(css selector, [ng-click="cancel()"]) - the first result will be used
...[23:21:56] W/element - more than one element found for locator by.cssContainingText("option", "English") - the first result will be used
......[23:23:03] W/element - more than one element found for locator By(css selector, button) - the first result will be used
......
Failures:
1) search can action on items
Message:
Expected false to be true.
Stack:
Error: Failed expectation
at Object.it (/opt/superdesk/client-core/spec/search_spec.js:194:41)
at /opt/superdesk/client-core/node_modules/jasminewd2/index.js:94:23
at new ManagedPromise (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:1082:7)
at controlFlowExecute (/opt/superdesk/client-core/node_modules/jasminewd2/index.js:80:18)
at TaskQueue.execute_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2913:14)
at TaskQueue.executeNext_ (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2896:21)
at asyncRun (/opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:2820:25)
at /opt/superdesk/client-core/node_modules/selenium-webdriver/lib/promise.js:639:7
Pending:
1) monitoring can display embargo label when set for published item
Temporarily disabled with xit
2) package can preview package in a package
Temporarily disabled with xit
3) search_provider Add Search Provider
Temporarily disabled with xit
4) takes performs send and continue and reopens scenarios
Temporarily disabled with xit
86 specs, 1 failure, 4 pending specs
Finished in 1450.668 seconds
[23:24:03] I/launcher - 0 instance(s) of WebDriver still running
[23:24:03] I/launcher - chrome #01 failed 1 test(s)
[23:24:03] I/launcher - overall: 1 failed spec(s)
[23:24:03] E/launcher - Process exited with error code 1
Using standard to parse output
Re-running tests: test attempt 2
Tests failed but no specs were found. All specs will be run again.
[23:24:03] D/launcher - Running with --troubleshoot
[23:24:03] D/launcher - Protractor version: 4.0.14
[23:24:03] D/launcher - Your base url for tests is http://localhost
(node:5586) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[23:24:03] I/direct - Using ChromeDriver directly...
[23:24:03] I/launcher - Running 1 instances of WebDriver
[23:24:04] D/runner - WebDriver session successfully started with capabilities Capabilities {
'acceptSslCerts' => true,
'applicationCacheEnabled' => false,
'browserConnectionEnabled' => false,
'browserName' => 'chrome',
'chrome' => { chromedriverVersion: '2.26.436382 (70eb799287ce4c2208441fc057053a5b07ceabac)',
userDataDir: '/tmp/.org.chromium.Chromium.YYZMYt' },
'cssSelectorsEnabled' => true,
'databaseEnabled' => false,
'handlesAlerts' => true,
'hasTouchScreen' => false,
'javascriptEnabled' => true,
'locationContextEnabled' => true,
'mobileEmulationEnabled' => false,
'nativeEvents' => true,
'networkConnectionEnabled' => false,
'pageLoadStrategy' => 'normal',
'platform' => 'Linux',
'rotatable' => false,
'takesHeapSnapshot' => true,
'takesScreenshot' => true,
'unexpectedAlertBehaviour' => '',
'version' => '55.0.2883.87',
'webStorageEnabled' => true }
[23:24:04] D/runner - Running with spec files /opt/superdesk/client-core/spec/monitoring_spec.js,/opt/superdesk/client-core/spec/notifications_spec.js,/opt/superdesk/client-core/spec/package_spec.js,/opt/superdesk/client-core/spec/publishing_spec.js,/opt/superdesk/client-core/spec/saved_search_spec.js,/opt/superdesk/client-core/spec/search_provider_spec.js,/opt/superdesk/client-core/spec/search_spec.js,/opt/superdesk/client-core/spec/send_spec.js,/opt/superdesk/client-core/spec/spike_spec.js,/opt/superdesk/client-core/spec/subscribers_spec.js,/opt/superdesk/client-core/spec/suggest_spec.js,/opt/superdesk/client-core/spec/takes_spec.js,/opt/superdesk/client-core/spec/templates_spec.js,/opt/superdesk/client-core/spec/users_spec.js,/opt/superdesk/client-core/spec/workspace_spec.js
Started
.................[23:28:25] W/element - more than one element found for locator By(css selector, .filetype-icon-composite) - the first result will be used
[23:28:32] W/element - more than one element found for locator By(css selector, .filetype-icon-takes-pack) - the first result will be used
......[23:29:35] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
..........[23:32:13] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
.[23:32:31] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
.[23:32:56] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
..*[23:33:17] W/element - more than one element found for locator By(css selector, *[id="unread-count"]) - the first result will be used
........[23:35:37] W/element - more than one element found for locator By(css selector, .filetype-icon-text) - the first result will be used
.*...*[23:37:02] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[23:37:02] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[23:37:05] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[23:37:05] W/element - more than one element found for locator By(css selector, *[id="search-slugline"]) - the first result will be used
[23:37:06] W/element - more than one element found for locator By(css selector, .icon-close-small.icon-white) - the first result will be used
[23:37:07] W/element - more than one element found for locator By(css selector, option[label="first name last name"]) - the first result will be used
.[23:39:35] W/element - more than one element found for locator By(css selector, .icon-close-small.icon-white) - the first result will be used
..............[23:42:37] W/element - more than one element found for locator By(css selector, [ng-click="cancel()"]) - the first result will be used
..*[23:43:00] W/element - more than one element found for locator By(css selector, button) - the first result will be used
[23:43:23] W/element - more than one element found for locator By(css selector, button) - the first result will be used
.[23:44:02] W/element - more than one element found for locator By(css selector, [ng-click="cancel()"]) - the first result will be used
...[23:44:26] W/element - more than one element found for locator by.cssContainingText("option", "English") - the first result will be used
......[23:45:14] W/element - more than one element found for locator By(css selector, button) - the first result will be used
......
Pending:
1) monitoring can display embargo label when set for published item
Temporarily disabled with xit
2) package can preview package in a package
Temporarily disabled with xit
3) search_provider Add Search Provider
Temporarily disabled with xit
4) takes performs send and continue and reopens scenarios
Temporarily disabled with xit
86 specs, 0 failures, 4 pending specs
Finished in 1314.226 seconds
[23:45:58] I/launcher - 0 instance(s) of WebDriver still running
[23:45:58] I/launcher - chrome #01 passed
real 46m7.870s
user 1m10.004s
sys 0m4.172s
+ ./fire lxc-rm sdc-naspeh--check-e2e--part2
[2017-02-01 23:45:58 UTC] [9c3fb163] INF lxc-destroy -f -n sdc-naspeh--check-e2e--part2
Destroyed container sdc-naspeh--check-e2e--part2
real 47m11.324s
user 0m0.888s
sys 0m0.364s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment