Category:Office software
Category:Windows productivity softwareQ:
How to run protractor tests in debug mode without losing existing test results
I'm new to Protractor and want to be able to debug the tests on the browser. I've tried the protractor --debug command. In this mode, I loose my existing test results.
Is there a way to turn on the debug mode while keeping my tests intact?
A:
I don't know about running existing test results, but I have a protractor.conf.js file which looks like this:
exports.config = {
seleniumAddress: '',
chromeOnly: true,
multiCapabilities: [
{
'browserName': 'chrome',
'chromeOptions': {
binary: 'C:\Program Files\Google\Chrome\Application\chrome.exe',
args: ['/no-sandbox', '--disable-dev-shm-usage', '--headless']
},
'pageLoadTimeout': 60000
}
],
framework: 'jasmine',
specs: ['test/e2e/*.e2e-spec.ts'],
jasmineNodeOpts: {
defaultTimeoutInterval: 30000,
showColors: true,
includeStackTrace: true,
defaultTimeoutInterval: 30000,
print: function() {}
}
};
It runs the tests on chrome on localhost:4444 with --headless, and it will also run the tests in debug mode, so that the JS errors and the protractor.log output are logged into the console.
Q:
Java Android error "java.lang.NoSuchMethodError"
I am making an application with Firebase to help me with my church activities.
For some reason my app is crashing and I am getting this error in the logcat:
java.lang.NoSuchMethodError: com.google.firebase.database.DataSnapshot.getValue(Ljava/lang/ ac619d1d87
Related links:
Comments