* fix: add data-testid attribute to frozen icon in NodeOutputField component for improved testing
* refactor: simplify freeze.spec.ts by removing redundant component interactions and enhancing test clarity
- Removed unnecessary component interactions and waits to streamline the test flow.
- Updated assertions to ensure expected output values are validated correctly.
- Improved timeout settings for better reliability in test execution.
* refactor: enhance freeze.spec.ts by replacing timeout with waitForSelector for improved test reliability
- Updated the test to use waitForSelector instead of a fixed timeout, enhancing the robustness of the test execution.
- This change aims to ensure that the test waits for the specific element to be present before proceeding, reducing flakiness.
* Revert "refactor: enhance freeze.spec.ts by replacing timeout with waitForSelector for improved test reliability"
This reverts commit 42eccbfa0d7e7defba02ee3589535689556390bb.
* test: increase timeout for frozen icon selector to improve test reliability
* test: increase timeout for frozen icon selector to enhance reliability
* test: simplify frozen icon visibility check in freeze.spec.ts
* test: comment out frozen icon visibility check in freeze.spec.ts
* test: add assertion for initial output and enhance frozen icon visibility check in freeze.spec.ts
* test: replace fixed timeout with waitForSelector for improved frozen icon visibility check in freeze.spec.ts
* test: implement polling approach for frozen icon visibility check in freeze.spec.ts to enhance error handling and reliability
* [autofix.ci] apply automated fixes
* fix: add data-testid attribute to frozen icon in NodeOutputField component for improved testing
* refactor: simplify freeze.spec.ts by removing redundant component interactions and enhancing test clarity
- Removed unnecessary component interactions and waits to streamline the test flow.
- Updated assertions to ensure expected output values are validated correctly.
- Improved timeout settings for better reliability in test execution.
* refactor: enhance freeze.spec.ts by replacing timeout with waitForSelector for improved test reliability
- Updated the test to use waitForSelector instead of a fixed timeout, enhancing the robustness of the test execution.
- This change aims to ensure that the test waits for the specific element to be present before proceeding, reducing flakiness.
* Revert "refactor: enhance freeze.spec.ts by replacing timeout with waitForSelector for improved test reliability"
This reverts commit 42eccbfa0d7e7defba02ee3589535689556390bb.
* test: increase timeout for frozen icon selector to improve test reliability
* test: increase timeout for frozen icon selector to enhance reliability
* test: simplify frozen icon visibility check in freeze.spec.ts
* test: comment out frozen icon visibility check in freeze.spec.ts
* test: add assertion for initial output and enhance frozen icon visibility check in freeze.spec.ts
* test: replace fixed timeout with waitForSelector for improved frozen icon visibility check in freeze.spec.ts
* test: implement polling approach for frozen icon visibility check in freeze.spec.ts to enhance error handling and reliability
* [autofix.ci] apply automated fixes
* ✨ (freeze.spec.ts): add a 1-second delay before making the final assertion to ensure the element is fully rendered before checking its visibility
* ✨ (nodeToolbarComponent/index.tsx): add data-testid attribute to freeze button for better testing
🐛 (freeze.spec.ts): update test to use new data-testid for freeze button to ensure proper element selection
* ✨ (nodeToolbarComponent/index.tsx): add functionality to take a snapshot when freezing all vertices in the flow.
* ✨ (component_freeze.spec.ts): add test case for freezing a component to ensure user can freeze components in the application and verify the frozen state with polling approach for better error handling.
* ✨ (component_freeze.spec.ts): refactor frozen icon visibility check to use waitForSelector for improved reliability and error handling, replacing the previous polling approach.
* ✅ (component_freeze.spec.ts): update timeout values to improve test reliability and stability
* ✨ (freeze.spec.ts): add test case for freezing a component in the application to ensure the functionality works as expected
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>