-
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
Cypress. New organization pipeline. #4143
Cypress. New organization pipeline. #4143
Conversation
…o dkru/cypress-case-113-new-organization-pipeline
…o dkru/cypress-case-113-new-organization-pipeline
…o dkru/cypress-case-113-new-organization-pipeline
…o dkru/cypress-case-113-new-organization-pipeline
…o dkru/cypress-case-113-new-organization-pipeline
.../integration/actions_projects_models_organizations/case_57_project_label_deleting_feature.js
Outdated
Show resolved
Hide resolved
tests/cypress/integration/remove_users_tasks_projects_organizations.js
Outdated
Show resolved
Hide resolved
...ns_projects_models_organizations/registration_involved/case_113_new_organization_pipeline.js
Outdated
Show resolved
Hide resolved
...ns_projects_models_organizations/registration_involved/case_113_new_organization_pipeline.js
Outdated
Show resolved
Hide resolved
...ns_projects_models_organizations/registration_involved/case_113_new_organization_pipeline.js
Outdated
Show resolved
Hide resolved
...ns_projects_models_organizations/registration_involved/case_113_new_organization_pipeline.js
Outdated
Show resolved
Hide resolved
cy.logout(); | ||
cy.login(secondUserName, secondUser.password); | ||
cy.checkOrganizationExists(organizationParams.shortName); | ||
cy.contains('.cvat-item-task-name', taskName).should('exist'); | ||
cy.goToProjectsList(); | ||
cy.get('.cvat-empty-projects-list').should('exist'); |
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.
A comment about this case:
Need to activate organization first. The second user cannot see the task if do not switch organization context (now the user sees the task, but it is a bug, will be fixed soon). The second user also sees the project (when organization is activated) on projects page (this is one more bug, will be fixed)
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.
Fix for the second bug here: #4201
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.
I merged last changed from develop
with fix #4201. The second bug is not preproducing. I also thought it would be good to separate some tests and add additional steps. Please take a look.
I have commented out the checks that are not working now.
Generally everything fine, just please fix the latest comment and let's wait for bugfixes, than I will merge this patch. |
…o dkru/cypress-case-113-new-organization-pipeline
…o dkru/cypress-case-113-new-organization-pipeline
cy.contains('.cvat-text-color', oldName).clear().type(`${newName}{Enter}`); | ||
cy.contains('.cvat-task-details-task-name', newName).should('exist'); | ||
}); | ||
|
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.
Hi, @dvkruchinin
Text for ellipses has been added here #4229
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.
Hi @bsekachev,
Great!
I`ll update the cypress command implemented in #4215
Could you please merge develop and uncomment corresponding tests? |
…o dkru/cypress-case-113-new-organization-pipeline
@bsekachev |
This is expected. |
Motivation and context
Adding a test to test the basic capabilities of the new functionality.
The test system has been improved in the form of adding css classes.
Added Cypress commands. Solved eslint errors in some files.
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.