test(listview): Select Pending Todo items
This commit is contained in:
parent
3659ce8c4c
commit
4fcb22546b
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ context('List View', () => {
|
|||
it('enables "Actions" button', () => {
|
||||
const actions = ['Approve', 'Reject', 'Edit', 'Assign To', 'Apply Assignment Rule', 'Print', 'Delete'];
|
||||
cy.go_to_list('ToDo');
|
||||
cy.get('.level-item.list-row-checkbox.hidden-xs').click({ multiple: true, force: true });
|
||||
cy.get('.list-row-container:contains("Pending") .list-row-checkbox').click({ multiple: true, force: true });
|
||||
cy.get('.btn.btn-primary.btn-sm.dropdown-toggle').contains('Actions').should('be.visible').click();
|
||||
cy.get('.dropdown-menu li:visible').should('have.length', 7).each((el, index) => {
|
||||
cy.wrap(el).contains(actions[index]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue