Entrega dashboard e correccoes transversais preservando Ofertas instalado
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -108,7 +108,7 @@ test('conflict recovery reads current data without applying a write automaticall
|
||||
});
|
||||
test('validation shows each field message once and preserves its value', async () => {
|
||||
const h = harness();
|
||||
h.change(residence, 'ZZ', account);
|
||||
h.change(residence, 'ZA', account);
|
||||
const sent = h.submit(account);
|
||||
await h.fail(422, sent, {
|
||||
'payload.residence_country_code': ['SYNTHETIC invalid country'],
|
||||
@@ -117,7 +117,7 @@ test('validation shows each field message once and preserves its value', async (
|
||||
text(h.form(account)).split('SYNTHETIC invalid country').length - 1,
|
||||
1,
|
||||
);
|
||||
assert.equal(h.value(residence, account), 'ZZ');
|
||||
assert.equal(h.value(residence, account), 'ZA');
|
||||
assert.equal(h.field(residence, account).props['aria-invalid'], true);
|
||||
});
|
||||
test('one page leave guard covers multiple dirty profile declarations', () => {
|
||||
|
||||
Reference in New Issue
Block a user