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

Which method to invoke to export results? #33

Open
hammadqd opened this issue Jul 14, 2023 · 4 comments
Open

Which method to invoke to export results? #33

hammadqd opened this issue Jul 14, 2023 · 4 comments
Labels
issue:question Further information is requested

Comments

@hammadqd
Copy link

Hey, so I setup all my spec files in this Integration and on cli Test rail Integration also starts but the Results are not updated on Test rail. Is there any specific method I need to call in my spec file so that the results are sent ?

@boxblinkracer
Copy link
Owner

hi there

ok so to check a few things:

  • when you use "cypress run" the CLI output shows the testrail integration is active (a few things like domain, testrun ID and so on are visisble)?

if that is OK, then after a spec has fully run, there should be an output in CLI from this integration.
this either shows something like "test cases or results sent to test rail",...or an "error sending to testrail"
do you see anything of this?

maybe you can post an image (no senstive data please) - if possible

thx

@boxblinkracer boxblinkracer added the issue:question Further information is requested label Jul 14, 2023
@hammadqd
Copy link
Author

Hey, so earlier I was using npm run spec to execute my spec file, because when i try to npx cypress run from the root of the project, it gives an error of not finding the plugin/index.js file or the supportFile as they are present under test/Cypress/cypress/.
When I try to provide the path tp plug, supportfile etc folders in my cypress.config.js present in the root of my project, it again gives different errors, attached. https://imgur.com/5yTyn0N

@hammadqd
Copy link
Author

hammadqd commented Jul 14, 2023

and I was executing my spec file in Cypress folder in the directory. I think I have install cypress in the component folder and I should reinstall it again on the root directory. but I dont know if I can pass the path of the folders as they are present under the test/cypress directory. This is the cypress.config.js ss and the directory https://imgur.com/rgHoB67

@boxblinkracer
Copy link
Owner

Hi

you can just do this in the cypress.config.js file, just did it today in Cypress 12 installation

Screenshot 2023-07-14 at 20 48 12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue:question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants