The provided "teamcity" reporter does not exist. Check that you have specified the report format correctly - testing

suddenly the test I have in testcafe stop working.
I have try to reinstall again the teamcity reporter with:
npm install -g testcafe testcafe-reporter-teamcity
and
npm install testcafe testcafe-reporter-teamcity
I can see that I have the folder testcafe-reporter-teamcity in my node_modules. But for some reason it cant find it.
Still the error that I get when running my test in local with the command:
testcafe firefox tests -c 4 --skip-js-errors --reporter teamcity
It will return the error:
ERROR The provided "teamcity" reporter does not exist. Check that you have specified the report format correctly.

Found the issue.
Just downgrading the version to
"testcafe-reporter-teamcity": "1.0.10"
seems to work perfectly.. for some reason 1.0.11 is giving this issue.

Related

ERROR The "html" reporter does not exist. Check the reporter parameter for errors

I am running with ERROR The "html" reporter does not exist. Check the reporter parameter for errors. error while running test using testcafe. Can you please let me know what I can do to resolve this issue?
Please check that you have installed the testcafe-reporter-html npm package.
To install it use the following command:
npm install testcafe-reporter-html
If this does not help, perhaps, the reporter throws an error that was not added to the console output.
We already have a similar request for adding the information from the original error to the console output: https://github.com/DevExpress/testcafe/issues/6437
This will be implemented in one of the future releases.
TestCafe has these reporters built in: https://testcafe.io/documentation/402825/guides/concepts/reporters#header
All others would need to be installed via npm and imported into the project.
Try to install npm globally, Issue will resolve
npm install -g testcafe-reporter-html
Source : https://testcafe.io/documentation/402811/guides/extend-testcafe/install-plugins

while installing cypress through command :npm install cypress --save-dev getting error as The Cypress App could not be downloaded

while installing cypress through command :npm install cypress --save-dev getting error as The Cypress App could not be downloaded.
Error :
Finishing Installation
The Cypress App could not be downloaded.
Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration
Otherwise, please check network connectivity and try again:
But please not I m not using any proxy and on my personal wifi.
plz suggest ,what can be done in this case.Thanks
It seems to be too many possible reasons for this issue in general but I managed to find a workaround to install Cypress from within a corporation with npm and without using sudo npm or turning off strict ssl.
The following worked for me per November 18th 2020 with Ubuntu 18.04 and npm 6.14.8:
I downloaded the zip file shown in https://docs.cypress.io/guides/getting-started/installing-cypress.html#Direct-download
I installed cypress as shown in https://docs.cypress.io/guides/getting-started/installing-cypress.html#Install-binary : CYPRESS_INSTALL_BINARY=~/Downloads/cypress.zip npm install cypress --save-dev
I could now run npx cypress open to start the gui (which will also generate the cypress.json file)
Possible Reasons for this issue:
U might be running the project with a proxy setting.
One of the reason could be you are behind the firewall.that may prohibit your network? Please follow the guidelines in Proxy Configuration if so(https://docs.cypress.io/guides/references/proxy-configuration.html#Set-a-proxy-on-Linux-or-macOS).
make sure you have right access to install the cypress.
if none of the above mentioned reasons try removing the biraries or node_modules and install again.

run sample test case of uiveri5 show error "Reference Error: describe is not defined"

I installed the #ui5/uiveri5 globally correctly. I download the ui-uiveri5 repository, then I go to directory of sample\apiTesting, and run the command
uiveri5 APITesting.spec
it report following error:
C:\src\open\ui5-uiveri5\sample\apiTesting\APITesting.spec.js:2
describe('APITesting', function() {
^
ReferenceError: describe is not defined
Please guide me on how to solve this issue. ( It report the same issue after I install the jasmine-node, mocha globally).
No need to install jasmine or mocha, just install uiveri5 globally with npm install #ui5/uiveri5 -g. Can you please try again, I merged a fix for another small issue. And with it, this sample starts fine.

Custom newman reports are not loaded to newman run

I tried to install a custom report 'teamcity' and tried to use it during newman run, and eventhough the package is installed properly, it throws 'reporter could not be loaded' error.
Please find the below details:
Same issue happens when I created my own report locally and tried to use it. But the in-built reporters such as html, cli works fine. Is there an issue here or am I doing something wrong here? Please advise.
Try to install newman-reporter-teamcity globally and run
$ npm install -g newman-reporter-teamcity
Run your collection again.
$ newman run APITesting.postman_collection.json -r teamcity
I had the same issue. This is resolved once I have installed globally.

PhantomJS does not exist Error

I get error PhantomJS does not exist at '/usr/local/phantomjs/bin/phantomjs on the terminal upon running the tests (npm tests) for Cloudboost Javascript SDK repo. Any idea how to fix this?
Install PhantomJS from here, and create a symlink of the downloaded folder in your /usr/local/ directory. Run the command npm test again and that error would be gone.