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

Chore: document controls functional tests + improve reliability #716

Merged
merged 6 commits into from
Mar 23, 2018

Conversation

DanDeMicco
Copy link
Contributor

This adds functional tests for document controls. It also adds some improves and speeds up some flaky tests (Check preview starts at correct spot for all file types)

@boxcla
Copy link

boxcla commented Mar 12, 2018

Verified that @DanDeMicco has signed the CLA. Thanks for the pull request!

@@ -13,3 +13,14 @@ exports.SELECTOR_BOX_PREVIEW_DOC = '.bp-doc';
exports.SELECTOR_BOX_PREVIEW_MP3 = '.bp-media-mp3';
exports.SELECTOR_BOX_PREVIEW_DASH = '.bp-media-dash';
exports.SELECTOR_BOX_PREVIEW_MP4 = '.bp-media-mp4';
exports.SELECTOR_BOX_PREVIEW_ZOOM_OUT = '.bp-doc-zoom-out-icon';
exports.SELECTOR_BOX_PREVIEW_ZOOM_IN = '.bp-doc-zoom-in-icon';
Copy link
Contributor

Choose a reason for hiding this comment

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

if some of these are buttons could we label them as such? Might make reading the test easier. Also could probably shorten BOX_PREVIEW to bp.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jeremypress I will add the button, but perhaps the removal of BOX_PREVIEW should be another PR as it will be quite large

@DanDeMicco DanDeMicco merged commit 67e1b71 into box:master Mar 23, 2018
@DanDeMicco DanDeMicco deleted the document-controls-functional-tests branch March 23, 2018 16:42
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.

4 participants