Commit eb0590b063fa4ac2fa24e884b76747838e6a631c
1 parent
e36baadd
Exists in
master
and in
4 other branches
FIx wiki tests. Fixed margin for issues page
Showing
3 changed files
with
14 additions
and
3 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
... | ... | @@ -24,10 +24,17 @@ |
24 | 24 | @include linear-gradient(#fAfAfA, #f1f1f1); |
25 | 25 | } |
26 | 26 | |
27 | + &.focus, | |
28 | + &:focus { | |
29 | + text-decoration: none; | |
30 | + @include box-shadow(inset 0 2px 4px rgba(0,0,0,.15)); | |
31 | + } | |
32 | + | |
27 | 33 | &.active, |
28 | 34 | &:active { |
29 | 35 | background-image: none; |
30 | 36 | outline: 0; |
37 | + text-decoration: none; | |
31 | 38 | @include box-shadow(inset 0 2px 4px rgba(0,0,0,.15)); |
32 | 39 | } |
33 | 40 | ... | ... |
app/assets/stylesheets/sections/issues.scss
... | ... | @@ -44,7 +44,7 @@ input.check_all_issues { |
44 | 44 | margin: 0; |
45 | 45 | margin-right: 10px; |
46 | 46 | position: relative; |
47 | - top: 8px; | |
47 | + top: 10px; | |
48 | 48 | height: 22px; |
49 | 49 | } |
50 | 50 | |
... | ... | @@ -52,6 +52,10 @@ input.check_all_issues { |
52 | 52 | .title { |
53 | 53 | height: 40px; |
54 | 54 | } |
55 | + | |
56 | + form { | |
57 | + margin: 0; | |
58 | + } | |
55 | 59 | } |
56 | 60 | |
57 | 61 | .btn.close_issue { | ... | ... |
features/steps/project/project_wiki.rb
... | ... | @@ -17,7 +17,7 @@ class ProjectWiki < Spinach::FeatureSteps |
17 | 17 | |
18 | 18 | Given 'I create the Wiki Home page' do |
19 | 19 | fill_in "Content", with: '[link test](test)' |
20 | - click_on "Save" | |
20 | + click_on "Create page" | |
21 | 21 | end |
22 | 22 | |
23 | 23 | Then 'I should see the newly created wiki page' do |
... | ... | @@ -43,7 +43,7 @@ class ProjectWiki < Spinach::FeatureSteps |
43 | 43 | |
44 | 44 | And 'I change the content' do |
45 | 45 | fill_in "Content", with: 'Updated Wiki Content' |
46 | - click_on "Save" | |
46 | + click_on "Save changes" | |
47 | 47 | end |
48 | 48 | |
49 | 49 | Then 'I should see the updated content' do | ... | ... |