chore: update proposal detail tests (#2648)

This commit is contained in:
Joe Tsang 2023-01-17 16:18:51 +00:00 committed by GitHub
parent 2b229cd1e7
commit 2640b7d77d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,10 +289,10 @@ context(
.and('be.visible'); .and('be.visible');
}); });
cy.get_proposal_information_from_table('State') cy.get_proposal_information_from_table('State')
.contains('STATE_OPEN') .contains('Open')
.and('be.visible'); .and('be.visible');
cy.get_proposal_information_from_table('Type') cy.get_proposal_information_from_table('Type')
.contains('NewFreeform') .contains('Freeform')
.and('be.visible'); .and('be.visible');
}); });
}); });
@ -617,7 +617,7 @@ context(
}); });
}); });
cy.get_proposal_information_from_table('State') cy.get_proposal_information_from_table('State')
.contains('STATE_REJECTED') .contains('Rejected')
.and('be.visible'); .and('be.visible');
cy.get_proposal_information_from_table('Rejection reason') cy.get_proposal_information_from_table('Rejection reason')
.contains('PROPOSAL_ERROR_CLOSE_TIME_TOO_LATE') .contains('PROPOSAL_ERROR_CLOSE_TIME_TOO_LATE')