Arinde Eniola
ffe2f8e679
fix the failing tests and some changes
2016-04-06 20:27:30 +01:00
Yorick Peterse
75aaf91cb1
Create SSH keys for SSH clone Spinach tests
...
These tests would check if the "This project is empty" banner would
contain SSH clone URLs. Oddly enough this should have never passed (as
far as I can tell) as SSH clone URLs in this banner are _only_ displayed
if the current user has at least 1 SSH key attached. Since the tests
never seem to create any they never should have passed, yet somehow they
did. To solve this the Spinach tests in question now ensure at least 1
SSH key is present.
2016-03-21 11:40:13 +01:00
Yorick Peterse
fc5ff7af61
Create repositories in Spinach issues tests
...
Similar to ad90dba5185e30883d5ad6008c166b0df0108ebf we always have a
repository in the real world, so let's also create one in our Spinach
tests.
2016-03-19 21:54:08 +01:00
Stan Hu
0901d51724
Improve award emoji test reliability by checking that the emoji is displayed
...
before the search field is focused
2016-03-17 17:34:15 -07:00
Stan Hu
a181722ae4
Improve award emoji test reliability and eliminate sleeps
...
Closes #14129
2016-03-13 13:39:28 -07:00
Jacob Schatz
6968ea32e2
Merge branch 'award-emoji-design-update' into 'master'
...
Updated UI of award emoji
Closes #13878
See merge request !3028
2016-03-11 16:06:18 +00:00
Jacob Schatz
d343c7a159
Merge branch 'comment-discard-button' into 'master'
...
Added discard button to comment form
Also changed the labels on the buttons to better match the action they are completing.
Closes #8057
See merge request !3085
2016-03-11 13:07:43 +00:00
Phil Hughes
a7e76a6119
Updated award emoji tests
2016-03-11 09:02:43 +00:00
Phil Hughes
8d7e0f0ba9
Fixed failing tests
2016-03-10 13:54:54 +00:00
Robert Speicher
56c4f22c80
Remove redundant integration tests
...
These three tests were essentially checking that adding a note to
something updated its `noteable`'s `updated_at` attribute.
This is well-tested Rails behavior and we shouldn't feel the need to
write an integration test to verify it. At most we should be ensuring
that the association definition adds the `touch: true` option, which we
now do in Note's unit test.
2016-03-07 15:33:26 -05:00
Rubén Dávila
95b06a62c0
Updates from last code review.
2016-03-06 23:07:19 -05:00
Phil Hughes
f95f242cfa
Updated tests
2016-03-04 13:52:29 +00:00
Robert Speicher
dba47f680d
Merge branch 'issue_13301_emoji-menu' into 'master'
...
Load award emoji picker with ajax request
Fixes #13301 .
See merge request !2888
2016-02-24 02:50:45 +00:00
Annabel Dunstone
476a804969
Update award_emoji test
2016-02-23 19:37:15 -06:00
Phil Hughes
51c17329a4
Fixed failing issues tests
...
Removed up/down vote icons from merge requests. Was missed from d8069bd858
2016-02-22 11:35:52 +00:00
Annabel Dunstone
b80df08735
Add timeout for ajax call in award emoji steps; update focus in award picker
2016-02-19 07:32:20 -06:00
Douglas Barbosa Alexandre
9823d00e0b
Add ability to see and sort on vote count from Issues and MR lists
2016-02-17 11:32:02 -02:00
Valery Sizov
719b588998
sporadic spec fix
2016-02-16 15:11:41 +02:00
Rémy Coutable
54613b6af5
Fix the "x of y" displayed at the top of Issuables' sidebar
...
1. We now display the index of the current issuable among all its project's
issuables, of the same type and with the same state.
2. Also, refactored a bit the Issuable helpers into a new IssuablesHelper
module.
3. Added acceptance specs for the sidebar counter.
2016-02-15 15:40:24 +01:00
Stan Hu
46d35cdbe5
Add spinach tests for award emoji
2016-02-13 02:47:15 -08:00
Phil Hughes
5a04fc9099
Added tests to emoji search field focus
2016-01-29 12:58:34 +00:00
Rubén Dávila
78754cb1c9
Update Issues/MRs updated_at when user leaves comments.
2016-01-18 21:39:23 -05:00
Rémy Coutable
5e452d3794
Improve & adds specs for Issue/MR references
...
- Improve specs for private Issue/MR referenced in public Issue
- Add specs for private Issue/MR referenced in public MR
2016-01-13 17:05:54 +01:00
Rémy Coutable
9d7f88c122
Show referenced MRs & Issues only when the current viewer can access them
2016-01-13 11:59:10 +01:00
Valery Sizov
bf03acfa25
spinach fix
2015-12-31 15:59:08 +02:00
Robert Speicher
efc679e4aa
Fix "I see current user as the first user" step
...
Why did this break? `¯\_(ツ)_/¯`
2015-12-30 18:22:59 -05:00
Valery Sizov
5605e15914
fix spinach
2015-12-25 14:11:19 +02:00
Valery Sizov
195dc3a746
add sorting of awards
2015-12-25 14:11:19 +02:00
Valery Sizov
efe98067da
emoji picker search
2015-12-23 13:08:47 +02:00
Valery Sizov
bfe905b3ae
add some spinach
2015-12-22 23:12:23 +02:00
Valery Sizov
0ae0881250
fix specs
2015-12-22 23:12:23 +02:00
Grzegorz Bizon and Grzegorz Bizon
9470d05c70
Add spinach test for note polling
...
This also increases capybara timeout to 15 seconds (note polling
interval). Capybara will look for new note for this period of time.
2015-12-15 14:19:35 +01:00
Robert Speicher
e48391b813
Add custom ColorValidator
2015-12-07 16:57:26 -05:00
Grzegorz Bizon
359d94607c
Merge branch 'fix/award-emoji-conflict-in-notes' into 'master'
...
Fix problems with award-emoji-only comment
This fixes a conflict between note with only a single emoji in content
and award-emojis mechanisms.
Closes #3734
cc @vsizov
See merge request !1936
2015-12-07 12:26:56 +00:00
Dmitriy Zaporozhets
238ca3e472
Merge remote-tracking branch 'origin/ui/issuable-form'
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-12-04 15:12:03 +01:00
Dmitriy Zaporozhets
eb9601d906
Merge branch 'ui/form-consistency' into 'master'
...
UI: Improve form consistency
Depends on !1953
See the commits for more details, the messages mostly speak for themselves.
# Highlights
## Tag form
Before:

After:

See merge request !1955
2015-12-04 09:27:27 +00:00
Douwe Maan
e5c865eebf
Fix specs
2015-12-03 20:01:35 +01:00
Douwe Maan
494ebad39b
Fix spec
2015-12-03 18:56:43 +01:00
Douwe Maan
0cbb7717df
Fix spec
2015-12-03 18:32:29 +01:00
Douwe Maan
90899b3208
Fix specs
2015-12-03 14:54:14 +01:00
Grzegorz Bizon
4676ba1f7c
Add test for award-emoji being added as regular comment
2015-12-03 13:39:00 +01:00
Douwe Maan
0520cd7164
Merge branch 'master' into ui/form-consistency
2015-12-03 13:21:19 +01:00
Douwe Maan
12dd4c7c8a
Use "Delete" in milestone and label delete buttons instead of "Remove"
2015-12-02 14:53:56 +01:00
Douwe Maan
ffabf1df50
Add cancel button to forms that didn't have one already
2015-12-02 14:41:54 +01:00
Valery Sizov
23c5473cc0
added spinach tests
2015-11-19 13:20:09 +02:00
Robert Speicher
c8e53d4467
Revert "Merge pull request #9820 from huacnlee/avoid-render-form-in-notes-list"
...
This reverts commit 63144cd062 , reversing
changes made to 8ab5df9d87 .
2015-11-16 13:08:08 -05:00
Jason Lee
1974087114
Avoid render edit_form in each notes.
...
Use RJS to render edit note feature.
Before:
```
Rendered projects/notes/_note.html.haml (27.9ms)
Rendered projects/_zen.html.haml (0.3ms)
Rendered projects/notes/_hints.html.haml (0.7ms)
Rendered projects/_md_preview.html.haml (3.9ms)
Rendered projects/notes/_edit_form.html.haml (6.9ms)
Rendered projects/notes/_note.html.haml (17.7ms)
Rendered projects/_zen.html.haml (0.3ms)
Rendered projects/notes/_hints.html.haml (0.6ms)
Rendered projects/_md_preview.html.haml (3.4ms)
Rendered projects/notes/_edit_form.html.haml (7.0ms)
```
After:
```
Rendered projects/notes/_note.html.haml (13.8ms)
Rendered projects/notes/_note.html.haml (7.1ms)
Rendered projects/notes/_note.html.haml (9.5ms)
Rendered projects/notes/_note.html.haml (8.5ms)
```
This change reduce at least 6ms * N ('N' - number of notes).
2015-11-12 13:16:35 +08:00
Guilherme Garnier
963e6366be
Fix rubocop warnings in features
2015-10-03 19:59:54 -05:00
Stan Hu
d3d03d1362
Create a "destroyed Milestone" event and keep Milestone events around in the DB
...
for posterity.
Also fix issue where destroying a Milestone would cause odd, transient messages like
"created milestone" or "imported milestone".
Add "in" preposition when creating and destroying milestones
Closes #2382
2015-09-15 05:51:11 -07:00
Stan Hu
df2bb60f90
Add support for destroying project milestones
...
Closes https://github.com/gitlabhq/gitlabhq/issues/1504
2015-07-17 06:54:32 -07:00