-
Notifications
You must be signed in to change notification settings - Fork 410
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
Test upgrade #779
Test upgrade #779
Commits on Jul 16, 2023
-
* Ignore some contents of the .yarn directory
Configuration menu - View commit details
-
Copy full SHA for 1f64f19 - Browse repository at this point
Copy the full SHA 1f64f19View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb8cced - Browse repository at this point
Copy the full SHA fb8ccedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9626335 - Browse repository at this point
Copy the full SHA 9626335View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0ba05b - Browse repository at this point
Copy the full SHA e0ba05bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02b4152 - Browse repository at this point
Copy the full SHA 02b4152View commit details -
Configuration menu - View commit details
-
Copy full SHA for ece15cd - Browse repository at this point
Copy the full SHA ece15cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cf0453 - Browse repository at this point
Copy the full SHA 1cf0453View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f00fe9 - Browse repository at this point
Copy the full SHA 5f00fe9View commit details -
Convert more tests in input.spec.jsx
* Rename input.spec.js to input.spec.jsx
Configuration menu - View commit details
-
Copy full SHA for 4e26d9a - Browse repository at this point
Copy the full SHA 4e26d9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60b347d - Browse repository at this point
Copy the full SHA 60b347dView commit details -
Use 'renderHook' from @testing-library/react
* Remove @testing-library/react-hooks
Configuration menu - View commit details
-
Copy full SHA for 6c88127 - Browse repository at this point
Copy the full SHA 6c88127View commit details -
Configuration menu - View commit details
-
Copy full SHA for b36deec - Browse repository at this point
Copy the full SHA b36deecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14dc8c8 - Browse repository at this point
Copy the full SHA 14dc8c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7dbf17 - Browse repository at this point
Copy the full SHA d7dbf17View commit details -
Configuration menu - View commit details
-
Copy full SHA for f30ace6 - Browse repository at this point
Copy the full SHA f30ace6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5912b0f - Browse repository at this point
Copy the full SHA 5912b0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 028b0fb - Browse repository at this point
Copy the full SHA 028b0fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1bb4e4 - Browse repository at this point
Copy the full SHA e1bb4e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0194425 - Browse repository at this point
Copy the full SHA 0194425View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0698ac - Browse repository at this point
Copy the full SHA a0698acView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf41347 - Browse repository at this point
Copy the full SHA cf41347View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff6f7fc - Browse repository at this point
Copy the full SHA ff6f7fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e03f76 - Browse repository at this point
Copy the full SHA 1e03f76View commit details
Commits on Aug 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 651faa5 - Browse repository at this point
Copy the full SHA 651faa5View commit details
Commits on Sep 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 825c87d - Browse repository at this point
Copy the full SHA 825c87dView commit details
Commits on Oct 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d0c8814 - Browse repository at this point
Copy the full SHA d0c8814View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06de10f - Browse repository at this point
Copy the full SHA 06de10fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8389c4 - Browse repository at this point
Copy the full SHA c8389c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2ebb9f - Browse repository at this point
Copy the full SHA a2ebb9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66c5df2 - Browse repository at this point
Copy the full SHA 66c5df2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e82f15 - Browse repository at this point
Copy the full SHA 9e82f15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cd067d - Browse repository at this point
Copy the full SHA 6cd067dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56e1685 - Browse repository at this point
Copy the full SHA 56e1685View commit details -
Configuration menu - View commit details
-
Copy full SHA for f71cc8d - Browse repository at this point
Copy the full SHA f71cc8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a90243d - Browse repository at this point
Copy the full SHA a90243dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9977919 - Browse repository at this point
Copy the full SHA 9977919View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b6b90b - Browse repository at this point
Copy the full SHA 0b6b90bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f53d49 - Browse repository at this point
Copy the full SHA 1f53d49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85c496a - Browse repository at this point
Copy the full SHA 85c496aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0b1b4c - Browse repository at this point
Copy the full SHA d0b1b4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a122e06 - Browse repository at this point
Copy the full SHA a122e06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a2dfa6 - Browse repository at this point
Copy the full SHA 5a2dfa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a09aff - Browse repository at this point
Copy the full SHA 0a09affView commit details
Commits on Mar 1, 2024
-
Remove data-testid attr in renderText span
* Update tests which use the data-testid attribute to query the span element. * Replace the getByTestId queries with getByText and check if the span expected to contain the text is visible.
Configuration menu - View commit details
-
Copy full SHA for dd09693 - Browse repository at this point
Copy the full SHA dd09693View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd88d0b - Browse repository at this point
Copy the full SHA bd88d0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9bfbba - Browse repository at this point
Copy the full SHA f9bfbbaView commit details -
* @testing-library/jest-dom * @testing-library/react * jsdom * vitest
Configuration menu - View commit details
-
Copy full SHA for a2054dc - Browse repository at this point
Copy the full SHA a2054dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e051e34 - Browse repository at this point
Copy the full SHA e051e34View commit details
Commits on Mar 2, 2024
-
Remove usage of removed helper function
* Remove instances of getCustomEvent and use simulateKeyInput instead.
Configuration menu - View commit details
-
Copy full SHA for 7fc8288 - Browse repository at this point
Copy the full SHA 7fc8288View commit details -
Configuration menu - View commit details
-
Copy full SHA for 789c992 - Browse repository at this point
Copy the full SHA 789c992View commit details -
Configuration menu - View commit details
-
Copy full SHA for 523cd7c - Browse repository at this point
Copy the full SHA 523cd7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c258860 - Browse repository at this point
Copy the full SHA c258860View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf0c31a - Browse repository at this point
Copy the full SHA bf0c31aView commit details -
Simplify and improve simulateKeyInput helper
* Replace user.keyboard from `@testing-library/user-event` with user.type which seems to be better suited for inserting text in input fields (https://testing-library.com/docs/user-event/utility#type).
Configuration menu - View commit details
-
Copy full SHA for 772a432 - Browse repository at this point
Copy the full SHA 772a432View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6046396 - Browse repository at this point
Copy the full SHA 6046396View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0076fd0 - Browse repository at this point
Copy the full SHA 0076fd0View commit details
Commits on Mar 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4ad5222 - Browse repository at this point
Copy the full SHA 4ad5222View commit details -
Configuration menu - View commit details
-
Copy full SHA for f93405c - Browse repository at this point
Copy the full SHA f93405cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f5abad - Browse repository at this point
Copy the full SHA 7f5abadView commit details
Commits on Mar 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e304586 - Browse repository at this point
Copy the full SHA e304586View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cc4a99 - Browse repository at this point
Copy the full SHA 9cc4a99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68cb95b - Browse repository at this point
Copy the full SHA 68cb95bView commit details
Commits on Mar 5, 2024
-
Add options parameter to simulateKeyInput
* Some tests don't work with `user.type` method provided by @testing-library/user-event (v14). The updated wrapper function `simulateKeyInput` accepts an additional argument - options - which can be used to specify that the `user.keyboard` method should be used instead. * Every test which works with one of `user.type` or `user.keyboard` and not the other has been manually tested to confirm that the component being tested exhibits the correct/expected behaviour.
Configuration menu - View commit details
-
Copy full SHA for 656023e - Browse repository at this point
Copy the full SHA 656023eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae2e50f - Browse repository at this point
Copy the full SHA ae2e50fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8254a3a - Browse repository at this point
Copy the full SHA 8254a3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d83cd01 - Browse repository at this point
Copy the full SHA d83cd01View commit details
Commits on Mar 6, 2024
-
Uncomment tests in input_numeric_format
* Some tests were commented out during migration to the new testing setup. All such tests have now been added back.
Configuration menu - View commit details
-
Copy full SHA for 561cd12 - Browse repository at this point
Copy the full SHA 561cd12View commit details
Commits on Mar 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for aa7ef41 - Browse repository at this point
Copy the full SHA aa7ef41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 705ddc2 - Browse repository at this point
Copy the full SHA 705ddc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ed4d59 - Browse repository at this point
Copy the full SHA 0ed4d59View commit details
Commits on Mar 25, 2024
-
Replace existing assertion with a positive one
* The positive assertion makes more sense while still covering the negative assertion case.
Configuration menu - View commit details
-
Copy full SHA for 440ab3b - Browse repository at this point
Copy the full SHA 440ab3bView commit details -
Simplify simulateKeyInput function
* Key input now directly uses @test-library/user-event to type text into the input element being tested. Previously, in some cases, the function used `fireEvent.change` to update the value of the input element with a pre-computed value. * This change does not extend to "special keys" such as `Backspace` or `Delete`.
Configuration menu - View commit details
-
Copy full SHA for 8512532 - Browse repository at this point
Copy the full SHA 8512532View commit details -
* The test now uses the `simulateKeyInput` function to set `input.selectionRange`. Pressing any key then replaces the selected text inside the input element.
Configuration menu - View commit details
-
Copy full SHA for 58332a9 - Browse repository at this point
Copy the full SHA 58332a9View commit details -
Add more helper functions to simulate user actions
* Added functions to select text inside an input element by, 1) double clicking inside it at a given position, and 2) pressing and dragging the mouse cursor.
Configuration menu - View commit details
-
Copy full SHA for 6739eca - Browse repository at this point
Copy the full SHA 6739ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3668f1 - Browse repository at this point
Copy the full SHA c3668f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dd234f - Browse repository at this point
Copy the full SHA 6dd234fView commit details -
Update simulatePaste internals and update test
* If `selectionEnd` is undefined, it is set to `selectionStart`, which matches the behaviour of `simulateKeyInput` function. * It also uses other functions to select text inside the input element instead of directly setting the `selectionRange`.
Configuration menu - View commit details
-
Copy full SHA for 9fb4bb9 - Browse repository at this point
Copy the full SHA 9fb4bb9View commit details -
Add helper to click on input to get focus
* The other `simulateFocus` should ideally be used only when necessary as clicking to focus handles the more general cases when the user takes an action to focus the input element.
Configuration menu - View commit details
-
Copy full SHA for 7f32707 - Browse repository at this point
Copy the full SHA 7f32707View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd3feb8 - Browse repository at this point
Copy the full SHA cd3feb8View commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7187a07 - Browse repository at this point
Copy the full SHA 7187a07View commit details
Commits on Apr 6, 2024
-
Skip failing tests, correct assertion
* Add the todo annotation to four tests that are currently failing. These tests have been confirmed to fail in a browser upon manual testing. * Fix incorrect assertion in a test.
Configuration menu - View commit details
-
Copy full SHA for 6645690 - Browse repository at this point
Copy the full SHA 6645690View commit details -
Update simulateKeyInput when chars are selected
* Add a workaround to handle cases where `input.selectionStart != input.selectionEnd` by first removing the selected text in the input and then using `user.keyboard` to type the key pressed.
Configuration menu - View commit details
-
Copy full SHA for 708dd27 - Browse repository at this point
Copy the full SHA 708dd27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ced22 - Browse repository at this point
Copy the full SHA 56ced22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f23988 - Browse repository at this point
Copy the full SHA 9f23988View commit details
Commits on Apr 28, 2024
-
* Update node version. * Use the latest versions of setup-node and checkout actions. * Use `--frozen-lockfile` flag when running `yarn install`. * Update script to run the new test suite.
Configuration menu - View commit details
-
Copy full SHA for 91e8fd2 - Browse repository at this point
Copy the full SHA 91e8fd2View commit details
Commits on May 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e7b1af4 - Browse repository at this point
Copy the full SHA e7b1af4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c0b056 - Browse repository at this point
Copy the full SHA 8c0b056View commit details
Commits on May 12, 2024
-
- Added better way to find change range which fixes issue around duplicate subsequent characters giving incorrect change range. - Remove findChangedIndex util, as it wasn't used anywhere. - Fix simulateKeyInput util - Fix incorrect test - Fix issue when complete text is selected and replaced with new value in pattern format. It was it was incorrectly pasting value.
Configuration menu - View commit details
-
Copy full SHA for a44af92 - Browse repository at this point
Copy the full SHA a44af92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 824bcd9 - Browse repository at this point
Copy the full SHA 824bcd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca97625 - Browse repository at this point
Copy the full SHA ca97625View commit details