powerful-journalist-49461
03/17/2023, 2:00 PMgray-kilobyte-89541
03/17/2023, 2:02 PMmany-airline-45402
03/17/2023, 2:35 PMgray-kilobyte-89541
03/17/2023, 2:49 PMmany-airline-45402
03/17/2023, 3:23 PMfreezing-piano-2792
03/19/2023, 2:08 PMdazzling-thailand-9844
03/19/2023, 9:16 PM(attempt < retries)
where attempt = Cypress.currentRetry
and `retries = cy.state('runnable')._retries`: https://docs.cypress.io/guides/guides/test-retries#Can-I-access-the-current-attempt-counter-from-the-testfreezing-piano-2792
03/20/2023, 7:47 AMearly-computer-34425
03/20/2023, 10:34 AMable-painting-97388
03/20/2023, 2:38 PMstale-park-86404
03/20/2023, 5:43 PMhandsome-yak-40455
03/20/2023, 8:14 PMgentle-bird-77272
03/20/2023, 8:15 PMhandsome-yak-40455
03/20/2023, 8:18 PMstale-park-86404
03/21/2023, 3:47 AMgentle-bird-77272
03/21/2023, 10:58 AMprehistoric-market-22707
03/22/2023, 10:05 PMdazzling-thailand-9844
03/22/2023, 10:58 PMprehistoric-market-22707
03/22/2023, 11:02 PMboundless-processor-89029
03/23/2023, 2:37 PMhandsome-yak-40455
03/23/2023, 10:27 PMdazzling-thailand-9844
03/25/2023, 5:09 PMcy.window().then(win => {
const options = {
chromePreferences: {
'incognito': true
}
}
win.open(url, '_blank', options)
})
dazzling-thailand-9844
03/25/2023, 5:44 PMrealHover()
command and setting an additional time delay for assertions wasn't necessary.sticky-energy-17458
03/29/2023, 4:28 PMhttps://cdn.discordapp.com/attachments/763114122065739818/1090673733582196776/IMG_0952.jpgโพ
tall-house-12547
03/29/2023, 7:52 PM[data-test=${selector}]
, ...args)
})
and in the tsconfig.json has the code:
"compilerOptions": {
"types": ["cypress"],
But the system gives the massage: Type 'Chainable' is not generic - and - Property 'getByData' does not exist on type
'cy & CyEventEmitter'
I've run the command 'npm install --save-dev @types/cypress' but it doesn't work.
2. And the second is that I created a second file in the e2e folder. I've already written the followinginto de file but when I run the command npx cypress open just run the first file but not the second, what should I do?
describe("Newsletter Subscribe Form", () => {
beforeEach(() => {
cy.visit("http://localhost:3000")
})
it("allows users to subscribe to the email list", () => {
cy.getByData('email-input').type('tom@aol.com')
})
})
What's wrong?
Thanks in advance.
https://cdn.discordapp.com/attachments/763114122065739818/1090725150267289610/image.pngโพ
most-secretary-62975
03/29/2023, 8:46 PMmysterious-psychiatrist-29678
03/29/2023, 10:19 PM--config video=false
rough-van-84956
03/30/2023, 5:25 AMhttps://cdn.discordapp.com/attachments/763114122065739818/1090869342310252554/image.pngโพ
thankful-wire-37848
03/30/2023, 7:16 AMsticky-energy-17458
03/30/2023, 3:32 PMhttps://cdn.discordapp.com/attachments/763114122065739818/1091022084240580628/E3FD28FF-1CF4-43F5-9F4F-DBAF99B45D69.jpgโพ