mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
mgr/dashboard: Fix random failure in images e2e test
Signed-off-by: Tiago Melo <tmelo@suse.com>
This commit is contained in:
parent
294c941407
commit
fe50d15139
@ -29,7 +29,7 @@ export class ImagesPageHelper extends PageHelper {
|
||||
|
||||
// Click the create button and wait for image to be made
|
||||
await element(by.cssContainingText('button', 'Create RBD')).click();
|
||||
await this.waitPresence(this.getFirstTableCellWithText(name));
|
||||
return this.waitPresence(this.getFirstTableCellWithText(name));
|
||||
}
|
||||
|
||||
async editImage(name, pool, newName, newSize) {
|
||||
|
@ -1,8 +1,6 @@
|
||||
import { $, $$, browser, by, element, protractor } from 'protractor';
|
||||
import { $, $$, by, element, protractor } from 'protractor';
|
||||
import { PageHelper } from '../page-helper.po';
|
||||
|
||||
browser.ignoreSynchronization = true;
|
||||
|
||||
export class LogsPageHelper extends PageHelper {
|
||||
pages = { index: '/#/logs' };
|
||||
|
||||
|
@ -53,6 +53,7 @@ const config = {
|
||||
|
||||
config.onPrepare = async () => {
|
||||
await browser.manage().timeouts().implicitlyWait(config.implicitWaitTimeout);
|
||||
await browser.waitForAngularEnabled(false);
|
||||
|
||||
require('ts-node').register({
|
||||
project: 'e2e/tsconfig.e2e.json'
|
||||
|
Loading…
Reference in New Issue
Block a user