Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e3770101
Commit
e3770101
authored
May 03, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added find for collapsed sidebar before asserting
parent
185fd98f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
spec/features/issues/issue_sidebar_spec.rb
spec/features/issues/issue_sidebar_spec.rb
+2
-0
No files found.
spec/features/issues/issue_sidebar_spec.rb
View file @
e3770101
...
@@ -55,10 +55,12 @@ feature 'Issue Sidebar', feature: true do
...
@@ -55,10 +55,12 @@ feature 'Issue Sidebar', feature: true do
# Resize the window
# Resize the window
resize_screen_sm
resize_screen_sm
# Make sure the sidebar is collapsed
# Make sure the sidebar is collapsed
find
(
sidebar_selector
)
expect
(
page
).
to
have_css
(
sidebar_selector
)
expect
(
page
).
to
have_css
(
sidebar_selector
)
# Once is collapsed let's open the sidebard and reload
# Once is collapsed let's open the sidebard and reload
open_issue_sidebar
open_issue_sidebar
refresh
refresh
find
(
sidebar_selector
)
expect
(
page
).
to
have_css
(
sidebar_selector
)
expect
(
page
).
to
have_css
(
sidebar_selector
)
# Restore the window size as it was including the sidebar
# Restore the window size as it was including the sidebar
restore_window_size
restore_window_size
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment