Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate end-to-end tests from Cypress to Playwright #34

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
/test/index.js
/test/index.d.ts
/coverage
/.nyc_output
/.nyc_output
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
2 changes: 1 addition & 1 deletion .hass/config/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ lovelace:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
extra_module_url: /local/home-assistant-query-selector-tests.js
extra_module_url: /local/home-assistant-query-selector.js

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions .prettierrc

This file was deleted.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@ This is from where the idea of `home-assistant-query-selector` comes from. Imagi

There are exhaustive end-to-end tests in place in this library, when a new version of `Home Assistant` is released, running the end-to-end tests in this repository will ensure that the library still works with the new version, so no need to manually check this.

#### End-to-end tests

![end-to-end tests](https://raw.githubusercontent.com/elchininet/home-assistant-query-selector/master/images/tests.png)

#### Code coverage

![code-coverage](https://raw.githubusercontent.com/elchininet/home-assistant-query-selector/master/images/coverage.png)

### Code example

More details of the API can be consulted in [the API section](#api):
Expand Down
15 changes: 0 additions & 15 deletions cypress.config.ts

This file was deleted.

Loading
Loading