lukas-reineke / protractor-zephyr-reporter

Generates Zephyr for Jira test executions using zapi for protractor tests.
MIT License
1 stars 5 forks source link

const options is missing/showing incorrect required data: Jira ZAPI url #1

Open almeidh opened 6 years ago

almeidh commented 6 years ago

The following is my configuration. This reporter by given documentation does not work. I cannot access ZAPI, response is unauthorized. Am I missing JWT token with SecretKey ? If yes, can we specify it in this reporter ? const options = { 'disabled': false, 'screenshot': 'fail', //'version': '10000', 'projectId': '10000', 'boardId': '1', 'jiraUser': 'almeid.hodzic@outlook.com', 'jiraPassword': '***', //'zapiUrl': 'https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0', 'zapiUrl': 'https://prod-api.zephyr4jiracloud.com/connect', 'jiraUrl': 'https://simplification.atlassian.net/rest/agile/latest' };

lukas-reineke commented 6 years ago

You are using Zephyr cloud. The API is quite a bit different and because I have no access to a cloud system, development isn't easy. That said, I have made a version which should at least cover the basic functionality. This is written against the mock service from zephyr, based only on the rather poor documentation. Please try it and let me know if something is not working. I will try to improve this.

richard-smith-sky commented 5 years ago

We'd be interested in being able to run Protractor tests and report to a cloud instance of Jira with Zephyr. Did this enhancement make any progress since the last comment?

almeidh commented 5 years ago

I couldn't achieve what I wanted and actually didn't spend much time testing this. If you have any luck with the implementation please let me know.

lukas-reineke commented 5 years ago

I did not spent any more time on this, and probably won't in the future. It is impossible for me to test anything.

Feel free to experiment with the feature branch. PRs are always welcome.