Robert Speicher
56ae036e41
Use empty_project
where possible in spec/features/merge_requests
2017-07-27 13:12:17 -04:00
Keifer Furzland
7e113b6824
Remove superfluous type defs in specs
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:52 +02:00
Bob Van Landuyt
3ee48e422d
Enable all feature flags by default in specs
...
Otherwise some features would go untested in non-specific contexts
I did need to disable the
`gitlab_git_diff_size_limit_increase`-feature in some specs since we
depend on diffs being expandable while the file we are testing on is
smaller than the increased limit.
2017-07-13 13:00:34 +02:00
Robert Speicher
9eeba8fb49
Auto-correct ProjectPathHelper violations
2017-07-06 12:20:50 -04:00
Robert Speicher
e939bf7be1
Change gitlab_sign_in to sign_in where possible
2017-06-29 12:18:23 -04:00
Robert Speicher
45fb1f9542
Change login_as
uses to gitlab_sign_in
2017-06-19 18:59:01 -05:00
Robert Speicher
a6ec5121f0
Correct RSpec/SingleLineHook cop offenses
2017-06-14 13:18:56 -05:00
Sean McGivern
1d3c33b57e
Increase diff limits to 100 KB for collapse and 200 KB overall
...
This is controlled with the feature flag gitlab_git_diff_size_limit_increase.
Both of these limits were basically picked arbitrarily in the first place;
disabling the feature flag reverts to the old limits.
2017-06-02 19:37:09 +01:00
Oswaldo Ferreira
2338785ec9
Use wait_for_requests to wait all JS request
2017-05-22 20:39:49 -03:00
Rémy Coutable
d40e1f547e
Enable the Style/TrailingCommaInLiteral cop
...
Use the EnforcedStyleForMultiline: no_comma option.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Jacopo
ff76adb547
Unnecessary "include WaitForAjax" and "include ApiHelpers"
...
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs.
Removed unnecessary usage of `api:true`
2017-04-21 22:32:02 +02:00
Douwe Maan
b7d8df503c
Enable Style/MutableConstant
2017-02-23 09:31:56 -06:00
Annabel Dunstone Gray
465316ec22
Fix failing conflicts test
2017-02-10 15:09:08 -06:00
Annabel Dunstone Gray
436ea57f56
Reduce base font sizes across app
2016-12-02 17:24:08 -06:00
Alfredo Sumaran
54bfe70795
Add more tests to check conflicts resolution
2016-10-13 14:16:35 -05:00
Alfredo Sumaran
f947972ded
Improve diff view switching and components
2016-10-13 14:16:35 -05:00
Alfredo Sumaran
197ac5ebbf
Ability to resolve conflicts for files with text-editor
as conflict type
2016-10-13 14:16:35 -05:00
Alfredo Sumaran
a8ac9089af
Refactor JS code
...
- Use a store base object to manage application state.
- Add a service to handle ajax requests.
- Load code only when needed
2016-10-13 14:16:35 -05:00
Sean McGivern
e84f959ae4
Fix editor spec
2016-10-13 14:16:35 -05:00
Alfredo Sumaran
4178ddee18
Add tests to check if files are resolved with Edit Inline mode
2016-10-13 14:16:35 -05:00
Douwe Maan
6af52d7d23
We now support resolving conflicts with ambiguous markers
2016-10-13 14:16:34 -05:00
Sean McGivern
44eb3197a9
Handle non-UTF-8 conflicts gracefully
...
These can't be resolved in the UI because if they aren't in a UTF-8
compatible encoding, they can't be rendered as JSON. Even if they could,
we would be implicitly changing the file encoding anyway, which seems
like a bad idea.
2016-08-25 08:27:08 +01:00
Sean McGivern
7cb76ce1c6
Add workaround for JS error in spec
...
These JS errors are only thrown in PhantomJS, and enough of the page is
rendered properly that this spec passes. We should remove this in
future.
2016-08-17 11:15:05 +01:00
Fatih Acet
f6aa91700a
Fix failed test because of a copy change.
2016-08-12 23:24:51 +03:00
Sean McGivern
ce7eb4e492
Add more tests for conflicts
2016-08-12 23:24:48 +03:00