gray-kilobyte-89541
06/22/2022, 7:16 PMjs
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