diff --git a/e2e/paths/02-client-module/05_add_address.spec.js b/e2e/paths/02-client-module/05_add_address.spec.js index 8fd207be3..374b7c66d 100644 --- a/e2e/paths/02-client-module/05_add_address.spec.js +++ b/e2e/paths/02-client-module/05_add_address.spec.js @@ -13,7 +13,7 @@ describe('Client Add address path', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); it(`should click on the add new address button to access to the new address form`, async() => { diff --git a/e2e/paths/02-client-module/06_add_address_notes.spec.js b/e2e/paths/02-client-module/06_add_address_notes.spec.js index e3e07debf..c19de91b8 100644 --- a/e2e/paths/02-client-module/06_add_address_notes.spec.js +++ b/e2e/paths/02-client-module/06_add_address_notes.spec.js @@ -13,7 +13,7 @@ describe('Client add address notes path', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); it(`should click on the edit icon of the default address`, async() => { diff --git a/e2e/paths/02-client-module/07_edit_web_access.spec.js b/e2e/paths/02-client-module/07_edit_web_access.spec.js index b7b9bd0aa..835c8c25e 100644 --- a/e2e/paths/02-client-module/07_edit_web_access.spec.js +++ b/e2e/paths/02-client-module/07_edit_web_access.spec.js @@ -13,7 +13,7 @@ describe('Client Edit web access path', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); it(`should uncheck the Enable web access checkbox and update the name`, async() => { diff --git a/e2e/paths/02-client-module/08_add_notes.spec.js b/e2e/paths/02-client-module/08_add_notes.spec.js index 6628ab666..6a9ae26f0 100644 --- a/e2e/paths/02-client-module/08_add_notes.spec.js +++ b/e2e/paths/02-client-module/08_add_notes.spec.js @@ -13,7 +13,7 @@ describe('Client Add notes path', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); it(`should click on the add note button`, async() => { diff --git a/e2e/paths/02-client-module/09_add_credit.spec.js b/e2e/paths/02-client-module/09_add_credit.spec.js index 931aa9e17..2c9615319 100644 --- a/e2e/paths/02-client-module/09_add_credit.spec.js +++ b/e2e/paths/02-client-module/09_add_credit.spec.js @@ -13,7 +13,7 @@ describe('Client Add credit path', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); it(`should click on the add credit button`, async() => { diff --git a/e2e/paths/02-client-module/10_add_greuge.spec.js b/e2e/paths/02-client-module/10_add_greuge.spec.js index b1941dc77..3a127ab12 100644 --- a/e2e/paths/02-client-module/10_add_greuge.spec.js +++ b/e2e/paths/02-client-module/10_add_greuge.spec.js @@ -13,7 +13,7 @@ describe('Client Add greuge path', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); it(`should click on the add greuge button`, async() => { diff --git a/e2e/paths/02-client-module/11_mandate.spec.js b/e2e/paths/02-client-module/11_mandate.spec.js index 2b1318b09..a713a9c9d 100644 --- a/e2e/paths/02-client-module/11_mandate.spec.js +++ b/e2e/paths/02-client-module/11_mandate.spec.js @@ -13,7 +13,7 @@ describe('Client mandate path', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); it('should confirm the client has a mandate of the CORE type', async() => { diff --git a/e2e/paths/02-client-module/12_lock_of_verified_data.spec.js b/e2e/paths/02-client-module/12_lock_of_verified_data.spec.js index 46b6bdcce..1a3ed3104 100644 --- a/e2e/paths/02-client-module/12_lock_of_verified_data.spec.js +++ b/e2e/paths/02-client-module/12_lock_of_verified_data.spec.js @@ -13,7 +13,7 @@ describe('Client lock verified data path', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); describe('as salesPerson', () => { diff --git a/e2e/paths/02-client-module/13_log.spec.js b/e2e/paths/02-client-module/13_log.spec.js index 04050bd46..4b09b0500 100644 --- a/e2e/paths/02-client-module/13_log.spec.js +++ b/e2e/paths/02-client-module/13_log.spec.js @@ -13,7 +13,7 @@ describe('Client log path', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); it('should update the clients name', async() => { diff --git a/e2e/paths/02-client-module/14_balance.spec.js b/e2e/paths/02-client-module/14_balance.spec.js index 9223ad21b..8ac3ddb70 100644 --- a/e2e/paths/02-client-module/14_balance.spec.js +++ b/e2e/paths/02-client-module/14_balance.spec.js @@ -12,7 +12,7 @@ describe('Client balance path', () => { }, 30000); afterAll(async() => { - browser.close(); + await browser.close(); }); it('should now edit the local user config data', async() => { diff --git a/e2e/paths/02-client-module/15_user_config.spec.js b/e2e/paths/02-client-module/15_user_config.spec.js index cab5f2dc4..cb91b1e37 100644 --- a/e2e/paths/02-client-module/15_user_config.spec.js +++ b/e2e/paths/02-client-module/15_user_config.spec.js @@ -10,7 +10,7 @@ describe('User config', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); describe('as salesPerson', () => { diff --git a/e2e/paths/02-client-module/16_web_payment.spec.js b/e2e/paths/02-client-module/16_web_payment.spec.js index 85fe169a1..3a4f50e76 100644 --- a/e2e/paths/02-client-module/16_web_payment.spec.js +++ b/e2e/paths/02-client-module/16_web_payment.spec.js @@ -13,7 +13,7 @@ describe('Client web Payment', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); describe('as employee', () => { diff --git a/e2e/paths/02-client-module/17_dms.spec.js b/e2e/paths/02-client-module/17_dms.spec.js index 5e7b182c1..01a197c84 100644 --- a/e2e/paths/02-client-module/17_dms.spec.js +++ b/e2e/paths/02-client-module/17_dms.spec.js @@ -13,7 +13,7 @@ describe('Client DMS', () => { }); afterAll(async() => { - browser.close(); + await browser.close(); }); describe('as salesPerson', () => {