some improvements to cypress tests w/ burnettk

This commit is contained in:
jasquat 2023-09-07 15:31:31 -04:00
parent 3ba3b5448a
commit f0fdf51a87
1 changed files with 2 additions and 6 deletions

View File

@ -172,15 +172,11 @@ describe('process-instances', () => {
});
it('can filter', () => {
cy.getBySel('process-instance-list-link').click();
cy.contains('My Process Instances');
cy.get('.process-instance-list-row-variant-for-me');
cy.assertAtLeastOneItemInPaginatedResults();
cy.getBySel('process-instance-list-all').click();
cy.visit('/admin/process-instances/all');
cy.contains('All Process Instances');
cy.get('.process-instance-list-row-variant-all');
cy.assertAtLeastOneItemInPaginatedResults();
cy.getBySel('filter-section-expand-toggle').click();
const statusSelect = '#process-instance-status-select';
PROCESS_STATUSES.forEach((processStatus) => {