mysterious-psychiatrist-29678
12/12/2022, 2:15 PMcy.get('.fxc-dropdown-input', {timeout: 40000}).eq(1)
.click()
.contains('ab-selenium-test-do-not-delete', {timeout: 20000})
.should('be.visible')
.click()
cy.contains('Next').click()
here is what Cypress says about the error. finding 'ab-selenium-test-do-not-delete' is obivously failing as the dropdown containing it didn't load.
what would you suggest to try out as I've run out of ideas for now. thanksthousands-house-85089
12/12/2022, 2:22 PMthousands-house-85089
12/12/2022, 2:26 PMthousands-house-85089
12/12/2022, 2:27 PMmysterious-psychiatrist-29678
12/12/2022, 2:31 PMcy.select() can only be called on a <select>.
Your subject is a: <div class="azc-formElementContainer">...</div>
thousands-house-85089
12/12/2022, 2:43 PMthousands-house-85089
12/12/2022, 2:43 PMvictorious-summer-2999
12/12/2022, 2:48 PMsession
without having it clearing everything?
for instance in my app I need some cookies/LS etc. to run tests and when I call cy.session
for login then I lose those setups. Is there a way to build a session on top of existing cookies/LS ?
from the docs
The page is cleared before setup when testIsolation is enabled and is not cleared when testIsolation is disabled.
Is there a way to only specify this test isolation
parameter at a function level? I'd not like to lose the test isolation
globally.
@gray-kilobyte-89541mysterious-psychiatrist-29678
12/12/2022, 2:51 PMthousands-house-85089
12/12/2022, 3:07 PMthousands-house-85089
12/12/2022, 3:07 PMthousands-house-85089
12/12/2022, 3:08 PMmysterious-psychiatrist-29678
12/12/2022, 3:17 PMthousands-house-85089
12/12/2022, 3:19 PMthousands-house-85089
12/12/2022, 3:19 PMthousands-house-85089
12/12/2022, 3:20 PMthousands-house-85089
12/12/2022, 3:22 PMthousands-house-85089
12/12/2022, 3:22 PMthousands-house-85089
12/12/2022, 3:28 PMmysterious-psychiatrist-29678
12/12/2022, 3:29 PMcy.get('.fxc-dropdown-input', {timeout: 40000}).eq(1)
but if I put implicite wait it succeeds
cy.wait(37000)
cy.get('.fxc-dropdown-input', {timeout: 40000}).eq(1)
so meaning even the dropdown clickable the page still not loaded fully.
I don't want to use implicite wait what other way I can do?thousands-house-85089
12/12/2022, 3:30 PMgray-kilobyte-89541
12/12/2022, 3:31 PMcy.session
, instead I prefer https://github.com/bahmutov/cypress-data-sessionthousands-house-85089
12/12/2022, 3:33 PMthousands-house-85089
12/12/2022, 3:34 PMthousands-house-85089
12/12/2022, 3:35 PMmysterious-psychiatrist-29678
12/12/2022, 4:00 PMmysterious-psychiatrist-29678
12/12/2022, 4:00 PMthousands-house-85089
12/12/2022, 4:02 PMthousands-house-85089
12/12/2022, 4:02 PMthousands-house-85089
12/12/2022, 4:04 PM