Comments (5)
@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.
@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.
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
-
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.
You may like to connect to the Cypress technical community on Discord
where other users help each other and provide support.
from cypress.
Closing as there isn't an indication of a bug within Cypress to address here.
from cypress.
Related Issues (20)
- baseUrl in cypress.config.ts won't get overwritten by setting CYPRESS_baseUrl or CYPRESS_BASE_URL HOT 1
- Vite v5 gives CJS deprecation warning with Component testing HOT 2
- Memory not getting released - Failed to adjust OOM score of renderer with pid 610. Permission denied.
- selectFile errors on large files HOT 1
- Browser will freeze when sync request is intercepted (Tested in Cypress 10.11.0) HOT 1
- cy.document() does not return an HTMLDocument HOT 4
- Error: WebSocket connection closed (in cypress 13.10)
- ES modules Cannot be stubed
- Azure AD B2C Authentication not working when automated with Cypress HOT 1
- Assertions fail in after block, but not in a separate it block HOT 2
- Form submitted when pressing Enter in a button type "button"
- Remove support for older versions of Angular in relation to Component Testing
- Remove support for older versions of Next.js in relation to Component Testing
- Angular-cli "ng e2e" command use cypress @cypress/[email protected] but default test fail
- readFile command cannot read file with special symbols in name on Linux Debian - it says there is no such file
- Consider moving away from document.domain to adhere to better security practices
- Component Commands built into angular bundle causing missing "fs" module for Plugin.
- Missing browserCriClient in connectToNewSpec HOT 1
- Chaining .selectFile from document throws an error HOT 1
- Email address used when logging in with Github HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress.