Commit Graph

99 Commits

Author SHA1 Message Date
Takuya Noguchi 2b6307f6ad Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
blackst0ne 27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Nick Thomas 4a74875d23
Remove two unused step definitions from spinach 2017-12-20 15:12:46 +00:00
Eric Eastwood 43377979c6 Check for element before evaluate_script
Tip from
https://robots.thoughtbot.com/write-reliable-asynchronous-integration-tests-with-capybara#directly-interacting-with-javascript
2017-10-19 14:01:15 -05:00
Phil Hughes c56100b3ec Add top level items to fly-out navigation
This only appears when in the collapsed sidebar. If the sidebar is expanded, then these items are hidden & no fly-out navigation is displayed.

Closes #36294
2017-09-06 14:54:17 +01:00
blackst0ne ec1ec9b67a Replace 'source/search_code.feature' spinach test with an rspec analog 2017-08-25 08:54:50 +11:00
Douwe Maan 793ce6fef6 Merge branch '32408-allow-creation-of-files-and-dirs-with-spaces-in-web-ui' into 'master'
Make filename and path creation compatible with UNIX in web UI

Closes #21362

See merge request !12608
2017-07-05 20:21:58 +00:00
Tiago Botelho 1207d451ed Removes file_name_regex from Gitlab::Regex 2017-07-05 19:10:14 +01:00
Douwe Maan fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Tiago Botelho d1e0b1b3a8 Allow creation of files and directories with spaces in web UI 2017-07-05 16:08:57 +01:00
Douwe Maan 70b05a8377 Split up MergeRequestsController 2017-06-28 18:17:44 -05:00
Stan Hu 516a3b7880 Revert "Annotate" to "Blame" 2017-06-22 17:07:19 -07:00
Douwe Maan ce4fe4dc76 Merge branch 'dm-revert-mr-8427' 2017-06-09 14:27:29 -05:00
Douwe Maan b38c74d696 Revert 'New file from interface on existing branch' 2017-06-09 10:10:47 -05:00
Sean McGivern 114cae6d54 Fix intermittent Spinach markdown render failure
When loading a tree with a README.md, we need to wait for the blob viewer.
2017-06-09 14:59:54 +01:00
Ilya Vassilevsky 3801dc0e6e Promote blameless culture by using "annotate" instead
User-facing changes (fast & easy win)
2017-06-02 08:48:02 +04:00
Oswaldo Ferreira 2338785ec9 Use wait_for_requests to wait all JS request 2017-05-22 20:39:49 -03:00
Douwe Maan 00fc9f2607 Load tree readme asynchronously 2017-05-10 08:21:58 -05:00
Douwe Maan 54040ce066 Show Raw button as Download for binary files 2017-04-30 14:06:21 -05:00
Douwe Maan 0cfb38194c Fix feature specs 2017-04-27 12:23:26 -05:00
Stan Hu d6330c8b9c Fix scoping issues with Spinach tests (e.g. https://gitlab.com/gitlab-org/gitlab-ce/builds/14929499) 2017-04-24 13:26:44 -07:00
Nur Rony b8a6338032 Adding animation for all dropdown 2017-04-21 15:05:38 +00:00
Eric Eastwood 36387ce1b4 Add Fork/Cancel confirmation to "Replace"/"Delete" buttons
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/30637
2017-04-20 13:34:18 -05:00
Douwe Maan d170133bde Refactor changing files in web UI 2017-04-20 00:37:44 +00:00
Jose Ivan Vargas Lopez c380d7669c Fixed button capitalisation for Projects in views 2017-04-06 14:58:57 -05:00
Jose Ivan Vargas 7592137f21 Fix rspec and spinach tests 2017-04-06 14:58:57 -05:00
Eric Eastwood b42dc1a52b Linking to edit file directly 2017-04-06 16:36:38 +00:00
Douwe Maan 82cc38d7d8 Fix spec 2017-03-16 09:37:22 -06:00
Douwe Maan c52fead0d2 Fix spec 2017-03-16 09:37:22 -06:00
Christopher Bartz 7849683766 Do not show LFS object when LFS is disabled
Do not display a 404, when a user tries to retrieve the raw content of
an LFS file (pointer) if the config option "lfs_enabled" is set to
false. Instead, display the LFS pointer file directly.
2017-03-13 18:15:19 +01:00
Jacopo e0fe2834eb New file from interface on existing branch
Now you can create a new file and select a target_branch != source_branch.
If the file that you want to create already exists on the target branch an error message is shown
A glDropdown is used to select and create a new branch instead of a text field.
2017-03-13 16:36:11 +01:00
Robert Speicher 822bf2f91c Add the `:repository` trait to `:project` factories in Cucumber steps 2017-01-17 16:02:08 -05:00
Mike Greiling e069875e80 fix tests broken by new wiki page design 2016-11-30 15:22:43 -06:00
Lisanne Fellinger e6e4147880 Rewritten spinach git_blame tests to rspec feature tests
Fixing rubocop violations

Relocated git_blame spec and fixed styling issue

Rewritten spinach git_blame tests to rspec feature tests

Fixing rubocop violations

Relocated git_blame spec and fixed styling issue

Rewritten spinach git_blame tests to rspec feature tests

Fixing rubocop violations

Rewritten spinach git_blame tests to rspec feature tests

Fixing rubocop violations

Rewritten spinach git_blame tests to rspec feature tests

Fixing rubocop violations

Relocated git_blame spec and fixed styling issue
2016-11-07 15:17:52 +01:00
Paco Guzman ca3c0c6cd9 MergeRequest new form load diff asynchronously 2016-10-06 11:19:14 +02:00
Connor Shea 8db088ccc7 Don't use global variables. 2016-08-18 21:48:11 +01:00
Phil Hughes 61bdc80dba Updated failing tests 2016-08-13 00:57:40 -05:00
Phil Hughes f668da11cb Updated tests 2016-08-13 00:57:40 -05:00
Stan Hu 0fa50494b8 Improve spinach test to be more specific about link to click
If you add another branch to gitlab-test that includes the word 'test',
browse_files.feature will fail with an ambiguous match.
2016-07-31 22:17:26 -07:00
Phil Hughes ed0f26c223 Escapes branch names before appending to dom 2016-06-18 21:49:20 +01:00
Phil Hughes d2362e2edf Tests fix for ref switcher 2016-06-18 21:49:20 +01:00
Phil Hughes 48726e9d30 Updated failing tests 2016-06-08 10:10:51 +01:00
Dmitriy Zaporozhets 442083e0fc
Fix file browsing test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-05-16 17:56:39 -05:00
Rémy Coutable b2370fefad Fix specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-18 14:47:50 +02:00
Rémy Coutable 0aaaae9d05 Fix features specs (hopefully)
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-18 14:47:50 +02:00
Phil Hughes 643fe43d78 Addressed feedback
Removed important from css
2016-04-11 09:43:59 +01:00
Phil Hughes 1ca627f782 Fixed tests 2016-04-07 16:10:44 +01:00
Phil Hughes b310058998 Use new dropdowns for MR compare 2016-04-06 11:08:40 +01:00
Phil Hughes 7fe19046d6 Fixed failing tests 2016-04-06 11:08:40 +01:00
Jacob Schatz 136ba502d3 Change test in an attempt to pass.
Thanks @rspeicher!
2016-03-10 12:20:00 -05:00