Skip to content

Commit

Permalink
Apply comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvkruchinin committed Jan 26, 2021
1 parent c2308a1 commit 96bdc8e
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ context('Try to create a task without necessary arguments.', () => {
cy.login();
cy.imageGenerator(imagesFolder, imageFileName, width, height, color, posX, posY, labelName, imagesCount);
cy.createZipArchive(directoryToArchive, archivePath);
cy.get('#cvat-create-task-button').click();
});

after(() => {
Expand All @@ -35,10 +36,6 @@ context('Try to create a task without necessary arguments.', () => {
});

describe(`Testing "${labelName}"`, () => {
it('Go to create task page.', () => {
cy.get('#cvat-create-task-button').click();
});

it('Try to create a task without any fields. A task is not created.', () => {
cy.get('.cvat-create-task-submit-section').click();
cy.get('.cvat-notification-create-task-fail').should('exist');
Expand Down

0 comments on commit 96bdc8e

Please sign in to comment.