diff --git a/bower.json b/bower.json
index 19588cf..fe6a4fd 100644
--- a/bower.json
+++ b/bower.json
@@ -20,29 +20,25 @@
"/test/"
],
"dependencies": {
- "moment-element": "bendavis78/moment-element#^1.1.1",
- "polymer": "Polymer/polymer#^1.1.0",
- "iron-icon": "PolymerElements/iron-icon#^1.0.7",
- "iron-iconset-svg": "PolymerElements/iron-iconset-svg#^1.0.9",
- "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
- "iron-media-query": "PolymerElements/iron-media-query#^1.0.0",
- "iron-resizable": "PolymerElements/iron-resizable-behavior#^1.0.0",
- "iron-selector": "PolymerElements/iron-selector#^1.0.0",
- "neon-animation": "PolymerElements/neon-animation#^1.0.0",
- "paper-ripple": "PolymerElements/paper-ripple#^1.0.5",
- "paper-styles": "PolymerElements/paper-styles#^1.0.0",
- "paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0",
- "iron-list": "PolymerElements/iron-list#^1.2.8"
+ "moment-element": "MaritzSTL/moment-imports#^1.1.0",
+ "polymer": "Polymer/polymer#^2.0.0",
+ "iron-icon": "PolymerElements/iron-icon#^2.0.0",
+ "iron-iconset-svg": "PolymerElements/iron-iconset-svg#^2.0.0",
+ "iron-flex-layout": "PolymerElements/iron-flex-layout#^2.0.0",
+ "iron-media-query": "PolymerElements/iron-media-query#^2.0.0",
+ "iron-resizable": "PolymerElements/iron-resizable-behavior#^2.0.0",
+ "iron-selector": "PolymerElements/iron-selector#^2.0.0",
+ "neon-animation": "PolymerElements/neon-animation#^2.0.0",
+ "paper-ripple": "PolymerElements/paper-ripple#^2.0.0",
+ "paper-styles": "PolymerElements/paper-styles#^2.0.0",
+ "paper-icon-button": "PolymerElements/paper-icon-button#^2.0.0",
+ "iron-list": "PolymerElements/iron-list#^2.0.8"
},
"devDependencies": {
- "iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
- "paper-dialog": "PolymerElements/paper-dialog#^1.0.0",
- "paper-button": "PolymerElements/paper-button#^1.0.0",
- "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
- "web-component-tester": "Polymer/web-component-tester#^4.2.2"
- },
- "resolutions": {
- "polymer": "^1.0.0",
- "webcomponentsjs": "^0.7.2"
+ "iron-component-page": "PolymerElements/iron-component-page#^2.0.0",
+ "paper-dialog": "PolymerElements/paper-dialog#^2.0.0",
+ "paper-button": "PolymerElements/paper-button#^2.0.0",
+ "webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0",
+ "web-component-tester": "Polymer/web-component-tester#^5.0.0"
}
}
diff --git a/package.json b/package.json
index d0a0eea..ce24fb4 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
"merge-stream": "^0.1.8",
"portfinder": "^0.4.0",
"vinyl-paths": "^1.0.0",
- "web-component-tester": "^3.3.3"
+ "web-component-tester": "^5.0.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
diff --git a/paper-calendar.html b/paper-calendar.html
index 1b6d8a2..b493910 100644
--- a/paper-calendar.html
+++ b/paper-calendar.html
@@ -7,7 +7,7 @@
-
+
@@ -227,506 +227,555 @@
diff --git a/paper-date-picker.html b/paper-date-picker.html
index abf6c5b..f172958 100644
--- a/paper-date-picker.html
+++ b/paper-date-picker.html
@@ -171,105 +171,110 @@
diff --git a/paper-year-list.html b/paper-year-list.html
index 8741c50..ea60ba7 100644
--- a/paper-year-list.html
+++ b/paper-year-list.html
@@ -40,52 +40,55 @@
diff --git a/test/paper-date-picker.html b/test/paper-date-picker.html
index 2f3d872..9cbfc8e 100644
--- a/test/paper-date-picker.html
+++ b/test/paper-date-picker.html
@@ -37,9 +37,10 @@
// Check initialization
expect(element.date).to.be.not.null;
expect(element.maxDate).to.be.not.null;
+ expect(element.id).to.be.equal('picker');
// Try to swipe after the max bound
- var calendar = element.$$('paper-calendar');
+ var calendar = element.$.calendar;
calendar._swipeNextMonth();
calendar._swipeNextMonth();
calendar._swipeNextMonth();