summaryrefslogtreecommitdiff
path: root/spec/frontend
Commit message (Collapse)AuthorAgeFilesLines
* CE-backport track uninstall button clicks10763-track-uninstall-button-clicks-ceEnrique Alcantara2019-05-021-3/+12
|
* Uninstall application confirm modal componentEnrique Alcántara2019-05-027-103/+291
| | | | | - Vue confirmation modal implementation - CSS tweaks for modal default height
* Extract discussion notes into new componentPaul Gascou-Vaillancourt2019-05-011-0/+139
| | | | | | | | | - Moved discussion notes out of `NoteableDiscussion` component into a new `DiscussionNotes` component - Wrote Jest tests for the new `DiscussionNotes` component - Updated Jest config for emojis fixtures - Updated Karma tests `NoteableDiscussion` to match its new structure - Convert `DiffDiscussions` tests to use Vue test utils
* Merge branch 'refactor/58830-migrate-sidebar-spec-to-jest' into 'master'Kushal Pandya2019-04-3013-0/+1049
|\ | | | | | | | | | | | | refactor(sidebar): Refactored shared sidebar component tests to Jest Closes #58830 See merge request gitlab-org/gitlab-ce!27688
| * refactor(sidebar): Refactored Karma spec files to JestMartin Hobert2019-04-2613-0/+1049
| | | | | | | | | | | | | | | | | | | | fix #58830 Added changelog Updated to use jest functions Added mock implementation
* | Merge branch '61036-fix-ingress-base-domain-text' into 'master'Tim Zallmann2019-04-291-28/+7
|\ \ | | | | | | | | | | | | | | | | | | Fix base domain help text update Closes #61036 See merge request gitlab-org/gitlab-ce!27746
| * | Fix base domain help text updateEnrique Alcantara2019-04-261-28/+7
| | |
* | | Init MR Popovers on system note mountedSam Bigelow2019-04-261-0/+7
|/ / | | | | | | | | | | All `renderGFM()` calls are finished before the system note is mounted so this MR inits the popover for each system note, and only the elements in the system note
* | Revert "Merge branch '60855-mr-popover-is-not-attached-in-system-notes' into ↵Phil Hughes2019-04-261-6/+0
| | | | | | | | | | 'master'" This reverts merge request !27589
* | Merge branch '60855-mr-popover-is-not-attached-in-system-notes' into 'master'Filipa Lacerda2019-04-261-0/+6
|\ \ | | | | | | | | | | | | | | | | | | Resolve "MR Popover is not attached in system notes" Closes #60855 See merge request gitlab-org/gitlab-ce!27589
* | | Use a FSM to determine application next stateEnrique Alcántara2019-04-265-93/+200
| | | | | | | | | | | | | | | | | | | | | | | | - Separate cluster application UI state from server-side app status - Use a state machine to determine cluster application next state - Instead of using two variables to keep track of when an app is installing or updating, just use the app status property and control server-side and user events using the FSM service.
* | | Merge branch 'refactor/58827-migrate-issue-spec-to-jest' into 'master'Kushal Pandya2019-04-264-0/+543
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Migrated issue spec files to Jest Closes #58827 See merge request gitlab-org/gitlab-ce!27673
| * | | refactor(issue): Refactored issue tests from Karma to JestMartin Hobert2019-04-254-0/+543
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | re #58827 Added changelog Added sync false, and removed unneeded destroyers
* | | | Merge branch 'migrate-import-projects-spec' into 'master'Kushal Pandya2019-04-264-0/+631
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Move import projects karma specs to jest Closes #60204 See merge request gitlab-org/gitlab-ce!27552
| * | | Move import projects karma specs to jestLuke Bennett2019-04-254-0/+631
| | | | | | | | | | | | | | | | Improvements to the stability/validity of the specs.
* | | | Implement toast componentJacques Erasmus2019-04-251-1/+22
| | | | | | | | | | | | | | | | Implemented the toast component for success messages
* | | | test(Refactored notes tests from Karma to Jest):Martin Hobert2019-04-253-0/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #58829 Added changelog entry Added merge request id
* | | | Escape special characters in GFM auto complete highlightingJan Beckmann2019-04-251-0/+32
| |/ / |/| | | | | | | | Fixes #60552
* | | Resolve "Merge Request Popover is not working on the To Do page"Sam Bigelow2019-04-241-2/+18
| | |
* | | Merge branch '10096-gfm-autocomplete-ce' into 'master'Kushal Pandya2019-04-241-1/+1
|\ \ \ | |_|/ |/| | | | | | | | Move EE specific GfmAutocomplete code to EE file See merge request gitlab-org/gitlab-ce!27611
| * | Move EE specific GfmAutocomplete code to EE file10096-gfm-autocomplete-ceRajat Jain2019-04-241-1/+1
| |/ | | | | | | | | Refactor GfmAutocomplete and create a new EE counterpart which is referenced through `ee_else_ce`
* | Revert "Increased page size to 100"Natalia Tepluhina2019-04-231-11/+30
|/ | | | This reverts commit 2869a61f3b7aeb8b6d79c74332c93e32cec20caa.
* Increase timeout for abuse_reports_spec.js to 500msWinnie Hellmann2019-04-181-0/+3
|
* Merge branch 'fe-uninstall-cluster-apps' into 'master'Filipa Lacerda2019-04-182-7/+44
|\ | | | | | | | | | | | | Display "Uninstall App" button if app is uninstallable Closes #60641 See merge request gitlab-org/gitlab-ce!27423
| * Show uninstall button when app is uninstallableEnrique Alcantara2019-04-181-1/+27
| | | | | | | | | | | | | | - Create empty uninstall_button component. - Add uninstallable property to application_row component. - Display Uninstall button if app is uninstallable and it is installed.
| * Determine if app is installed in the storeEnrique Alcantara2019-04-172-13/+24
| | | | | | | | | | - Create installed property for cluster apps - Pass installed property to the application_row component
* | Merge branch 'markdown-autocomplete-escaping' into 'master'Kushal Pandya2019-04-181-6/+15
|\ \ | | | | | | | | | | | | | | | | | | Only use backslash escapes in autocomplete when needed Closes #45348 See merge request gitlab-org/gitlab-ce!27457
| * | Only use backslash escapes in autocomplete when neededmarkdown-autocomplete-escapingSean McGivern2019-04-171-6/+15
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autocompletion for references happens on the frontend. Those references are turned into actual references on the backend, but only after Markdown processing has happened. That means that if a reference contains a character that Markdown might consume, it won't render correctly. So we need to do some escaping on the frontend. We have these potential problem characters: https://docs.gitlab.com/ee/user/markdown.html#emphasis 1. ~ - this is ~~strikethrough~~, but only when doubled. 2. _ - used for _emphasis_, doubled is __bold__. 3. * - also used for *emphasis*, doubled is **bold** also. 4. ` - used for `code spans`, any number works. We don't need to escape `-` any more. When it comes to being inside a word: 1. a~~b~~ has strikethrough, so it needs to be escaped everywhere. 2. a_b_ has no emphasis (see [a]) so it only needs to be escaped at the start and end of words. 3. a*b* has emphasis, so it needs to be escaped everywhere. 4. a`b` has a code span, so it needs to be escaped everywhere. Or, in code terms: 1. Always escape ~~, *, and ` when being inserted by autocomplete. 2. Escape _ when it's either at the beginning or the end of a word. [a]: https://docs.gitlab.com/ee/user/markdown.html#multiple-underscores-in-words
* | Extract discussion actions into separate component58293-extract-discussion-actionsPaul Gascou-Vaillancourt2019-04-171-0/+104
|/ | | | | | | | - Created DiscussionActions component - Updated NoteableDiscussion component accordingly - Wrote Jest tests for DiscussionActions - Updated Jest config to enable emojis aliases mock - Updated qa specs to reflect changes in NoteableDiscussions
* CE backport of Add Snowplow tracking to notesConstance Okoghenun2019-04-121-0/+6
| | | | | | Bacport of Snowplow tracking for - Reply comment button - Start discussion and Comment buttons
* Merge branch '60241-merge-request-popover-doesn-t-go-away-on-mouse-leave' ↵Phil Hughes2019-04-121-0/+30
|\ | | | | | | | | | | | | | | | | into 'master' Resolve "Merge Request popover doesn't go away on mouse leave" Closes #60241 See merge request gitlab-org/gitlab-ce!27143
| * Fix bug where MR Popover wont go away60241-merge-request-popover-doesn-t-go-away-on-mouse-leaveSam Bigelow2019-04-121-0/+30
| | | | | | | | Add a check to make sure eventListener is not added twice
* | Remove slugify text utilityfe-remove-slugifyPaul Slaughter2019-04-121-6/+0
|/ | | | | | **Why?** This function was not being used and it's documentation was out of date.
* Resolve CE/EE diff in text_utility_specfe-fix-ee-diff-in-text-utility-specPaul Slaughter2019-04-111-8/+6
|
* Merge branch '60398-increase-timeouts-clusters-bundle' into 'master'Phil Hughes2019-04-111-1/+1
|\ | | | | | | | | | | | | Increase clusters bundle specs timeout Closes #60398 See merge request gitlab-org/gitlab-ce!27269
| * Increase clusters bundle specs timeout60398-increase-timeouts-clusters-bundleEnrique Alcantara2019-04-111-1/+1
| |
* | Merge branch 'fixed-web-ide-merge-request-review' into 'master'Kushal Pandya2019-04-111-0/+18
|\ \ | | | | | | | | | | | | | | | | | | Fixes Web IDE not loading merge request files Closes #60243 See merge request gitlab-org/gitlab-ce!27225
| * | Fixes Web IDE not loading merge request filesPhil Hughes2019-04-111-0/+18
| |/ | | | | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60243
* | Replace individual ESLint rules with jest/recommendedwinh-eslint-jestWinnie Hellmann2019-04-101-5/+2
|/
* Wrap modal mutation names in template stringswinh-jest-valid-describeWinnie Hellmann2019-04-101-3/+3
|
* Hard code test name in timeline_entry_item_spec.jsWinnie Hellmann2019-04-101-1/+1
|
* Hard code test name in suggestion_diff_row_spec.jsWinnie Hellmann2019-04-101-1/+1
|
* Wrap import project mutation names in template stringsWinnie Hellmann2019-04-101-2/+2
|
* Wrap file template mutation names in template stringsWinnie Hellmann2019-04-101-5/+5
|
* Enable ESLint rule jest/valid-describeWinnie Hellmann2019-04-101-0/+1
|
* Merge branch 'winh-jest-no-identical-title' into 'master'Clement Ho2019-04-092-48/+46
|\ | | | | | | | | Enable ESLint rule jest/no-identical-title See merge request gitlab-org/gitlab-ce!27139
| * Refactor diff_spec.js to use table-based testswinh-jest-no-identical-titleWinnie Hellmann2019-04-081-48/+45
| |
| * Enable ESLint rule jest/no-identical-titleWinnie Hellmann2019-04-081-0/+1
| |
* | Replace jasmine.createSpy() with jest.fn()Winnie Hellmann2019-04-093-3/+3
| |
* | Run yarn eslint --fixWinnie Hellmann2019-04-094-10/+10
| |