Giter Site home page Giter Site logo

Comments (5)

jennifer-shehane avatar jennifer-shehane commented on June 7, 2024

@pujantrivedicisco Do you remember how you first installed Cypress? Thereโ€™s a few different ways you could have. https://docs.cypress.io/guides/getting-started/installing-cypress#Installing

from cypress.

pujantrivedicisco avatar pujantrivedicisco commented on June 7, 2024

@jennifer-shehane , i first installed version 12.17.4, then after few weeks, installed 13.8.1 using npm install cypress --save-dev, then pnpm install to install dependencies

from cypress.

pujantrivedicisco avatar pujantrivedicisco commented on June 7, 2024

I tried direct app installed too, downloaded it, put it in applications folder, then configured my project with it.

I am facing total two issues

  1. The API call is not getting intercepted, the variable is not getting the jwt token in response in below code.

    cy.intercept('GET', uri).as('requestalias');
    cy.wait(2000)
    cy.visit('/');
    cy.wait('@requestalias').then((interception) => {
    let authorizationHeaderValue = interception.request.headers['Authorization:'];

    if (!authorizationHeaderValue) {
    authorizationHeaderValue = interception.response.headers['Authorization'];
    }

    cy.log("The value of the Authorization header is:", authorizationHeaderValue);
    return cy.wrap(authorizationHeaderValue).as('authToken'); //this authtoken is blank for me

to troubleshoot above, i thought to clean install cypress all over again and try, but now cypress is not at all completely uninstalling.

from cypress.

MikeMcC399 avatar MikeMcC399 commented on June 7, 2024

@pujantrivedicisco

You may like to connect to the Cypress technical community on Discord

Discord chat (click on button)

where other users help each other and provide support.

from cypress.

jennifer-shehane avatar jennifer-shehane commented on June 7, 2024

Closing as there isn't an indication of a bug within Cypress to address here.

from cypress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.