New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object Wrapper error inside support_code_loader.js:64:29 #54
Comments
Could you provide the entire stack trace, please? Also, it seems like your step definition file got cut during pasting. Please paste it in full (and format it as code) or provide a link to somewhere we could take a look at it in full. |
Hello, Please find the code base link given below: https://drive.google.com/file/d/0B7rmR9NSjcYtYXJkRGlMclhMZTQ/view?usp=sharing Please let me know if you need any further details. I am getting below Thanks, On Wed, Sep 14, 2016 at 2:33 PM, Oskar B notifications@github.com wrote:
Thanks & Regards, |
Well, looks like you forgot to close the curly brace in
I'd suggest using an IDE supporting static code analysis or a standalone tool (like jshint), which should help you avoid making such errors. |
Thanks a lot. Sorry for the small mistake. I will try jshint. On Thu, Sep 15, 2016 at 8:51 AM, Oskar B notifications@github.com wrote:
Thanks & Regards, |
Hi Team, I am trying to save report in preety/html format so that I can view report Thanks, On Thu, Sep 15, 2016 at 8:00 PM, Kaustav Surai kaustav541@gmail.com wrote:
Thanks & Regards, |
I'm not sure if there's an issue with this library here. Please post the error here if so (no links). For the html format please see this issue For screenshots this is what I use. |
I used config file as
//protractor.conf.js
exports.config = {
seleniumAddress: 'http://127.0.0.1:4444/wd/hub',
getPageTimeout: 60000,
allScriptsTimeout: 500000,
framework: 'custom',
// path relative to the current config file
frameworkPath: require.resolve('protractor-cucumber-framework'),
capabilities: {
'browserName': 'firefox'
},
// Spec patterns are relative to this directory.
specs: [
'features/*.feature'
],
baseURL: 'http://localhost:8080/',
cucumberOpts: {
require: 'features/step_definitions/my_step_definitions.js',
tags: false,
format: 'pretty',
profile: false,
'no-source': true
}
};
and Step defnition and feature files are also given below but while running getting above error. please let me know if you need any details
features/test.feature
Feature: Running Cucumber with Protractor
As a user of Protractor
I should be able to use Cucumber
In order to run my E2E tests
module.exports = function() {
this.Given(/^I go to ([^"]*)$/, function(site, callback) {
browser.get(site).then(callback);
});
The text was updated successfully, but these errors were encountered: