-
Notifications
You must be signed in to change notification settings - Fork 4
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
Need some sample example project /repo #1
Comments
Hi @Avinash-Kannan Can you provide your wdio configuration file and useful information for troubleshooting? |
@gianlucamangiapelo I have added below lines of code in wdio config file and added package using npm install.
It didn’t throw me any error / logs related to added service. My Appium mobile tests got passed and couldn’t find anything useful in logs related to azure-devops service added. |
@Avinash-Kannan The scope for the token should be Test Management with Read&Write permission. |
Yes exactly , I have did the same. Custom defined to read & write access for test management. |
Steps that i followed : @gianlucamangiapelo
Test got passed, nothing got updated in Azure test plan. I saw the report example screenshot in your repo readme. But couldn’t find anything as such. |
@Avinash-Kannan To help in troubleshooting you can enable in your wdio.conf.js one of the loggers adding these lines: logLevel: "trace",
outputDir: path.join(__dirname, "/logs"), This will produce in the /logs folder a wdio.log file and inside it, you can search for the keyword: @gmangiapelo and see if any errors are produced. Let me know your findings. Right now any boilerplate/example repositories are available, I'll try to work on it. |
Hi @gianlucamangiapelo, I have tried this service with below code and getting errors. wdio.conf.js file: Spec file: Errors: Do we need to encode the token in base64 format? Am I missing anything? Thanks in advance |
Hi @bhumireddy100, can you copy the entire log file? PS: the plugin itself is doing the right encoding |
Hi @gianlucamangiapelo, here is the two logs. Continue... Continue... wdio-0-0.log:: Thanks in advance |
@bhumireddy100 One possible issue could be that you're passing in the configuration wrongs projectId: '',
planId: ,
suiteId: , Can you double check and share how you're retrieving this data (attach screenshot if feasible) |
Hi @gianlucamangiapelo, thank for your quick help. I have 6 test cases in ADO suite and running only 2 test cases from automation code(not developed automation test scripts for 4 test cases). Service created Run with all 6 test cases under Test results tab(2 tc's are passed and another 4 tc's are unspecified). |
Ciao @bhumireddy100, happy to read good news.
|
Tried this service as per documents : https://webdriver.io/docs/gmangiapelo-wdio-azure-devops-service
But couldn’t find anything reflected in my Azure Test plans.
The text was updated successfully, but these errors were encountered: