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

HTML Reporter works only in case, when protrator tests are specified via suites #6

Open
serhiy-yevtushenko opened this issue Apr 11, 2016 · 1 comment

Comments

@serhiy-yevtushenko
Copy link

If tests are being specified via specs in Protractor.conf.js (without using suites), then HTML report is not correctly generated (as it assumes only the usage of suites)

@abhishekswain
Copy link
Owner

Please update the npm module to 1.2.5 and ensure that onPrepare block returns a Promise.
e.g:

onPrepare: function () {

        // returning the promise makes protractor wait for the reporter config before executing tests
        return global.browser.getProcessedConfig().then(function (config) {

        });
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants