fix custom-fields e2e test
parent
bb2620dddd
commit
ac2db961f8
|
@ -42,6 +42,7 @@ describe('Issue detail', async function(){
|
||||||
await utils.common.takeScreenshot("issues", "detail updated");
|
await utils.common.takeScreenshot("issues", "detail updated");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('delete & redirect', function() {
|
||||||
it('delete', utils.detail.deleteTesting);
|
it('delete', utils.detail.deleteTesting);
|
||||||
|
|
||||||
it('redirected', async function (){
|
it('redirected', async function (){
|
||||||
|
@ -49,3 +50,4 @@ describe('Issue detail', async function(){
|
||||||
expect(url).not.to.be.equal(issueUrl);
|
expect(url).not.to.be.equal(issueUrl);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
|
@ -57,11 +57,12 @@ describe('Task detail', function(){
|
||||||
await utils.common.takeScreenshot("tasks", "detail updated");
|
await utils.common.takeScreenshot("tasks", "detail updated");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('delete & redirect', function() {
|
||||||
it('delete', utils.detail.deleteTesting);
|
it('delete', utils.detail.deleteTesting);
|
||||||
|
|
||||||
it('redirected', async function (){
|
it('redirected', async function (){
|
||||||
let url = await browser.getCurrentUrl();
|
let url = await browser.getCurrentUrl();
|
||||||
expect(url).not.to.be.equal(taskUrl);
|
expect(url).not.to.be.equal(taskUrl);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
})
|
});
|
||||||
|
|
|
@ -105,10 +105,12 @@ describe('User story detail', function(){
|
||||||
await utils.common.takeScreenshot("user-stories", "detail updated");
|
await utils.common.takeScreenshot("user-stories", "detail updated");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('delete & redirect', function() {
|
||||||
it('delete', utils.detail.deleteTesting);
|
it('delete', utils.detail.deleteTesting);
|
||||||
|
|
||||||
it('redirected', async function (){
|
it('redirected', async function (){
|
||||||
let url = await browser.getCurrentUrl();
|
let url = await browser.getCurrentUrl();
|
||||||
expect(url).not.to.be.equal(usUrl);
|
expect(url).not.to.be.equal(usUrl);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
})
|
})
|
||||||
|
|
|
@ -189,6 +189,9 @@ helper.deleteTesting = async function() {
|
||||||
|
|
||||||
helper.watchersTesting = async function() {
|
helper.watchersTesting = async function() {
|
||||||
let watchersHelper = detailHelper.watchers();
|
let watchersHelper = detailHelper.watchers();
|
||||||
|
|
||||||
|
await watchersHelper.removeAllWathchers();
|
||||||
|
|
||||||
let watchersLightboxHelper = detailHelper.watchersLightbox();
|
let watchersLightboxHelper = detailHelper.watchersLightbox();
|
||||||
let userNames = await watchersHelper.getWatchersUserNames();
|
let userNames = await watchersHelper.getWatchersUserNames();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue