-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix_e2e_dont_merge #438
Closed
Closed
Fix_e2e_dont_merge #438
Conversation
This file contains 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
* Explanation component test added - added component test to illustrate prop behavior minor refactoring: - use uuid package to ensure random ID instead of passing unique ID as prop - minor refactor of variable names closes #211
* Refactored input data - receives active category via prop (from parent) - receives missing values via getter - receives descriptions for values via getter * Component test for store mutation - mocked store mutation - listen to mocked mutation being called via spy - implement the mutation call in the component * keep store mocks in store object
- test_e2e: end to end tests - test_component: component tests
* Enable transformations The continuous values component now displays possible transformation heuristics it gets from the store in a dropdown. The user can select the correct transformation heuristic * Sync heuristic from store - the component displays the heuristic selected for the active category in the store - component displays a preview of the transformed values from the store - the selected heuristic is emitted to the store with the active Category
* Streamline and IO refactor * Component test for refactored category table * Removing remaining line from new categories UI * selectedCategory no longer a duplicate local var * Store vars as getters, no factory methods, cleanup
* Streamline IO for data dict refactor * Component test for linking table - almost working * Explicit mocks + working simple link test * Remove debug messages * Fix for first test and addition of second. * Component now works with store directly * Now checking for store link/unlink dispatch * PR changes for simplifying component and test * Remove emit to categpage for store/layout refactor
- refactored the component to get the data directly from the store - has missing value button Co-authored-by: Sebastian Urchs <[email protected]>
- annot-discrete-choices.vue - annot-vocabulary.vue - removed annot-discrete-choices.cy.js test component - functionality now exists in annot-categorical vue component Co-authored-by: Sebastian Urchs <[email protected]>
- Added annot-columns.cy.js file - Component now displays mapped columns and their descriptions - Component now informs the store when a column is removed/unlinked - Modified the component alias to annotColumns - Added activeCategory as input to the removeColumn mutation
Next page accessibility/navbar/layout refactor + All page refactor
* remove deprecated input from annot-tab * implemented new input data - prop (passed from parent page) to set own category (activeCategory) - store getter to get the correct annotation component for the activeCategory
Removal of nextPageAccessible getter
The mutation changes the mapping of an already mapped column to a different category Co-authored-by: Sebastian Urchs <[email protected]>
Mutation: - removes the mapping of column to category if they're already mapped - changes the mapping of column to category if they're not already mapped
Component reflects the changes following the implementation of alterColumnCategoryMapping mutation
Component and its test reflect the changes following the implementation of alterColumnCategoryMapping mutation
…ues are now selectable by column (#372)
* Enable passing terms as objects in categ-annotate Need to use the reduce option in vue-select to handle objects as options and identify them based on their identifier while showing the label to the user * Update getCategoricalOptions unit test No functional changes, just passing the expected data, now that terms are objects and not literals any more. * Update selectCategoricalOption unit test No functional changes, but updated examples to pass around identifiers instead of human readable labels as before. Also changed the third test to actually rewrite the same value as asserted. * Add unit test to ensure empty annot-categorical handles empty array * Store controlled terms as objects
… tabs refactor, column-category unlinking (#375)
#396) - Implemented a case for download page in switch statement of `getNextPage` getter - Implemented condition for displaying `next-page` component
…ry columns for data types (#395)
…401) Updated affected tests
* Remove table code, add comments for future impl * Cleanup and updated comments for future impl
* Refactor dataSetMeetsCriteria and loadAppState * Progress thus far * Some fixes * Added `Diagnosis` options * Refactored `annotation-pagetests.cy.js` e2e test - Updated `data-cy` references in `cy.get` statements - Removed use of `Save Annotation` button as the button itself has been removed - Commented out `tool group` test cases * Re-enabled `annotation-pagetests.cy.js` e2e test * Refactored `simple-e2etest.cy.js` e2e test * Re-enabled all e2e tests * Addressed requested changes from PR * Removing old, commented out tests for tool groups --------- Co-authored-by: Jonathan Armoza <[email protected]>
* Categ values column output getter + termURLPrefix * Updated getter * Initial getter unit test * In progress unit tests * Getter 'Levels' fix * Unit test formatting * Reworked `IsAbout.TermURL` assignment in `getCategoricalJsonOutput` getter * Fixed the condition for adding `Levels` to the output JSON * Implemented `MissingValues` in `getCategoricalJsonOutput` getter Added a test case for `MissingValues` in `getCategoricalJsonOutput` getter's unit test * Reworked `MissingValues` in `getCategoricalJsonOutput` getter * Addressed the requested changes from PR review --------- Co-authored-by: rmanaem <[email protected]>
…column (#430) * Modified `transformationHeuristics` to an object with heuristics as properties * Updated `getTransformOptions` getter * Updated store-getter-getTransformOptions.cy.js * Implemented `getContinuousJsonOutpus` getter * Implemented unit test for `getContinuousJsonOutput` getter * Cleaned up `getCategoricalJsonOutput` * Addressed the requested changes from the PR review * Updated `getTransformationOptions` getter's unit test
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.
No description provided.