forked from verdnatura/hedera-web
Improve address details update test
This commit is contained in:
parent
ab7c1d1fe0
commit
dff5820ed4
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue