mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-11 18:14:20 +00:00
some improvements to cypress tests w/ burnettk
This commit is contained in:
parent
3ba3b5448a
commit
f0fdf51a87
@ -172,15 +172,11 @@ describe('process-instances', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('can filter', () => {
|
it('can filter', () => {
|
||||||
cy.getBySel('process-instance-list-link').click();
|
cy.visit('/admin/process-instances/all');
|
||||||
cy.contains('My Process Instances');
|
|
||||||
cy.get('.process-instance-list-row-variant-for-me');
|
|
||||||
cy.assertAtLeastOneItemInPaginatedResults();
|
|
||||||
|
|
||||||
cy.getBySel('process-instance-list-all').click();
|
|
||||||
cy.contains('All Process Instances');
|
cy.contains('All Process Instances');
|
||||||
cy.get('.process-instance-list-row-variant-all');
|
cy.get('.process-instance-list-row-variant-all');
|
||||||
cy.assertAtLeastOneItemInPaginatedResults();
|
cy.assertAtLeastOneItemInPaginatedResults();
|
||||||
|
cy.getBySel('filter-section-expand-toggle').click();
|
||||||
|
|
||||||
const statusSelect = '#process-instance-status-select';
|
const statusSelect = '#process-instance-status-select';
|
||||||
PROCESS_STATUSES.forEach((processStatus) => {
|
PROCESS_STATUSES.forEach((processStatus) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user