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

Nightwatch 3rd party integration docs #185

Open
harshit-bs opened this issue Jul 27, 2022 · 10 comments
Open

Nightwatch 3rd party integration docs #185

harshit-bs opened this issue Jul 27, 2022 · 10 comments
Assignees

Comments

@harshit-bs
Copy link
Member

harshit-bs commented Jul 27, 2022

PRs

Documentation Link

https://drive.google.com/drive/folders/1YJPOxGPmpgY3B9H1eV_l0r_Swo8bIup_?usp=sharing

3rd party integration's tracker

Category Integration Priority Configured Test works Written doc Converted to .md file Status Comments
CI Integration GitHub Actions P0 Link 🚀 This integration will be easy if you are familiar with xvfb tool or have little knowledge of writing CI pipelines
CI Integration Bamboo P0 Link 🚀 The most difficult part of this integration was setting up Bamboo on localhost.
CI Integration Azure Pipelines P0 Link 🚀 Credential was the most challenging part of this integration
CI Integration Circle CI P1 @vishalshah133 is working on it
CI Integration Gitlab CI P1 @vishalshah133 is working on it
Reporter JSON P0 Link 🚀 It was the most easiest one
Reporter Nightwatch-Allure-Reporter P0 Link 🚀 Problem 🐛 : Although I've written the doc but it is no longer being maintained.
Reporter nightwatch-slack-reporter P0 Link 🚀 Problem 🐛 : It's been stale for 6 years.

Problem Resolved 🎉 : It requires a slack webhook url in order to configure and test. And it needs to be approved by the admin of Browserstack's slack workspace. But I'd created my own workspace to overcome the overhead 😄
Reporter Teamcity Reporter P0 Link 🚀 Problem 🐛 : Somehow the process is not getting closed while composing with other reporters

Problem Resolved 🎉 : Above issue is resolved now and doc updated accordingly
Reporter nightwatch-cucumber P1 It is now deprecated so there is no point to write the documentation for it. Also it is not a reporter but it was internally supporting cucumber tests which is now already been introduced in the nightwatch-v2.
Test Runner Jest P0 Link 🚀 Little knowledge of Jest is enough for this integration
Test Runner Ava P0 Link 🚀 Problem 🐛 : Previously introduced a limitation to add the following code in every test files because the tests are not waiting to launch the browser and we were encountering an error stating that browser is not defined :

test.before(async (t) => { global.browser = await browser; });.

Problem Resolved 🎉 : Above issue is resolved now and doc updated accordingly
@harshit-bs
Copy link
Member Author

harshit-bs commented Jul 27, 2022

  1. Nightwatch-Allure-Reporter :

  2. nightwatch-cucumber :
    It is now deprecated so there is no point to write the documentation for it. Also it is not a reporter but it was internally supporting cucumber tests which is now already been introduced in the nightwatch-v2.

  3. JSON Reporter :

  4. nightwatch-slack-reporter : [WIP]
    It requires a slack webhook url (https://api.slack.com/messaging/webhooks) in order to configure and test. And it needs to be approved by the admin of Browserstack's slack workspace.
    Doc is here https://docs.google.com/document/d/1AqeW0qRsE2zWCbRij8CRuwYsh932y8DaJ0Z-tv4UiQM/edit

  5. Jest test runner

  6. Ava test runner

  7. Github Action

  8. Bamboo

  9. Azure Pipelines :

  10. Teamcity Reporter

@AutomatedTester
Copy link
Member

@harshit-bs when you have completed the azure docs and the github actions docs could you just let me and @vishalshah133 know, there might be opportunities for us to improve create-nightwatch here to get people started quickly.

@vishalshah133
Copy link
Contributor

Reviewed Allure and JSON reporters. We can convert to .md file and create PRs for those 2

@vishalshah133
Copy link
Contributor

Reviewed Github actions. Have left some comments

@vishalshah133
Copy link
Contributor

Reviewed Ava & Jest test runners. Have left comments

@harshit-bs
Copy link
Member Author

harshit-bs commented Aug 15, 2022

Converted Allure and JSON reporters to .md file and raised a PR for those. And comments resolved for Github actions, Ava & Jest test runners.

@harshit-bs
Copy link
Member Author

Added document for Bamboo, Azure Pipelines and Team-City

@harshit-bs
Copy link
Member Author

Added document for Slack Reporter.

@harshit-bs
Copy link
Member Author

harshit-bs commented Aug 17, 2022

Raised PRs for left navbar of above articles

@harshit-bs
Copy link
Member Author

harshit-bs commented Aug 17, 2022

Added comments, URLs and updated status for all integrations in above tracker table

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: In Progress
Status: In Progress
Development

No branches or pull requests

3 participants