Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-30Remove coveralls linesZ.J. van de Weg
2016-06-08Enable Knapsack only in CI environmentKamil Trzcinski
2016-06-03Use knapsack everywhereKamil Trzcinski
2016-06-03Use own version of knapsack which supports spinach testsKamil Trzcinski
2016-06-03WIPKamil Trzcinski
2016-06-03Try to use knapsackKamil Trzcinski
2016-03-15Fix Capybara 2.6.2 deprecation warningsStan Hu
2016-03-09Retry spinach testsKamil Trzcinski
2016-02-23Set window_size to 1366*768Alfredo Sumaran
2016-01-29Prevent transient Capybara timeouts during feature testsRobert Speicher
The problem occurred because asset compilation takes a long time, so when the asset cache didn't exist and the first test ran, it would often (randomly) time out during the generation before the actual test even had a chance to run. Now we check if the cache exists before the suite runs, and if not, we manually fire a request to the root URL in order to generate it. This should allow subsequent tests to use the cached assets.
2015-12-15Add spinach test for note pollingGrzegorz Bizon
This also increases capybara timeout to 15 seconds (note polling interval). Capybara will look for new note for this period of time.
2015-08-14Fix tests for web editorDmitriy Zaporozhets
2015-06-22Started on the actual rspec 3 upgradeJeroen van Baarsen
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-06-04Remove unnecessary require from Spinach envRobert Speicher
2015-04-26Don't use capybara-screenshot in CI environmentsRobert Speicher
2015-04-26Enable js_errors for Capybara in Spinach and RSpecRobert Speicher
2015-04-26Reduce timeout for non-CI featuresRobert Speicher
2015-04-26Move Spinach setup for db_cleaner and capybara to their own filesRobert Speicher
Also adds capybara-screenshot, which will automatically save the page as html and an image whenever a feature fails. Handy for debugging.
2015-02-12Fixed tests for spinachJeroen van Baarsen
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2014-10-01Try wear_merged! without argumentDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-19Refactor coverage tools usageDmitriy Zaporozhets
rspec spec # no coverage generated SIMPLECOV=true rspec spec # generate coverage locally into ./coverage COVERALLS=true rspec spec # generate and send coverage data to coveralls.io Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-19Ask coveralls to merge resultsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-31Recreate tmp/tests on each test runDmitriy Zaporozhets
2014-07-31Move all test repos data to ReposHelpersDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-31Dont stub gitlab-shell calls. Make test environment closer to real oneDmitriy Zaporozhets
2014-06-06Revert "Revert "Fix for failing specs""Dmitriy Zaporozhets
This reverts commit 2545b0f85851d1e4ebc1137a2c8786a238e02ee4.
2014-06-05Revert "Fix for failing specs"Jeroen van Baarsen
This reverts commit 2314438925af827b694fbaaf59c31c49dd2c0c31. Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> Conflicts: Gemfile.lock
2014-05-31Fix for failing specsJeroen van Baarsen
2014-04-03Fix MR fork validation and services loadDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-14Add email aliases for usersJason Hollingsworth
Emails are used to associate commits with users. The emails are not verified and don't have to be valid email addresses. They are assigned on a first come, first serve basis. Notifications are sent when an email is added.
2014-01-11Remove chosen from testsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-10Require rspec expectations into spinachDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-10-16Fixing unsafe use of Thread.current variable :current_userAngus MacArthur
2013-09-13Improve timing problem in spinach testHiroyuki Sato
2013-09-07Improved large commit handling.Boyan Tabakov
Previously, only number of changed files mattered. Now, number of lines to render in the diff are also taken into account. A hard limit is set, above which diffs are not rendered and users are not allowed to override that. This prevents high server resource usage with huge commits. Related to #1745, #2259 In addition, handle large commits for MergeRequests and Compare controllers. Also fixes a bug where diffs are loaded twice, if user goes directly to merge_requests/:id/diffs URL.
2013-08-08Update chosen, improve ui, fix MR fork testsDmitriy Zaporozhets
2013-07-18Merge Request on forked projectsIzaak Alpert
The good: - You can do a merge request for a forked commit and it will merge properly (i.e. it does work). - Push events take into account merge requests on forked projects - Tests around merge_actions now present, spinach, and other rspec tests - Satellites now clean themselves up rather then recreate The questionable: - Events only know about target projects - Project's merge requests only hold on to MR's where they are the target - All operations performed in the satellite The bad: - Duplication between project's repositories and satellites (e.g. commits_between) (for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos) Fixes: Make test repos/satellites only create when needed -Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap) -project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually -fixed remote removal -How to merge renders properly -Update emails to show project/branches -Edit MR doesn't set target branch -Fix some failures on editing/creating merge requests, added a test -Added back a test around merge request observer -Clean up project_transfer_spec, Remove duplicate enable/disable observers -Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well -Signifant speed ups for tests -Update formatting ordering in notes_on_merge_requests -Remove wiki schema update Fixes for search/search results -Search results was using by_project for a list of projects, updated this to use in_projects -updated search results to reference the correct (target) project -udpated search results to print both sides of the merge request Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
2013-04-11disable mailer for SpinachDmitriy Zaporozhets
2013-04-11disable capybra 2.1 ingore hidden elementsDmitriy Zaporozhets
2013-04-01define TestEnv and keep all global stubs in one placeDmitriy Zaporozhets
2013-03-19Fix travis failed randomly by timeout.Sato Hiroyuki
2013-03-15Merge branch 'use_gollum_wikis' of https://github.com/DanKnox/gitlabhq into ↵Dmitriy Zaporozhets
DanKnox-use_gollum_wikis Conflicts: app/views/layouts/project_resource.html.haml app/views/wikis/edit.html.haml app/views/wikis/pages.html.haml app/views/wikis/show.html.haml spec/features/gitlab_flavored_markdown_spec.rb
2013-03-14Finish select2-ajax for users. Added Select2Helper for testsDmitriy Zaporozhets
2013-03-11Add Spinach coverage for Gollum Wiki system and correct the Delete link.Dan Knox
The previously failing Spinach steps have been fixed with this commit. I have also added new steps that cover the entire usage of the Wiki system. The new Spinach steps revealed a minor bug in the Delete page process. The path for the "Delete this page" button was previously set to `project_wikis_page(@project, @wiki)` when it should have been using the singular `project_wiki_page(@project, @wiki)` path helper. The link has been corrected and all steps are now passing.
2013-03-10add coveralls.io to travis buildsDmitriy Zaporozhets
2013-02-28try to use stable version for database cleanerDmitriy Zaporozhets
2013-02-11No gitolite in project any moreDmitriy Zaporozhets
2013-02-05remove unexisting stubsDmitriy Zaporozhets
2013-01-25Remove save files with failed test %)Andrey Kumanyaev
2013-01-25fix testsAndrey Kumanyaev