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

OnPrepare and OnComplete hooks are not invoked or executed when WDIO-Azure-devOps-service is initialized #13

Open
rakeshbs890 opened this issue Jun 29, 2023 · 2 comments

Comments

@rakeshbs890
Copy link

rakeshbs890 commented Jun 29, 2023

OnPrepare and OnComplete hooks in the class AzureDevopsService are not getting not invoked or executed. Due to which Test run id is not created, hence results are not updated to test plan. Where as if the test run id for test plan is available and inProgress then results are updated to test plan, but test execution history for current test point will not be updated.

gianlucamangiapelo/wdio-azure-devops-service Version: 0.0.11
Jasmine + JS (Node 18.12.1) + WDIO(7.29.1)

image
@gianlucamangiapelo please check and help us with the solution. Please let me know if any additional details are required

@alfredBnext
Copy link

alfredBnext commented Aug 15, 2023

In my case I had to add the word Default at the end of the required, like this:

const AzureDevopsService = require('@gmangiapelo/wdio-azure-devops-service').default;

After adding the library in the aforementioned way, it started calling the service

@rakeshbs890
Copy link
Author

@alfredBnext Could you please share detailed insight on it. I did get you, where you updated 'const AzureDevopsService = require('@gmangiapelo/wdio-azure-devops-service').default;'

Please share further details.

Thanks in advance

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

No branches or pull requests

2 participants