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

test(cypress): Add E2E tests for drawing annotations #663

Merged
merged 2 commits into from
Jan 6, 2021

Conversation

mxiao6
Copy link
Contributor

@mxiao6 mxiao6 commented Jan 6, 2021

No description provided.

@mxiao6 mxiao6 requested a review from a team as a code owner January 6, 2021 18:56
test/integration/Drawing.e2e.test.js Outdated Show resolved Hide resolved
test/integration/Drawing.e2e.test.js Show resolved Hide resolved
test/integration/Drawing.e2e.test.js Show resolved Hide resolved
@@ -50,7 +50,7 @@ describe('Highlights', () => {
.should('have.class', 'is-active');

// Assert highlight creation mode is not active
cy.getByTestId('bp-AnnotationsControls-highlightBtn').should('not.have.class', 'is-active');
cy.getByTestId('bp-AnnotationsControls-highlightBtn').should('not.have.class', 'bp-is-active');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ReactControls is using bp-is-active instead of is-active.

@mergify mergify bot merged commit c54045f into box:master Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants