-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Dependent] Cypress test. Project functionality. #2459
[Dependent] Cypress test. Project functionality. #2459
Conversation
…press-test-project-functionality
…press-test-project-functionality
…press-test-project-functionality
…press-test-project-functionality
…s-test-project-functionality
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Have another one test case to add.
- Assign second task created in the project to admin user
- Login with second user
- Go to tasks page, there is only should be first task from project
@@ -61,4 +61,24 @@ describe('Delete users and tasks created during the test run.', () => { | |||
} | |||
}); | |||
}); | |||
it('Get a list of projects and delete them all', () => { | |||
cy.request({ | |||
url: '/api/v1/projects?page_size=1000', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url: '/api/v1/projects?page_size=1000', | |
url: '/api/v1/projects?page_size=all', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I applied this in a new commit
…s-test-project-functionality
Test case added. Also I move cypress command for projects functionality to different command file ( |
…s-test-project-functionality
LGTM, @bsekachev, could you please merge PR? |
Motivation and context
Depend on #2255
Cypress test to check base actions on project.
Functionality for creating a project. Some necessary checks after executing the cypress command are moved to the body of the cypress command.
How has this been tested?
Checklist
develop
branchcvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.