Skip to content

create a helper function to disable CSS transitions #23

Open
@Isaak-Malers

Description

@Isaak-Malers

this stack overflow comment is helpfull:

https://stackoverflow.com/questions/32097973/protractor-how-to-handle-site-that-is-heavily-animated

this would be done by adding a CSS class to the page dynamically at start:

.notransition * {
-webkit-transition: none !important;
-moz-transition: none !important;
-o-transition: none !important;
-ms-transition: none !important;
transition: none !important;
}
... and in protractor, I've got something like:

_self.disableCssAnimations = function() {
return browser.executeScript("document.body.className += ' notransition';");
};

This task should be rolled into the "screenshot redesign" task, and they can be accomplished in one branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions