Cypress initial config and tests #90

Merged
jsegarra merged 26 commits from wbuezas/hedera-web-mindshore:feature/CypressInit into 4922-vueMigration 2024-11-12 12:24:41 +00:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit dff5820ed4 - Show all commits

View File

@ -65,6 +65,11 @@ describe('PendingOrders', () => {
.last()
.find('[data-testid="editAddressBtn"]')
.click();
// Clear form data
cy.get('form input').each(input => {
cy.wrap(input).clear(); // Limpia el valor de cada campo de entrada
});
// Fill form with new data
const addressFormData = getRandomAddressFormData();
fillFormWithData(addressFormData);
cy.dataCy('formDefaultSaveButton').should('not.be.disabled');