From d218e59e4dd9cdb05c5a5e3e4b3a3b631a6b0d6d Mon Sep 17 00:00:00 2001 From: carlosjr Date: Fri, 18 Jun 2021 17:08:25 +0200 Subject: [PATCH] added a timeout to a descriptor load --- e2e/paths/14-account/01_create_and_basic_data.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/paths/14-account/01_create_and_basic_data.spec.js b/e2e/paths/14-account/01_create_and_basic_data.spec.js index 15c9118d1..5a07119e7 100644 --- a/e2e/paths/14-account/01_create_and_basic_data.spec.js +++ b/e2e/paths/14-account/01_create_and_basic_data.spec.js @@ -65,6 +65,7 @@ describe('Account create and basic data path', () => { describe('Descriptor option', () => { describe('Edit role', () => { it('should edit the role using the descriptor menu', async() => { + await page.waitForTimeout(1000); // sometimes descriptor fails to load it's functionalities without this timeout await page.waitToClick(selectors.accountDescriptor.menuButton); await page.waitToClick(selectors.accountDescriptor.changeRole); await page.autocompleteSearch(selectors.accountDescriptor.newRole, 'adminBoss');