Skip to content
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

Phantom, HTTPS, and reports #13

Open
samhatoum opened this issue Jul 21, 2018 · 6 comments
Open

Phantom, HTTPS, and reports #13

samhatoum opened this issue Jul 21, 2018 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed imported

Comments

@samhatoum
Copy link
Contributor

Issue by sgrover
Thursday Oct 22, 2015 at 15:59 GMT
Originally opened as xolvio/chimp#130


I have two issues I'm looking for help/guideance on. I've checked the documentation and Google but am not finding the right info yet.

  1. How do I generate an HTML report? If I set the command line "format" option to html (i.e. --format=html), I am getting errors. It looks like the html formatter is not available with a standard chimp install. Is there another package I need or a trick I'm not aware of? The goal is to provide a summary report that can be used for trend analysis. (My reporting knowledge may not be adequate here...)
  2. When I set my browser to phantomjs, none of my pages are loading. The site is using HTTPS. Google tells me there are some options to pass to phantom (ignore-ssl-errors, ssl-protocol=any), but I do not see a way to tell Chimp to pass those arguments. Including them on the command line does not make any difference.

So, I'm looking for some guidance on how/where to change the configuration that Chimp uses to talk with Phantom and Cucumber.

Thanks for any tips/links/suggestions. (still learning my way around the Node way of doing things!)

@samhatoum samhatoum added enhancement New feature or request help wanted Extra attention is needed imported labels Jul 21, 2018
@samhatoum
Copy link
Contributor Author

Comment by BernsteinA
Thursday Feb 11, 2016 at 19:08 GMT


bump. +1
requesting ignore-ssl-errors

@samhatoum
Copy link
Contributor Author

Comment by PierreCBSI
Tuesday Apr 19, 2016 at 17:51 GMT


I'm in a similar situation, trying to generate a html report but struggling with the commandline args.... What's the solution?

@samhatoum
Copy link
Contributor Author

Comment by samhatoum
Tuesday Apr 19, 2016 at 17:52 GMT


You can use this tool to generate a junit report from the cucumber json
https://github.com/stjohnjohnson/cucumber-junit

@samhatoum
Copy link
Contributor Author

Comment by samhatoum
Tuesday Apr 19, 2016 at 17:53 GMT


@sgrover sorry for the long delays. We now support a custom config file so you should be able to do it. check out chimp.readme.io

@samhatoum
Copy link
Contributor Author

Comment by vigneshmanogar
Friday Apr 22, 2016 at 05:25 GMT


Thanks for the great tool guys.

I have one issue. Tests work fine when using phantomJS to browse through my production server. But fail when using phantomJS to browse through my localhost. 'Browser.getUrl' seems to return 'about:blank'. I am assuming that it could be because of ssl issues. Below, related section from my configuration file.

      // - - - - WEBDRIVER-IO  - - - -
      webdriverio: {
            desiredCapabilities: {
                  javascriptEnabled: true,
                  acceptSslCerts: true
            },
            logLevel: 'verbose',
            // logOutput: null,
            host: '127.0.0.1',
            port: 4444,
            path: '/wd/hub',
            baseUrl: null,
            coloredLogs: true,
            screenshotPath: './fails',
            waitforTimeout: 500,
            waitforInterval: 250,
      },

Can you let me know if this is the right way of using it..? Thanks again.

@samhatoum
Copy link
Contributor Author

Comment by eriben
Monday Jun 20, 2016 at 21:44 GMT


Added a Pull Request for the SSL issue, when running PhantomJS over localhost:

xolvio/chimp#402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed imported
Projects
None yet
Development

No branches or pull requests

1 participant