- Jan 20, 2022
-
-
Illya Klymov authored
* migrate to proper use of findComponent/findAllComponents
-
- Oct 12, 2021
-
-
- Jul 07, 2021
-
-
Tom Quirk authored
- Ensures size prop of all project_avatar usage is valid - Updates specs - Updates project_list_item with new props
-
- Feb 01, 2021
-
-
Etienne Baqué authored
Mostly updated documentation
-
- Nov 18, 2020
-
-
Sort imports orders in ee/spec by groups and alphabetically to match our code style.
-
- Aug 28, 2020
-
-
Illya Klymov authored
`.contains` will be deprecated in @vue/test-utils 1.x This is first round of removing this deprecated method from our tests
-
- Aug 26, 2020
-
-
Illya Klymov authored
Replace emittedByOrder with emitted to fix deprecation warnings in @vue/test-utils 1.x
-
- Jun 10, 2020
-
-
- Uses the GlEmptyState component - Adds tests for the new component
-
- Jun 09, 2020
-
-
Closes #194299
-
- Apr 27, 2020
-
-
Vitaly Slobodin authored
'toHaveLength' is preferred over other expect functions. It gives more clear messages and prepares our codebase for recommended style rules for Jest.
-
- Jan 16, 2020
-
-
Illya Klymov authored
attachToDocument property is not needed
-
- Jan 10, 2020
-
-
Illya Klymov authored
This commit removes { sync: false } accross entire codebase This is useless since upgrade to @vue/test-utils 1.0.0.beta-30
-
- Jan 09, 2020
-
-
Illya Klymov authored
localVue is required only with use method
-
- Jan 08, 2020
-
-
Illya Klymov authored
localVue is required only with use method
-
- Jan 02, 2020
-
-
Illya Klymov authored
Ensure we are updating templates when we're emitting things
-
- Dec 20, 2019
-
-
gitlab-ui tooltip component is based on bootstrap-vue tooltip component. Starting with bootstrap-vue 2.0, testing Vue components that use BV tooltip requires to attach the component under test to the document object using vue-test-utils attachToDocument mounting option. It also requires setting the `sync` option to true. This change affected a significant amount of unit tests in GitLab codebase. These effects impede GitLab from upgrading to bootstrap-vue 2.0. To address this problem we first attempted to fix all the affected tests. The list is broken tests is located in !18913. Over time, more tests appeared broken as they were using the tooltip directive too. The goal to fix broken tests became a moving target, so we desisted. This new approach mocks the tooltip directive and tooltip component to decouple the unit tests from the bootstrap-vue dependency.
-
- Dec 11, 2019
-
-
Takuya Noguchi authored
only for /ee/spec/frontend (the second iteration) Signed-off-by:
Takuya Noguchi <takninnovationresearch@gmail.com>
-
- Dec 05, 2019
-
-
Migrated some Karma specs to Jest and Vue Test Utils, this will help us with the ongoing BootstrapVue upgrade
-