summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken tests17662-rename-buildsFilipa Lacerda2017-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | Rename Build to Job Replace "Builds" by "Jobs" and fix broken specs Replace "Builds" by "Jobs" Fix broken spinach test Fix broken test Remove `˙` at the beginning of the file Fix broken spinach test Fix broken tests Changes after review
* Merge branch '25507-handle-errors-environment-list' into 'master' Fatih Acet2017-01-191-1/+1
|\ | | | | | | | | | | | | Resolve "Error handling in environments list" Closes #25507 See merge request !8461
| * Adds testsFilipa Lacerda2017-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | Adds changelog entry Finishes tests Fix eslint errors Fix teaspoon test timing out
* | Merge branch '26601-dropdown-makes-request-close' into 'master' Fatih Acet2017-01-191-5/+6
|\ \ | | | | | | | | | | | | | | | | | | Fixes builds dropdown making request when clicked to be closed Closes #26601 See merge request !8545
| * | Use bootstrap dropdown events to only make the request when the dropdown is ↵26601-dropdown-makes-request-closeFilipa Lacerda2017-01-131-5/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | being opened Fixes builds dropdown making request when clicked to be closed Adds MR ID to CHANGELOG Improve documentation Use bootstrap dropdown events to only make the request when the dropdown is being opened
* | resolve all padded-blocks eslint violationsMike Greiling2017-01-181-2/+1
|/
* Merge branch 'fix-u2f-fixtures' into ↵Mike Greiling2017-01-051-20/+28
|\ | | | | | | | | | | | | | | | | 26226-generate-all-haml-fixtures-within-teaspoon-fixtures-task * fix-u2f-fixtures: generate u2f frontend fixtures dynamically force utf-8 encoding for prior to fixture parsing to prevent nokogiri issues exclude script type=text/template from dom scrubbing
| * generate u2f frontend fixtures dynamicallyMike Greiling2017-01-053-3/+43
| |
* | make projects.json easier to readMike Greiling2017-01-031-1/+445
| |
* | fix dynamic u2f fixturesMike Greiling2017-01-033-3/+35
| |
* | create catch-all fixture generator for all static fixturesMike Greiling2017-01-031-0/+31
|/
* Merge branch '18786-go-to-a-project-order' into 'master' Alfredo Sumaran2016-12-271-1/+1
|\ | | | | | | | | | | | | Go to a project order Closes #18786 See merge request !7737
| * Go to a project orderJacopo2016-12-151-1/+1
| | | | | | | | The order of "Go to a project" dropdown is based on last_activity_at
* | Maintain milestone filter option when updating filter25561-maintain-milestone-filter-paramSam Rose2016-12-211-0/+8
| | | | | | | | Setup teaspoon tests for Issuable
* | Adds tests for the MiniPipelineGraph classFilipa Lacerda2016-12-201-0/+8
| |
* | Make CI badge hitboxes better match containerMitchell Hentges2016-12-191-5/+4
| |
* | Replace static fixture for abuse_reports_spec (!7644)winniehell2016-12-152-16/+27
|/
* Replace static fixture for awards_handler_spec (!7661)winniehell2016-12-121-52/+0
|
* Fix tests25483-broken-tabsFilipa Lacerda2016-12-121-1/+1
| | | | Fix broken tests
* Adds tests to prevent future errors.Filipa Lacerda2016-12-121-0/+15
| | | | Fix undefined variable in es5
* Merge branch '15081-wrong-login-tab-ldap-frontend' into 'master' Fatih Acet2016-12-091-0/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed Wrong Tab Selected When Loggin Fails And Multiple Login Tabs Exists ## What does this MR do? Fixes issue: 15081 Wrong Tab Selected When Loggin Fails And Multiple Login Tabs Exists This is done by saving into a cookie when the active tab changes and by always selecting that tab when the page is loaded. ## Are there points in the code the reviewer needs to double check? No ## Why was this MR needed? In order to fix the issue: 15081 ## Screenshots (if relevant) ## Does this MR meet the acceptance criteria? - [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [ ] API support added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if it does - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? Closes #15081 See merge request !7314
| * Fixed Wrong Tab Selected When Loggin Fails And Multiple Login Tabs ExistsJacopo2016-12-021-0/+5
| | | | | | | | | | | | | | When ldap is enabled and use "Standard" authentication method, if authentication fails the correct tab remain selected. This is done by saving into localStorage when the active tab changes and by always selecting that tab when the page is loaded.
* | Merge branch 'fix-all-dashboard' into 'master' Sean McGivern2016-12-081-0/+4
|\ \ | | | | | | | | | | | | | | | | | | Don't whitelist events for all filter Closes #24826 See merge request !7673
| * | Add issue events filter and make sure "All" really shows everythingOxan van Leeuwen2016-12-041-0/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the EventFilter whitelists event types for the "All" filter. This has gotten outdated, which causes the confusing behaviour of the "All" tab not really showing all events. To make matters worse, by default no tab at all is selected, which does show all events, so selecting the "All" tab actually hides some events. Fix this by: - Making sure All always includes all activity, by abolishing the whitelist and just returning all events instead. - Make the All tab selected by default. - Add Issue events tab to include the specific events around opening and closing issues, since there was no specific filter to see them yet. Fixes #24826
* | Merge branch 'cleanup-common_utils.js' into 'master' Alfredo Sumaran2016-12-021-2/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up common_utils.js ## What does this MR do? - Remove unused functions from `common_utils.js`. - Move functions which are used from only one file to that file. ## Why was this MR needed? Because some utils weren't that common (anymore). See merge request !7318
| * | Clean up common_utils.js (!7318)winniehell2016-12-011-2/+0
| | |
* | | Merge branch 'comments-fixture' into 'master' Alfredo Sumaran2016-12-023-34/+6
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace static fixture for notes_spec ## What does this MR do? Replace `comments.html.haml` and `issue_note.html.haml` used in `notes_spec.js` by dynamically created fixture. ## What are the relevant issue numbers? #24753 See merge request !7683
| * | Replace static fixture for notes_spec (!7683)winniehell2016-12-013-34/+6
| |/
* | Merge branch '24814-pipeline-tabs' into 'master' Fatih Acet2016-12-011-0/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pipelines tabs ## What does this MR do? Changes the URL when the builds tab is clicked making it possible to be shared. 1. Adds a standard way to handle linked tabs: * This behaviour is already present in the merge requests, commit and user `show` page. * This MR introduces a reusable way to accomplish this behaviour for pages with static content. 2. Adds test: * For the linked tabs reusable class * For the pipelines tabs ## Why was this MR needed? To allow having a sharable URL that represented the opened tab ![tabs](/uploads/91e663c12c6e9ac46a17aa3a9489dc72/tabs.gif) ## Does this MR meet the acceptance criteria? - [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [ ] API support added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if it does - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? Closes #24814 See merge request !7709
| * | Adds tests for tabs in the rspec for pipelinesFilipa Lacerda2016-11-301-0/+13
| |/ | | | | | | | | | | | | | | Adds tests for the Linked Tabs class Removes event listener Adds builds
* | Merge branch 'right-sidebar-fixture' into 'master' Fatih Acet2016-12-011-17/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace static fixture for right_sidebar_spec ## What does this MR do? Replace `right_sidebar.html.haml` for `right_sidebar_spec.js` by already existing dynamically generated fixture. ## What are the relevant issue numbers? #24753 See merge request !7687
| * | Replace static fixture for right_sidebar_spec (!7687)winniehell2016-11-281-17/+0
| |/
* | Merge branch 'shortcuts-issuable-fixture' into 'master' Alfredo Sumaran2016-12-011-2/+0
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | Replace static fixture for shortcuts_issuable_spec ## What does this MR do? Replace `issuable.html.haml` for `shortcuts_issuable_spec.js` by already existing dynamically generated fixture. ## What are the relevant issue numbers? #24753 See merge request !7685
| * Replace static fixture for shortcuts_issuable_spec (!7685)winniehell2016-11-231-2/+0
| |
* | Merge branch 'zen-mode-fixture' into 'master' Alfredo Sumaran2016-11-281-8/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace static fixture for zen_mode_spec ## What does this MR do? Replace `zen_mode.html.haml` for `zen_mode_spec.js` by already existing dynamically generated fixture. ## What are the relevant issue numbers? #24753 See merge request !7686
| * | Replace static fixture for zen_mode_spec (!7686)winniehell2016-11-231-8/+0
| |/
* | Merge branch 'dynamic-build-fixture' into 'master' Alfredo Sumaran2016-11-283-63/+35
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create dynamic fixture for build_spec ## What does this MR do? Replace `spec/javascripts/fixtures/build.html.haml` by a dynamically created fixture (using `rake teaspoon:fixtures`). ## Why was this MR needed? The existing fixture was not representing the real page. ## What are the relevant issue numbers? #24614 would have been avoided following !6059 See merge request !7589
| * | Explicitly name namespace and projects for frontend fixtureswinniehell2016-11-252-2/+4
| | |
| * | Create dynamic fixture for build_spec (!7589)winniehell2016-11-252-62/+32
| |/
* | Fix title case to sentence caseLuis Alonso Chavez Armendariz2016-11-231-2/+2
|/
* Improve name of build log state data attributefix/build-without-trace-exceptionsGrzegorz Bizon2016-11-221-1/+1
|
* Merge branch '22539-display-folders' into 'master' Fatih Acet2016-11-193-0/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Display "folders" for environments" ## What does this MR do? Adds the ability to show the grouped environments inside "folders". Adds several reusable vue components in order to accomplish the recursive tree data structure presented. For the individual components, Jasmine tests were added. For the ones that depend of an API response, rspec tests are used. ## Screenshots (if relevant) ![Screen_Shot_2016-11-16_at_02.00.13](/uploads/1278012c8639b999b53f080728d283e1/Screen_Shot_2016-11-16_at_02.00.13.png) ![Screen_Shot_2016-11-16_at_02.00.25](/uploads/a3d65416ddb553e1b8f0f4c8897a75dc/Screen_Shot_2016-11-16_at_02.00.25.png) ![Screen_Shot_2016-10-17_at_16.08.50](/uploads/af63efe1d2cbd5fc069408622ef4b607/Screen_Shot_2016-10-17_at_16.08.50.png) ![environments](/uploads/b5a1801766d82ab176fc60f96b6968cb/environments.gif) ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG.md) entry added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [ ] API support added - Tests - [x] Added for this feature/bug - [ ] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if it does - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? Closes #22539 See merge request !7015
| * Merge remote-tracking branch 'origin/master' into 22539-display-foldersKamil Trzcinski2016-11-181-1/+1
| |\
| * | Adds new line to eofFilipa Lacerda2016-11-161-1/+1
| | |
| * | Adds props validationFilipa Lacerda2016-11-162-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improves documentation Adds tests Fix prop validation for objects Finish tests for environment item Adds tests for toggle folder function Environment tests Adds tests
| * | Adds testsFilipa Lacerda2016-11-164-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds tests. Changes instance into a constructor Adds tests for environments component Adds tests assertations Adds external URL test Adds tests for Rollback component Adds tests for stop component Adds tests for actions component Fix environment item Init environment item tests
* | | Add failing test for #24614winniehell2016-11-181-0/+5
| |/ |/|
* | explicitly disable eslint inlineexplicitly-disable-eslint-inlineLuke "Jared" Bennett2016-11-151-1/+1
|/
* Add javascript unit tests for BuildJared Deckard2016-11-041-0/+57
| | | | | | | | Move comments to the correct location Remove array extension usage Move build options to fixture to match view
* Change show-gl-field-errors to gl-show-field-errorsBryce Johnson2016-11-021-1/+1
|