From 898160cca263e29c5ea6e8b35bbeb58b6950b5bb Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Fri, 7 Aug 2015 09:48:33 -0500 Subject: [PATCH] switch padding fix --- ionic/components/switch/extensions/ios.scss | 2 +- ionic/components/switch/test/basic/e2e.ts | 2 +- scripts/snapshot/snapshot.config.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ionic/components/switch/extensions/ios.scss b/ionic/components/switch/extensions/ios.scss index acc136db91..4aa9c67a1f 100644 --- a/ionic/components/switch/extensions/ios.scss +++ b/ionic/components/switch/extensions/ios.scss @@ -29,7 +29,7 @@ $switch-ios-transition-duration: 200ms !default; .item-media { margin: 0; - padding: $item-ios-padding-media-top $item-ios-padding-right $item-ios-padding-media-bottom ($item-ios-padding-left + 20); + padding: 6px $item-ios-padding-right 6px ($item-ios-padding-left + 20); } .switch-icon { diff --git a/ionic/components/switch/test/basic/e2e.ts b/ionic/components/switch/test/basic/e2e.ts index d666104663..281aa52191 100644 --- a/ionic/components/switch/test/basic/e2e.ts +++ b/ionic/components/switch/test/basic/e2e.ts @@ -1,5 +1,5 @@ -it('should check apple via checkbox element click', function() { +it('should check apple via switch element click', function() { element(by.css('#e2eAppleCheckbox')).click(); }); diff --git a/scripts/snapshot/snapshot.config.js b/scripts/snapshot/snapshot.config.js index c1d3af9f35..fded1ed669 100644 --- a/scripts/snapshot/snapshot.config.js +++ b/scripts/snapshot/snapshot.config.js @@ -8,10 +8,10 @@ exports.config = { domain: 'ionic-snapshot-go.appspot.com', //domain: 'localhost:8080', - //specs: 'dist/e2e/**/*e2e.js', - specs: 'dist/e2e/switch/basic/*e2e.js', + specs: 'dist/e2e/**/*e2e.js', + //specs: 'dist/e2e/switch/basic/*e2e.js', - sleepBetweenSpecs: 1200, + sleepBetweenSpecs: 1300, platformDefauls: { browser: 'chrome',