Nothing happens in QASE with "playwright-qase-reporter"
closed
Guilherme Cavalcanti
Hi, I am trying to use the playwright-qase-reporter by following its readme. Locally, everything seems to went fine, a HTML page shows up with the report, but nothing happens on QASE side. Sure, the project is created, its code and API token informed in playwright.config.ts. QASE shows that the API token I have created has never been used, and no test run is created.
Here is the debug line:
[DEBUG] qase: Config: {"configDir":"C:\\Users\\Guilherme\\dev\\playwright","_mode":"test","_isTestServer":false,"_commandHash":"1933614","debug":true,"testops":{"api":{"token":"OMITTED"},"project":"PL","uploadAttachments":true,"run":{"complete":true},"plan":{},"batch":{}},"frameworkPackage":"@playwright/test","frameworkName":"playwright","reporterName":"playwright-qase-reporter","report":{"connections":{"local":{}}}}
Here is the command I am invoking: npx playwright test login.test.ts
What I am doing wrong? Thanks in advance!
Manjunatha Reddy
closed
Manjunatha Reddy
in progress
Manjunatha Reddy
Hello Guilherme Cavalcanti ,
Apologies for the delayed response.
It seems you’ve set up the configuration correctly with the essential options: Project code and API token.
Could you please confirm if you have set the Mode option to ‘testops’?
The reporter can operate in three modes:
• Testops: Enables reporting to Qase.
• Report: Generates a report locally.
• Off: Disables the reporter.
You can set the mode in the config file or by using an environment variable: $ export QASE_MODE=testops
If the issue persists, please feel free to reach out to us via the support chat, where we can troubleshoot this in real time.
Guilherme Cavalcanti
Manjunatha Reddy thanks for the reply.
I am not sure if I am with testops enabled, would you mind to check my settings file bellow and tell me how to enable testops on the file?
Thanks again.
Manjunatha Reddy
Guilherme Cavalcanti: Apologies for the delayed response.
Looks like it's not added in the reporter's options. You can add it under testops.mode
Here's an example -
Manjunatha Reddy
I'm marking this post as closed, but if you need any further assistance on this, please, reach out to us on our support chat.