mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
23 stars 25 forks source link

Migrate multi-select tests over to Cypress #1700

Open GCHQ-Developer-847 opened 5 months ago

GCHQ-Developer-847 commented 5 months ago

Summary

Migrate multi-select tests over to Cypress

💬 Description

As per #1166, tests for the multi-select component need to be migrated over to Cypress. This involves migrating over every e2e test we currently have, as well as accessibility and visual testing. This also involves removing the old framework's code, so two versions of the same tests do not run.

💰 Use value

Improve our testing toolset to allow us to test in more states and deliver a higher quality product.

ad9242 commented 4 months ago

Following work done in #1277, tests were added for the functionality added under that ticket. There were issues with the popup menu closing when items were clicked. This appeared to be a Cypress only issue as did not happen anywhere else the component was used (eg storybook\stackblitz).

May want to consider re-looking into trying to resolve this issue when implementing these tests