From 259bb3190d18aad29ab25b28f111ef7ccda3da0d Mon Sep 17 00:00:00 2001 From: Rob Simpson Date: Sat, 3 Jan 2015 00:15:20 -0500 Subject: [PATCH] [#9] - start of web component testing This is a start to a web component test. cd into the seed element dir and then run wct. Right now we have issues we need to settle with selenium as you will see when the tests run --- bower.json | 3 ++- package.json | 11 ++++++----- seed-element | 1 + test/seed-element | 1 + 4 files changed, 10 insertions(+), 6 deletions(-) create mode 160000 seed-element create mode 160000 test/seed-element diff --git a/bower.json b/bower.json index 8367d4f..ee9f89e 100644 --- a/bower.json +++ b/bower.json @@ -19,6 +19,7 @@ ], "dependencies": { "polymer": "Polymer/polymer#~0.5.2", - "webcomponentsjs": "~0.5.2" + "webcomponentsjs": "~0.5.2", + "web-component-tester": "Polymer/web-component-tester#~2.0.5" } } diff --git a/package.json b/package.json index a3895c4..917286f 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,11 @@ "version": "0.0.0", "description": "The Web Platform Podcast website", "main": "app/index.html", - "homepage" : "http://www.thewebplatform.today", + "homepage": "https://github.com/thewebplatform/thewebplatform.today", "scripts": { - "sass" : "sass app/styles/components/components.scss app/styles/components.css && sass app/styles/main.scss app/styles/main.css", - "feeds" : "node scripts/rsj.js | json > feed.json", - "build" : "npm run sass && npm run feeds", + "sass": "sass app/styles/components/components.scss app/styles/components.css && sass app/styles/main.scss app/styles/main.css", + "feeds": "node scripts/rsj.js | json > feed.json", + "build": "npm run sass && npm run feeds", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { @@ -25,5 +25,6 @@ "bugs": { "url": "https://github.com/thewebplatform/thewebplatform.today/issues" }, - "homepage": "https://github.com/thewebplatform/thewebplatform.today" + "devDependencies": { + } } diff --git a/seed-element b/seed-element new file mode 160000 index 0000000..d36e489 --- /dev/null +++ b/seed-element @@ -0,0 +1 @@ +Subproject commit d36e489223b101cee8f632f05a3f9488f75398ea diff --git a/test/seed-element b/test/seed-element new file mode 160000 index 0000000..d36e489 --- /dev/null +++ b/test/seed-element @@ -0,0 +1 @@ +Subproject commit d36e489223b101cee8f632f05a3f9488f75398ea