On my local, I start e2e tests in Protractor and this is good. I have problem when I want start tests on Jenkins job.
- I pull tests from repo
- run command
npm install
- run command
node_modules\.bin\ng e2e --webdriver-update
My tests start execution and I have problem:
` W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
[31m× Check Item in RAID Type drop-down-menu[39m
[31m- [39m[31mFailed: element not interactable
(Session info: chrome=69.0.3497.81)
(Driver info: chromedriver=2.42.591088 (7b2b2dca23cca0862f674758c9a3933e685c27d5),platform=Windows NT 6.2.9200 x86_64)[39m
(Session info: chrome=69.0.3497.81)
(Driver info: chromedriver=2.42.591088 (7b2b2dca23cca0862f674758c9a3933e685c27d5),platform=Windows NT 6.2.9200 x86_64)
at Object.checkLegacyResponse (C:\Program Files (x86)\Jenkins\workspace\newJob\NewGenProject\ui\node_modules\selenium-webdriver\lib\error.js:546:15)
at parseHttpResponse (C:\Program Files (x86)\Jenkins\workspace\newJob\NewGenProject\ui\node_modules\selenium-webdriver\lib\http.js:509:13)
at doSend.then.response (C:\Program Files (x86)\Jenkins\workspace\newJob\NewGenProject\ui\node_modules\selenium-webdriver\lib\http.js:441:30)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)`