Skip to content

Commit

Permalink
Improved doc and rename npm tasl
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuesos committed Aug 12, 2017
1 parent f840032 commit fe4cbea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This component follows *Semantic Versioning* (aka SemVer), visit (http://semver.
- Removed duplicated `auto-validate` attribute from paper-autocomplete (thanks to @kaseyhinton).
- Fixed regression: `onClear()` now triggers `'autocomplete-reset-blur'` event (as is documented in the API) and *not*
the event `'autocomplete-reset'`.
- Added integration with SauceLabs so now test can be run against multiple platforms and browsers.

## Release 3.0.0 (2017-07-16)

Expand Down
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,26 +65,21 @@ After running this command, it will open two different ports in the dev browser

## How to run the tests

### Localy

In order to run the tests you have two option. You can either run:

```
npm run test
```

or you can run:
### Remote (in Saucelabs)

```
npm run start
npm run test:remote
```
> You must set these two environment variables: `SAUCE_USERNAME` and `SAUCE_ACCESS_KEY` before running remote tests.
And then open this URL: [http://localhost:8080/components/paper-autocomplete/test/](http://localhost:8080/components/paper-autocomplete/test/)

**Please note:** at this moment there is a known issues and these two tests always fail:

```
ARIA state and property values must be valid
Attributes which refer to other elements by ID should refer to elements which exist in the DOM
```

## How to *lint* the project

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"start": "polymer serve -o",
"postinstall": "bower i",
"test": "polymer test --plugin local",
"test:sauce": "polymer test --plugin sauce",
"test:remote": "polymer test --plugin sauce",
"lint": "eslint --cache paper-autocomplete*.html test/paper*.html && polymer lint paper-autocomplete*.html --rules polymer-2-hybrid",
"publish-docs": "./publish-docs.sh",
"variants": "polymer install --variants && polymer serve -o -H 0.0.0.0",
Expand Down

0 comments on commit fe4cbea

Please sign in to comment.