-
-
Notifications
You must be signed in to change notification settings - Fork 180
Mcdev10011/cypress #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Mcdev10011/cypress #163
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ing the id type to optional.
…Input updated interface for SearchInput props
…ooks Conversion of modalHooks to TS. Updated DispatchMock interface, chang…
…Conversion Open folder/ts conversion
Carter/reducers
…-TS-Convert Convert components/FileDirectory to TS
…ript converted Thunk Redux to typescript and resolved types in redux types…
…tCaseStatements-ts Luke/react-test-case-statements-ts
Carter/typeslist
…Test UploadTest is not currently used. Commented out.
…o facilitate the typing.
…ite reducer and associated actions
…ite reducer and associated actions
- Defined to standardize the shape of Cypress-based React test cases - Set up initial architecture for Cypress-specific UI interactions and test generation - Created foundational files: , , , and
Mcdev10011/cypress
Mbarksdale061/mocha chai react
…for other starters
build: added new assertion starters for sinon.spy. framework created …
- Converted inputsGrid to flex layout for single‐row alignment - Restyled native <select> elements with custom SVG arrow, rounded corners, and hover/focus effects - Centered “Delete Step” button text/icon using flex centering - Expanded selectorMethods and actionMethods for richer Cypress commands - Updated SCSS variables and classes to ensure consistent theming across light/dark modes
…to visit app before tests run. must live inside describe block
…/^Dashboard$/i).should(be.visible);
…erent testlibraries
…ide it and any endpoint is inside each it statement.
…le type and directory names
Mbarksdale061/mocha chai react
- Split monolithic ReactTestCase types into 4 modules: state, ui, cypress, and matchers - Introduce matchers.ts with arrays and inferred unions for Jest, Mocha, Sinon, and Cypress - Replace broad / in matcherType, selectorType, actionType, etc. with literal unions - Update ReactTestComponentAssertion to use and tighten - Cast to specific matcher unions in handlers to satisfy TS - Narrow includes() checks by framework, casting to the appropriate union - Swap → and → for better typing - create explicit barrel export in index.ts - Overall increase strictness and maintainability of test-case typings
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat(cypress): enhance assertion block and modernize styling
🔗 Linked issue
Description
This PR introduces the following improvements to the Cypress feature:
CypressAssertion.tsx enhancements
selectorMethod
) and corresponding input (selectorValue
).useEffect
hooks to reset invalidselectorMethod
ormatcherType
values.disabled
logic on the matcher dropdown once a selector is chosen.Styling updates for action/assertion cards
AiOutlineClose
icon.Demo test generation & known issues
Below is the demo test generated by the GUI. It contains multiple syntax errors—each is marked as Pending or Bug. These will be addressed in follow-up commits.