fix task detail e2e navegation in IE

stable
Juanfran 2015-10-29 07:52:09 +01:00
parent a48d215ee0
commit 793df693c1
2 changed files with 15 additions and 6 deletions

View File

@ -8,11 +8,18 @@ chai.use(chaiAsPromised);
var expect = chai.expect;
describe('Task detail', function(){
let taskUrl = browser.params.glob.host + 'project/project-3/task/7';
let taskUrl = '';
before(async function(){
browser.get(taskUrl);
await utils.common.waitLoader();
await utils.nav
.init()
.project(4)
.backlog()
.taskboard(0)
.task(0)
.go();
taskUrl = await browser.driver.getCurrentUrl();
});
it('screenshot', async function() {

View File

@ -49,9 +49,11 @@ common.browserSkip = function(browserName, name, fn) {
};
common.link = async function(el) {
await browser.actions().mouseMove(el).perform();
await el.click();
return browser
.actions()
.mouseMove(el)
.click()
.perform();
};
common.waitLoader = function () {