GoogleWebComponents / google-map

Google Maps web components

Home Page:https://elements.polymer-project.org/elements/google-map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make testing workflow more convenient

ukabu opened this issue · comments

commented

Right now, we cannot do a clone of the repo, install dependencies and run tests.

Instead, we have to bower install google-map and then run tests from within the bower_components folder structure (see #81). This is really backward.

I suggest that test cases use ../bower_components/[path] instead of ../../[path] in their script tags.

This would make contributing to this repo much more convenient.

This is the recommended approach for https://github.com/Polymer/web-component-tester. However, when running the tests in a repo checkout, this works for me:

git clone git@github.com:GoogleWebComponents/google-map.git
cd google-map;
bower install
wct -l chrome
commented

They do run from the command line.

However, they don't load when served using a web server(used polymer serve) and opened in the browser.

I see. You may want to suggest this over on that repo.