Skip to content
Advertisement

Tag: automation

Unexpected token ‘<'

I am using this to add html between a div tag but it displays Unexpected token ‘<‘ The x[“solution”] is a json file which contains html like <strong> bold </strong> etc. Answer You forgot to quote the right part of the equality. This code is generating: Also, you can use a single formatted string which would look like: and would

Has anyone integrated Test Rail with Cypress ? I am looking to auto update the status of test case

I am trying to integrate test rail with cypress to auto update the Test Case status. I followed the steps as mentioned: https://www.npmjs.com/package/cypress-testrail-reporter But I see the following error in cypress run: EPROTO 140623370270312:error:100000f0:SSL routines:OPENSSL_internal:UNSUPPORTED_PROTOCOL:../../third_party/boringssl/src/ssl/handshake_client.cc:581: Is this because the Test Rail set up done in domain? Answer Please add the following configurations in cypress.json } Do let me know if

Cypress: Re-use auth token across multiple API tests

I have a Rest API which generates a token. This session token is used across multiple REST API’s as an authorization Bearer token. I used this as reference: https://github.com/cypress-io/cypress-example-recipes/blob/master/examples/logging-in__jwt/cypress/integration/spec.js However, in that example, the function to generate token is embedded in the test. I tried to create a custom command for which should store locally but it is not being

Advertisement