summaryrefslogtreecommitdiff
path: root/spec/javascripts
Commit message (Collapse)AuthorAgeFilesLines
* Fixed JS errorsjquery2Phil Hughes2016-06-051-6/+6
| | | | CHANGELOG item
* Move JS graph specs to match assets tree.Connor Shea2016-06-013-0/+0
|
* Fix teaspoonConnor Shea2016-06-013-3/+3
|
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into #15643Fatih Acet2016-05-231-0/+1
|\ | | | | | | | | # Conflicts: # app/assets/stylesheets/pages/issuable.scss
| * Dropdown implementationzj-gitignore-dropdownAlfredo Sumaran2016-05-201-0/+1
| |
* | Added specs for right sidebar.Fatih Acet2016-05-122-0/+82
|/
* Fix build notification on merge request page change even if the build status ↵Benedikt Huss2016-05-081-0/+6
| | | | didn't change
* Feedback from stanhuBenedikt Huss2016-05-051-3/+17
|
* Merge request widget displays TeamCity build state and code coverage ↵Benedikt Huss2016-05-051-0/+35
| | | | correctly again
* Placeholder on milestone formPhil Hughes2016-04-141-0/+1
| | | | Updated JS spec to include gl_form
* Updated based on Ruby feedbackPhil Hughes2016-04-121-12/+13
|
* Tests updatePhil Hughes2016-04-122-22/+24
|
* Merge branch 'close-issue-bug' into 'master' Jacob Schatz2016-04-051-3/+3
|\ | | | | | | | | | | | | Fix data check in update issue response See merge request !3548
| * Update issue_spec testclose-issue-bugAnnabel Dunstone2016-04-051-3/+3
| |
* | Tests updatePhil Hughes2016-04-041-1/+1
|/
* Change `js-quick-submit` behavior to expect the class on the formRobert Speicher2016-03-021-3/+3
| | | | | Now it will work on any field inside that form, and it's easier to scope new behavior, which is what we're adding next!
* Project dropdown test span -> iPhil Hughes2016-02-051-1/+1
|
* Changed the project switcher dropdown togglePhil Hughes2016-02-051-2/+2
| | | | | | Moved the positioning of the dropdown to be more aligned with the title Closes #13219 and #13214
* Merge branch 'title-projects-dropdown' into 'master' Jacob Schatz2016-02-023-0/+54
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added dropdown to list all projects on project header Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/4212 When clicking the current project name, it shows a dropdown menu with a list of all projects for that group or user. When closed: ![Screen_Shot_2016-01-14_at_19.17.44](/uploads/a7258ba388dba238fc2f0468711fc729/Screen_Shot_2016-01-14_at_19.17.44.png) When open: ![Screen_Shot_2016-01-14_at_19.17.51](/uploads/716533d9eb44b123c5fdff36a4740489/Screen_Shot_2016-01-14_at_19.17.51.png) cc. @jschatz1 See merge request !2438
| * added testsPhil Hughes2016-01-303-0/+54
| |
* | Allow manual resize of js-autosize textareasrs-relax-autosizeRobert Speicher2016-02-011-0/+11
|/ | | | | | | | | | | | | | First, the autosize library was being too controlling and removed the `resize` property from any elements to which it was attached, removing the drag handle. Second, we detect when the user manually resizes an autosize textarea, and then remove the autosize behavior from it and increase its max-height. This should allow for the best of both worlds. Closes #12832
* reverting more MR ajax files, will appear in different commitJacob Schatz2016-01-122-99/+1
|
* fixes conflictsJacob Schatz2016-01-113-37/+30
|\
| * Refactor ZenModers-zenmode-cleanupRobert Speicher2016-01-082-21/+14
| | | | | | | | | | | | | | | | - No longer depends on the "hidden checkbox". - No longer depends on manually storing/restoring the scroll position. Instead, we take advantage of jquery.scrollTo. - Event-based. - Simplifies the state-based styling.
| * fixes ajax issue with issue specajax-issues-fixJacob Schatz2016-01-071-16/+16
| |
* | adds tests (and passes them) for ajax open and close merge requests.Jacob Schatz2016-01-063-2/+100
|/
* Merge branch 'close-open-ajax-issue' into 'master' Robert Speicher2015-12-252-1/+97
|\ | | | | | | | | | | | | open and close issue via ajax request. With tests Close and Reopen issues with ajax request. See merge request !2164
| * removes unused `alert` from issue spec. Requires flash in the ↵close-open-ajax-issueJacob Schatz2015-12-232-8/+2
| | | | | | | | *implementation* instead of the spec.
| * adds test for issue close/reopen failureJacob Schatz2015-12-232-4/+60
| |
| * fixes tests to work with jasmine/jqueryJacob Schatz2015-12-232-13/+16
| |
| * adds alerts for when http request errors out in some way.Jacob Schatz2015-12-211-10/+1
| |
| * clarifies tests with methods like `toBeVisible()` etc.Jacob Schatz2015-12-211-12/+9
| |
| * updates tests style for four-phase-testing as per: ↵Jacob Schatz2015-12-211-1/+17
| | | | | | | | https://robots.thoughtbot.com/four-phase-test
| * open and close issue via ajax request. With testsJacob Schatz2015-12-212-1/+40
| |
* | Fix NewBranchForm specDouwe Maan2015-12-241-1/+1
| |
* | Add helper methods to JS validation spec for invalid branch namesbranch-invalid-nameDouglas Barbosa Alexandre2015-12-221-87/+92
| |
* | Fix minor stylistic complaintsDouglas Barbosa Alexandre2015-12-211-34/+34
| |
* | Add specs for JS validation for invalid characters in branch nameDouglas Barbosa Alexandre2015-12-172-0/+159
|/
* Rename .issuable-details to .detail-page (and -header and -description)Douwe Maan2015-12-162-2/+2
|
* Make tab target selectors less naiveRobert Speicher2015-12-081-3/+3
| | | | | | | | | Prior, any of the specified IDs could have been hijacked by a table of contents header, breaking the tab functionality. For example, a `## Notes` header would get the id `notes` and prevent the Discussion tab from being activated. Closes #3908
* Apply new design to files pageDmitriy Zaporozhets2015-10-132-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Check originalEvent.repeat *and* event.repeatrs-quick-submitRobert Speicher2015-10-071-4/+1
| | | | | phantomjs < 2.0 doesn't support creating `KeyboardEvent` so the tests were failing on CI
* Check originalEvent.repeatRobert Speicher2015-10-071-1/+9
|
* Add "Quick Submit" JS behaviorRobert Speicher2015-10-072-0/+71
|
* Require jquery.turbolinks in all JS specsRobert Speicher2015-10-071-0/+1
| | | | Side-effect: This simplifies the requiresInput handler
* Add specs for syntax_highlight JSRobert Speicher2015-09-101-0/+42
| | | | | | | Also makes it work when given a parent element containing a `.js-syntax-highlight` element so for dynamically-added things like notes or Markdown previews, we can more accurately target just the element we care about.
* Remove style attribute from textarea during ZenMode activationrs-dev-issue-2466Robert Speicher2015-09-041-0/+5
| | | | Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2466
* Fix the "Reload with full diff" URL buttonStan Hu2015-07-231-0/+6
| | | | | | | On the first load, the merge request tabs would be requested in JSON format to render the HTML. This would cause the "Reload with full diff" button to create a link to diff.json. Closes #2041
* Add test case for clicking line number anchor iconrs-issue-988-testRobert Speicher2015-07-172-1/+11
|
* Remove disableButtonIf[Any]EmptyField calls from formsRobert Speicher2015-06-261-2/+0
| | | | These have been replaced by the "requiresInput" behavior.