diff --git a/scripts/e2e/e2e.template.html b/scripts/e2e/e2e.template.html
index 8d1af65331..3e78fe667e 100644
--- a/scripts/e2e/e2e.template.html
+++ b/scripts/e2e/e2e.template.html
@@ -22,10 +22,17 @@
/* disable scrollbars */
overflow: hidden !important;
}
- .snapshot * {
+ .snapshot *,
+ .snapshot *:before,
+ .snapshot *:after {
+ /* do not allow css animations during snapshot */
-webkit-transition-duration: 0ms !important;
transition-duration: 0ms !important;
}
+ .snapshot ion-loading-icon,
+ .snapshot md-ripple {
+ display: none !important;
+ }
/* hack to create tall scrollable areas for testing using */
f {
diff --git a/scripts/snapshot/snapshot.config.js b/scripts/snapshot/snapshot.config.js
index be9207c0b9..f361236d85 100644
--- a/scripts/snapshot/snapshot.config.js
+++ b/scripts/snapshot/snapshot.config.js
@@ -11,7 +11,7 @@ exports.config = {
specs: 'dist/e2e/**/*e2e.js',
//specs: 'dist/e2e/search-bar/**/*e2e.js',
- sleepBetweenSpecs: 300,
+ sleepBetweenSpecs: 250,
platformDefauls: {
browser: 'chrome',