DEV Community

Discussion on: Cypress-Qase integration

Collapse
 
matheusfonsecamagazord profile image
Matheus-Fonseca

Hello, No matter what I do, I set everything up correctly and it keeps giving me an error.

Image description

Image description

What am i doing wrong ? i've checked the API token and the project ID

Collapse
 
milan_nicic profile image
Milan Nicic

Hello, I can't really tell your POV, but I can see in the terminal error "$env:QUASE_REPORT=1" it should be $env:QASE_REPORT=1 and I am not sure that your "npm run test" is set correctly too, so try to fix that part and maybe run tests with npx cypress run if your script doesn't run tests at all.

Collapse
 
matheusfonsecamagazord profile image
Matheus-Fonseca

you are right, i did it, but i need to use the specific road to the archive to run the test, it works but don't release to QASE the test, didn't send anything to QASE.

Image description

Thread Thread
 
matheusfonsecamagazord profile image
Matheus-Fonseca

and when i set this test to $env:QASE_REPORT=1 and press npx cypress run, he run all the archives and not only this exclusive

Image description

Thread Thread
 
milan_nicic profile image
Milan Nicic

From what I see here

Image description
Its recognizing your qase test cases and your PID, so it should create a run there, check it there, if you have already 2 of them created, you need to delete them before creating another one for FREE version of QASE