From 61e5c958c0a9dd7521c15a2caffb5682871ef411 Mon Sep 17 00:00:00 2001 From: Daniil Bratukhin Date: Fri, 9 Aug 2024 15:42:25 -0300 Subject: [PATCH] test(foxy-store-shipping-method-form): update tests --- .../StoreShippingMethodForm.test.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.test.ts b/src/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.test.ts index 46c8bf1a..f2d5bc4f 100644 --- a/src/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.test.ts +++ b/src/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.test.ts @@ -244,7 +244,7 @@ describe('StoreShippingMethodForm', () => { it('hides everything except for shipping method uri, timestamps, create and delete buttons by default', () => { const form = new Form(); expect(form.hiddenSelector.toString()).to.equal( - 'shipping-container-uri shipping-drop-type-uri destinations authentication-key meter-number accountid password endpoint custom-code services undo delete timestamps submit' + 'shipping-container-uri shipping-drop-type-uri destinations authentication-key meter-number accountid password endpoint custom-code services undo submit delete timestamps' ); }); @@ -271,7 +271,7 @@ describe('StoreShippingMethodForm', () => { }); expect(form.hiddenSelector.toString()).to.equal( - 'shipping-container-uri shipping-drop-type-uri destinations authentication-key meter-number accountid password custom-code services undo delete timestamps submit' + 'shipping-container-uri shipping-drop-type-uri destinations authentication-key meter-number accountid password custom-code services undo submit delete timestamps' ); }); @@ -298,7 +298,7 @@ describe('StoreShippingMethodForm', () => { }); expect(form.hiddenSelector.toString()).to.equal( - 'shipping-container-uri shipping-drop-type-uri destinations authentication-key meter-number accountid password endpoint services undo delete timestamps submit' + 'shipping-container-uri shipping-drop-type-uri destinations authentication-key meter-number accountid password endpoint services undo submit delete timestamps' ); }); @@ -325,7 +325,7 @@ describe('StoreShippingMethodForm', () => { }); expect(form.hiddenSelector.toString()).to.equal( - 'shipping-container-uri shipping-drop-type-uri authentication-key meter-number accountid password endpoint custom-code services undo delete timestamps submit' + 'shipping-container-uri shipping-drop-type-uri authentication-key meter-number accountid password endpoint custom-code services undo submit delete timestamps' ); }); @@ -352,7 +352,7 @@ describe('StoreShippingMethodForm', () => { }); expect(form.hiddenSelector.toString()).to.equal( - 'endpoint custom-code services undo delete timestamps submit' + 'endpoint custom-code services undo submit delete timestamps' ); }); @@ -379,7 +379,7 @@ describe('StoreShippingMethodForm', () => { }); expect(form.hiddenSelector.toString()).to.equal( - 'authentication-key meter-number accountid password endpoint custom-code services undo delete timestamps submit' + 'authentication-key meter-number accountid password endpoint custom-code services undo submit delete timestamps' ); }); @@ -406,7 +406,7 @@ describe('StoreShippingMethodForm', () => { }); expect(form.hiddenSelector.toString()).to.equal( - 'endpoint custom-code services undo delete timestamps submit' + 'endpoint custom-code services undo submit delete timestamps' ); });