https://cypress.io logo
```js let name it('gets the name', () => { cy.ge...
# e2e-testing
g
Copy code
js
let name
it('gets the name', () => {
  cy.get('#name').invoke('text').then(t => name = t)
})
it('uses the name', () => {
  expect(name).to.be.a('string')
})
@rapid-application-21794 are you saying the above does not work? @magnificent-finland-58048 avert your eyes