Skip to content
Snippets Groups Projects
Commit 3b18c1d0 authored by Mathias Chouet's avatar Mathias Chouet
Browse files

Fix #278 - add sleep() times in e2e to make them work in CI runner

parent da26931c
No related branches found
No related tags found
No related merge requests found
Pipeline #137576 passed
import { by, element } from "protractor";
import { browser, by, element } from "protractor";
import * as path from "path";
export class SideNav {
......@@ -16,6 +16,7 @@ export class SideNav {
async clickLoadSessionButton() {
const ncb = this.getLoadSessionButton();
await browser.sleep(500);
await ncb.click();
}
......@@ -23,6 +24,7 @@ export class SideNav {
const absolutePath = path.resolve(__dirname, file);
const input = this.getFileInput();
await input.sendKeys(absolutePath);
await browser.sleep(500);
if (click) {
await this.getFileLoadButton().click();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment