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