25 lines
653 B
JavaScript
25 lines
653 B
JavaScript
var utils = require('../../utils');
|
|
|
|
var chai = require('chai');
|
|
var chaiAsPromised = require('chai-as-promised');
|
|
|
|
chai.use(chaiAsPromised);
|
|
var expect = chai.expect;
|
|
|
|
describe('Task detail', function(){
|
|
before(async function(){
|
|
browser.get('http://localhost:9001/project/project-2/task/4');
|
|
await utils.common.waitLoader();
|
|
});
|
|
|
|
it('screenshot', async function() {
|
|
await utils.common.takeScreenshot("tasks", "detail");
|
|
});
|
|
|
|
it('assigned to', utils.detailAssignedTo.assignedToTesting);
|
|
|
|
it('screenshot', async function() {
|
|
await utils.common.takeScreenshot("tasks", "detail updated");
|
|
});
|
|
})
|