Closed enikonemeth closed 1 year ago
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.
This issue has been closed due to inactivity.
Current behavior
I got type error reading a React local state during test run because state is undefined. If I repeat the steps manually the state keeps the proper value. This test and source code was working fine with the previous cypress version (7.5.0)
Desired behavior
It should keep the state value of the component.
Test code to reproduce
code snippet:
SOURCE: https://github.com/SenseNet/sn-client/blob/develop/apps/sensenet/src/components/view-controls/permission-view.tsx
TEST: https://github.com/SenseNet/sn-client/blob/develop/apps/sensenet/cypress/integration/permission-editor/add_new_permission.spec.ts
Cypress Version
8.1.0
Other
No response