added a timeout to a descriptor load
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
05c630533a
commit
d218e59e4d
|
@ -65,6 +65,7 @@ describe('Account create and basic data path', () => {
|
||||||
describe('Descriptor option', () => {
|
describe('Descriptor option', () => {
|
||||||
describe('Edit role', () => {
|
describe('Edit role', () => {
|
||||||
it('should edit the role using the descriptor menu', async() => {
|
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.menuButton);
|
||||||
await page.waitToClick(selectors.accountDescriptor.changeRole);
|
await page.waitToClick(selectors.accountDescriptor.changeRole);
|
||||||
await page.autocompleteSearch(selectors.accountDescriptor.newRole, 'adminBoss');
|
await page.autocompleteSearch(selectors.accountDescriptor.newRole, 'adminBoss');
|
||||||
|
|
Loading…
Reference in New Issue