https://cypress.io logo
Cypress on Azure Pipelines (False Complete)
# i-need-help
a
Running Cypress on Azure Pipelines, The execution will complete without running any test scenarios. Ive inspected the logs & i am unable to determine where the issues. Any advice is appreciated.

https://cdn.discordapp.com/attachments/1098262854391562271/1098262855092023406/Screenshot_2023-04-19_at_15.55.13.png

m
Hi @able-twilight-99822 You will probably need to activate debugging to find out why it is not running your tests. If you need a comparison of a working Azure CI pipeline, there is one on https://github.com/cypress-io/cypress-example-kitchensink#ci-status
a
Thanks @many-airline-45402, how can i activate debugging?
m
You need to set the environment variable `DEBUG`to
cypress:*
(see https://docs.cypress.io/guides/references/troubleshooting#Print-DEBUG-logs). You may need to check the Azure CI docs to find out how to do this. On
github-action
you would set this with
Copy code
env:
    DEBUG: 'cypress:*'
I just realized that the example Azure DevOps CI stopped running 2 weeks ago. Last run was on April 3, 2023. I don't know the reason for that. Edit: It was disabled, and I forgot about that!
a
Thanks @many-airline-45402 , i was able to generate the logs, but i'm not sure on what i am looking for as i don't have working run to compare against
m
Can you run your test locally to compare with the run on Azure Pipelines?
a
@User Thank you, I managed to generate the logs successfully. However, I couldn't identify the problem when I tried to compare the two logs. I have opened a ticket on Github Issues and have uploaded the log for reference. If you have any experience in troubleshooting logs or any suggestions, I would appreciate your input. The Github link for the issue is https://github.com/cypress-io/cypress/issues/26591.
m
@able-twilight-99822 I couldn't see anything obvious, but I'm not really experienced in debug logs. Sorry, I can't be more help!