fix (tests): wait before and after routing
This commit is contained in:
parent
f170d87019
commit
7c1afd4992
1 changed files with 2 additions and 0 deletions
|
|
@ -9,7 +9,9 @@ context('List View Settings', () => {
|
|||
cy.get('.sidebar-stat').should('contain', "Tags");
|
||||
});
|
||||
it('disable count and sidebar stats then verify', () => {
|
||||
cy.wait(300);
|
||||
cy.visit('/desk#List/DocType/List');
|
||||
cy.wait(300);
|
||||
cy.get('.list-count').should('contain', "20 of");
|
||||
cy.get('button').contains('Menu').click();
|
||||
cy.get('.dropdown-menu li').filter(':visible').contains('Settings').click();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue