Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress tests. Move a task between/to projects. #3287

Conversation

dvkruchinin
Copy link
Contributor

Motivation and context

Cypress tests for PR #3164

How has this been tested?

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

@bsekachev
Copy link
Member

@ActiveChooN Please, review the PR.

…o dkru/cypress-test-case-94-move-task-between-projects
Comment on lines +92 to +105
it('Move a task between projects from task list.', () => {
cy.goToTaskList();
cy.movingTask(taskName, secondProject.name, firtsProject.label, secondProject.label);
checkTask(firtsProject.name, 'not.exist');
checkTask(secondProject.name, 'exist');
});

it('Move a task between projects from a task.', () => {
cy.goToTaskList();
cy.openTask(taskName);
cy.movingTask(taskName, secondProject.name, firtsProject.label, secondProject.label, true);
checkTask(firtsProject.name, 'not.exist');
checkTask(secondProject.name, 'exist');
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is difference with case_95...?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case 94, a task that is already in the project is moved to another project. In case 95, a task that was created outside of the project is moved to the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants