Skip to content

Commit

Permalink
Disable S57 tests and change test data values (#286)
Browse files Browse the repository at this point in the history
* Update dependencies and clean up package-lock.json

Updated the following packages:
- express: 4.20.0 -> 4.21.0
- finalhandler: 1.2.0 -> 1.3.1
- qs: 6.11.0 -> 6.13.0
- serve-static: 1.16.0 -> 1.16.2
- encodeurl: 1.0.2 -> 2.0.0

Removed redundant dependencies:
- node_modules/body-parser/node_modules/qs
- node_modules/serve-static/node_modules/debug
- node_modules/serve-static/node_modules/ms
- node_modules/serve-static/node_modules/send

Updated dependencies within express, finalhandler, and serve-static.
Updated side-channel for qs: ^1.0.4 -> ^1.0.6.
Updated send for serve-static: 0.18.0 -> 0.19.0.
Moved ms package within the dependency tree.
Updated node engine requirements for compatibility.

* Re-add test case for single file name search

Re-order the 'Verify search results for single File name search' test case in `fss-simplified-search-results.spec.ts` with the same content.

* Update test case in fss-simplified-search-results.spec.ts

Extended wait time in 'Verify search results for single File name search' test case from 2000ms to 10000ms. Added a comment with a URL to a work item in Azure DevOps. Other test steps remain unchanged.

* Update attributeFileName constant value in ConstantHelper.ts

Changed the value of the `attributeFileName` constant from 'V01X01'
to 'test' in the `ConstantHelper.ts` file. This update may be for
testing purposes or to meet new application requirements.

* Reduce file download wait time in test from 10s to 2s

The timeout duration for waiting after clicking the file download selector has been reduced from 10,000 milliseconds (10 seconds) to 2,000 milliseconds (2 seconds). This change aims to make the test run faster while still ensuring that the necessary elements have time to load.

* Disable S57 exchange set download test case

Commented out the test case `check user is able to download S57 exchange set for base exchange set` in `ess-ui-esdownloadpage.spec.ts`. This includes all steps within the test case, such as clicking selectors, adding an ENC, validating responses, and checking UI elements. The test is disabled because the S57 exchange set is currently not available (Rhz).

* Disable test cases for exchange set format selection

Disabled test cases in `ess-ui-encselectionpage-nonAdmin.spec.ts`
and `ess-ui-encselectionpage.spec.ts` due to the unavailability
of the S57 format. Specifically, the test case for non-UKHO users
not seeing options on the 'Confirm exchange set content' screen
and the test case for UKHO users seeing options on the same screen
have been commented out.
  • Loading branch information
richardAhz authored Sep 18, 2024
1 parent 4db64e2 commit 68b9e45
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 68b9e45

Please sign in to comment.