In Guidewire Test Framework (GTF) while running "npm exec gt-ui-tests -- --cucumberTags="@PolicyCreation" getting error

62 Views Asked by At

In Guidewire Test Framework (GTF) while running "npm exec gt-ui-tests -- --cucumberTags="@PolicyCreation" getting error "Error: unable to get local issuer certificate"

Observation: Able to launch the URL in browser, but if I am running the Cucumber GT: UI test I am getting the error in the terminal "Error: unable to get local issuer certificate", I have tried the below options but no luck "allow_insecure_app_urls": "true", "ignore-certificate-errors": "true",

1

There are 1 best solutions below

5
Martin Aavik On

Guidewire Community article 000038472 documents how to get access to NPM packages when blocked by vpn or firewall rules.

https://community.guidewire.com/s/article/How-to-download-npm-packages-for-Guidewire-GT-UI-Framework (login required)

Alternatively, if possible, disable your vpn to allow the packages to be downloaded. This should only be necessary one time.