Skip to content

Commit

Permalink
[#394] Update scripts for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSomeMan committed Oct 29, 2024
1 parent adf0afe commit 746e5f7
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2873,7 +2873,7 @@ <h1>
<label class="control control-radio">
<span lang="en">Listen to Ruuvi sensors only (default)</span>
<span lang="fi">Kuuntele ainoastaan Ruuvi-antureita (oletus)</span>
<input type="radio" name="company_use_filtering" value="1" checked>
<input type="radio" id="company_use_filtering_default" name="company_use_filtering" value="1" checked>
<span class="control_indicator"></span>
</label>

Expand All @@ -2891,7 +2891,7 @@ <h2>
<label class="control control-radio info-icon-container">
<span lang="en">Filter Bluetooth messages by manufacturer ID</span>
<span lang="fi">Suodata Bluetooth-viestit valmistajan tunnuksen mukaan</span>
<input type="radio" name="company_use_filtering" value="2">
<input type="radio" id="company_use_filtering_by_id" name="company_use_filtering" value="2">
<span class="control_indicator"></span>
</label>
</div>
Expand Down Expand Up @@ -2919,7 +2919,7 @@ <h3>
<label class="control control-radio">
<span lang="en">Listen to all Bluetooth beacon messages (not just Ruuvi sensors)</span>
<span lang="fi">Kuuntele kaikkia Bluetooth-majakkaviestejä (ei ainoastaan Ruuvi-antureita)</span>
<input type="radio" name="company_use_filtering" value="0">
<input type="radio" id="company_use_filtering_no_id" name="company_use_filtering" value="0">
<span class="control_indicator"></span>
</label>
</div>
Expand Down
2 changes: 2 additions & 0 deletions tests/test_http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,13 @@ pages:

- page: "#page-ntp_config"
steps:
- do: selectRadio "#ntp_sync_default" # Select radio 'Use default set of time servers (NTP servers) for time synchronisation'
- do: clickAndNavigate "#page-ntp_config-button-continue" # Click on 'Next' button

- page: "#page-scanning"
steps:
- do: waitUntilLoaded 15000 # Wait until loaded
- do: selectRadio "#company_use_filtering_default" # Select radio 'Listen to Ruuvi sensors only (default)'
- do: clickAndNavigate "#page-scanning-button-continue" # Click on 'Next' button

- page: "#page-finished"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_http_with_auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,13 @@ pages:

- page: "#page-ntp_config"
steps:
- do: selectRadio "#ntp_sync_default" # Select radio 'Use default set of time servers (NTP servers) for time synchronisation'
- do: clickAndNavigate "#page-ntp_config-button-continue" # Click on 'Next' button

- page: "#page-scanning"
steps:
- do: waitUntilLoaded 15000 # Wait until loaded
- do: selectRadio "#company_use_filtering_default" # Select radio 'Listen to Ruuvi sensors only (default)'
- do: clickAndNavigate "#page-scanning-button-continue" # Click on 'Next' button

- page: "#page-finished"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_https_with_server_and_client_cert_checking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,13 @@ pages:

- page: "#page-ntp_config"
steps:
- do: selectRadio "#ntp_sync_default" # Select radio 'Use default set of time servers (NTP servers) for time synchronisation'
- do: clickAndNavigate "#page-ntp_config-button-continue" # Click on 'Next' button

- page: "#page-scanning"
steps:
- do: waitUntilLoaded 15000 # Wait until loaded
- do: selectRadio "#company_use_filtering_default" # Select radio 'Listen to Ruuvi sensors only (default)'
- do: clickAndNavigate "#page-scanning-button-continue" # Click on 'Next' button

- page: "#page-finished"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_https_with_server_cert_checking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,13 @@ pages:

- page: "#page-ntp_config"
steps:
- do: selectRadio "#ntp_sync_default" # Select radio 'Use default set of time servers (NTP servers) for time synchronisation'
- do: clickAndNavigate "#page-ntp_config-button-continue" # Click on 'Next' button

- page: "#page-scanning"
steps:
- do: waitUntilLoaded 15000 # Wait until loaded
- do: selectRadio "#company_use_filtering_default" # Select radio 'Listen to Ruuvi sensors only (default)'
- do: clickAndNavigate "#page-scanning-button-continue" # Click on 'Next' button

- page: "#page-finished"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_mqtt_aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,13 @@ pages:

- page: "#page-ntp_config"
steps:
- do: selectRadio "#ntp_sync_default" # Select radio 'Use default set of time servers (NTP servers) for time synchronisation'
- do: clickAndNavigate "#page-ntp_config-button-continue" # Click on 'Next' button

- page: "#page-scanning"
steps:
- do: waitUntilLoaded 15000 # Wait until loaded
- do: selectRadio "#company_use_filtering_default" # Select radio 'Listen to Ruuvi sensors only (default)'
- do: clickAndNavigate "#page-scanning-button-continue" # Click on 'Next' button

- page: "#page-finished"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_mqtt_ssl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,13 @@ pages:

- page: "#page-ntp_config"
steps:
- do: selectRadio "#ntp_sync_default" # Select radio 'Use default set of time servers (NTP servers) for time synchronisation'
- do: clickAndNavigate "#page-ntp_config-button-continue" # Click on 'Next' button

- page: "#page-scanning"
steps:
- do: waitUntilLoaded 15000 # Wait until loaded
- do: selectRadio "#company_use_filtering_default" # Select radio 'Listen to Ruuvi sensors only (default)'
- do: clickAndNavigate "#page-scanning-button-continue" # Click on 'Next' button

- page: "#page-finished"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_mqtt_tcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,13 @@ pages:

- page: "#page-ntp_config"
steps:
- do: selectRadio "#ntp_sync_default" # Select radio 'Use default set of time servers (NTP servers) for time synchronisation'
- do: clickAndNavigate "#page-ntp_config-button-continue" # Click on 'Next' button

- page: "#page-scanning"
steps:
- do: waitUntilLoaded 15000 # Wait until loaded
- do: selectRadio "#company_use_filtering_default" # Select radio 'Listen to Ruuvi sensors only (default)'
- do: clickAndNavigate "#page-scanning-button-continue" # Click on 'Next' button

- page: "#page-finished"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_mqtt_ws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,13 @@ pages:

- page: "#page-ntp_config"
steps:
- do: selectRadio "#ntp_sync_default" # Select radio 'Use default set of time servers (NTP servers) for time synchronisation'
- do: clickAndNavigate "#page-ntp_config-button-continue" # Click on 'Next' button

- page: "#page-scanning"
steps:
- do: waitUntilLoaded 15000 # Wait until loaded
- do: selectRadio "#company_use_filtering_default" # Select radio 'Listen to Ruuvi sensors only (default)'
- do: clickAndNavigate "#page-scanning-button-continue" # Click on 'Next' button

- page: "#page-finished"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_mqtt_wss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,13 @@ pages:

- page: "#page-ntp_config"
steps:
- do: selectRadio "#ntp_sync_default" # Select radio 'Use default set of time servers (NTP servers) for time synchronisation'
- do: clickAndNavigate "#page-ntp_config-button-continue" # Click on 'Next' button

- page: "#page-scanning"
steps:
- do: waitUntilLoaded 15000 # Wait until loaded
- do: selectRadio "#company_use_filtering_default" # Select radio 'Listen to Ruuvi sensors only (default)'
- do: clickAndNavigate "#page-scanning-button-continue" # Click on 'Next' button

- page: "#page-finished"
Expand Down

0 comments on commit 746e5f7

Please sign in to comment.