Skip to content

Instantly share code, notes, and snippets.

@shapovalovei
Created February 3, 2017 14:59
Show Gist options
  • Save shapovalovei/41a4c7772f9edd74fce947ef349c4598 to your computer and use it in GitHub Desktop.
Save shapovalovei/41a4c7772f9edd74fce947ef349c4598 to your computer and use it in GitHub Desktop.
Failed scenarios: payingViaPayPal.feature:10 # Scenario: Pay with PayPal
1 Scenarios (1 failed)
13 Steps (1 failed, 8 skipped, 4 passed)
0m43.836s
org.openqa.selenium.JavascriptException: Element does not exist in cache (status: 10) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 516 milliseconds
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'
System info: host: 'MacBook-Pro-Eugene.local', ip: '172.16.5.52', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.3', java.version: '1.8.0_121'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{networkConnectionEnabled=false, databaseEnabled=false, deviceName=iPhone 5, launchTimeout=500000, platform=MAC, wdaLocalPort=8100, realDeviceLogger=/usr/local/lib/node_modules/deviceconsole/deviceconsole, platformVersion=10.2, webStorageEnabled=false, locationContextEnabled=false, automationName=XCUITest, browserName=Safari, takesScreenshot=true, javascriptEnabled=true, platformName=iOS, udid=342E3135-1D03-4488-9FAF-29B4679E9513}]
Session ID: d8c0a380-8e23-46f4-8764-e8966a0d90cf
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:635)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:274)
at org.openqa.selenium.remote.RemoteWebElement.getText(RemoteWebElement.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement$1.invoke(EventFiringWebDriver.java:331)
at com.sun.proxy.$Proxy17.getText(Unknown Source)
at utils.MyWebDriverEventListener.afterClickOn(MyWebDriverEventListener.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.openqa.selenium.support.events.EventFiringWebDriver$1.invoke(EventFiringWebDriver.java:80)
at com.sun.proxy.$Proxy15.afterClickOn(Unknown Source)
at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement.click(EventFiringWebDriver.java:345)
at pages.BagWidget.actionViewBagAndCheckOut(BagWidget.java:135)
at steps.BagWidgetSteps.viewBagAndCheckOut(BagWidgetSteps.java:43)
at ✽.And view and check out bag(payingViaPayPal.feature:15)
16:53:12: Finishing suite: Suite
16:53:12: DELETE DRIVER
16:53:24: DELETE APPIUM
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 198.878 sec <<< FAILURE! - in TestSuite
feature(tests.CukesRunnerTest) Time elapsed: 104.212 sec <<< FAILURE!
cucumber.runtime.CucumberException:
org.openqa.selenium.JavascriptException: Element does not exist in cache (status: 10) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 516 milliseconds
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'
System info: host: 'MacBook-Pro-Eugene.local', ip: '172.16.5.52', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.3', java.version: '1.8.0_121'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{networkConnectionEnabled=false, databaseEnabled=false, deviceName=iPhone 5, launchTimeout=500000, platform=MAC, wdaLocalPort=8100, realDeviceLogger=/usr/local/lib/node_modules/deviceconsole/deviceconsole, platformVersion=10.2, webStorageEnabled=false, locationContextEnabled=false, automationName=XCUITest, browserName=Safari, takesScreenshot=true, javascriptEnabled=true, platformName=iOS, udid=342E3135-1D03-4488-9FAF-29B4679E9513}]
Session ID: d8c0a380-8e23-46f4-8764-e8966a0d90cf
Caused by: org.openqa.selenium.JavascriptException:
Element does not exist in cache (status: 10) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 516 milliseconds
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'
System info: host: 'MacBook-Pro-Eugene.local', ip: '172.16.5.52', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.3', java.version: '1.8.0_121'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{networkConnectionEnabled=false, databaseEnabled=false, deviceName=iPhone 5, launchTimeout=500000, platform=MAC, wdaLocalPort=8100, realDeviceLogger=/usr/local/lib/node_modules/deviceconsole/deviceconsole, platformVersion=10.2, webStorageEnabled=false, locationContextEnabled=false, automationName=XCUITest, browserName=Safari, takesScreenshot=true, javascriptEnabled=true, platformName=iOS, udid=342E3135-1D03-4488-9FAF-29B4679E9513}]
Session ID: d8c0a380-8e23-46f4-8764-e8966a0d90cf
Results :
Failed tests:
CukesRunnerTest>AbstractTestNGCucumberTests.feature:21 » Cucumber org.openqa.s...
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment