Question: can I waitUntil multiple elements appear?

This issue has been tracked since 2022-06-22.

When saving a record, multiple separate messages are displayed. Currently I have this:

        let messageArr = messages.split(",");
        cy.get('.noty_message').should('have.length', messageArr.length).each(($ele) => {
            //validate that all messages have been displayed.
NoriSte wrote this answer on 2022-06-30

Hey Barton
Could you elaborate a bit more on what you tried until now and why it did not work? Something like this does not work?

cy.get('.noty_message').should('have.length', messageArr.length).each(($ele) => {
bartonhammond wrote this answer on 2022-06-30

@NoriSte Yes - you are correct, I didn't need the cy.wait(500). Thanks!

More Details About Repo
Owner Name NoriSte
Repo Name cypress-wait-until
Full Name NoriSte/cypress-wait-until
Language JavaScript
Created Date 2019-04-27
Updated Date 2023-03-19
Star Count 635
Watcher Count 8
Fork Count 24
Issue Count 3


Issue Title Created Date Updated Date