Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
diaspora
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gigadoc 2
diaspora
Commits
8a9ce0d6
Unverified
Commit
8a9ce0d6
authored
Aug 11, 2016
by
Steffen van Bergerem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable transitions in poltergeist
parent
11ecbbe2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
8 deletions
+23
-8
app/assets/stylesheets/poltergeist_disable_transition.scss
app/assets/stylesheets/poltergeist_disable_transition.scss
+9
-0
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
+3
-0
app/views/layouts/application.mobile.haml
app/views/layouts/application.mobile.haml
+3
-0
features/mobile/drawer.feature
features/mobile/drawer.feature
+6
-6
features/support/env.rb
features/support/env.rb
+2
-2
No files found.
app/assets/stylesheets/poltergeist_disable_transition.scss
0 → 100644
View file @
8a9ce0d6
// Overrides used for poltergeist tests
// scss-lint:disable all
*
{
-moz-transition
:
none
!
important
;
-o-transition
:
none
!
important
;
-webkit-transition
:
none
!
important
;
transition
:
none
!
important
;
}
// scss-lint:enable all
app/views/layouts/application.html.haml
View file @
8a9ce0d6
...
...
@@ -26,6 +26,9 @@
-
if
rtl?
=
stylesheet_link_tag
:rtl
,
media:
'all'
-
if
Rails
.
env
.
test?
=
stylesheet_link_tag
:poltergeist_disable_transition
,
media:
"all"
=
old_browser_js_support
<!--[if IE]>
=
javascript_include_tag
:ie
...
...
app/views/layouts/application.mobile.haml
View file @
8a9ce0d6
...
...
@@ -46,6 +46,9 @@
-
if
rtl?
=
stylesheet_link_tag
:rtl
,
:media
=>
'all'
-
if
Rails
.
env
.
test?
=
stylesheet_link_tag
:poltergeist_disable_transition
,
media:
"all"
=
yield
(
:head
)
=
include_gon
(
:camel_case
=>
true
)
...
...
features/mobile/drawer.feature
View file @
8a9ce0d6
...
...
@@ -30,15 +30,15 @@ Feature: Navigate between pages using the header menu and the drawer
Then
I should be on the new status message page
Scenario
:
search a user
When
I
have turned off jQuery effects
And
I open the drawer
And
I search for
"Bob"
When
I
open the drawer
Then
I should see a
"#q"
within
"#drawer"
When
I search for
"Bob"
Then
I should see
"Users matching Bob"
within
"#search_title"
Scenario
:
search for a tag
When
I
have turned off jQuery effects
And
I open the drawer
And
I search for
"#bob"
When
I
open the drawer
Then
I should see a
"#q"
within
"#drawer"
When
I search for
"#bob"
Then
I should be on the tag page for
"bob"
Scenario
:
navigate to my activity page
...
...
features/support/env.rb
View file @
8a9ce0d6
...
...
@@ -36,10 +36,10 @@ Capybara.javascript_driver = :poltergeist
Capybara
.
default_selector
=
:css
# We have a ridiculously high wait time to account for build machines of various beefiness.
#
Capybara.default_max_wait_time = 30
Capybara
.
default_max_wait_time
=
30
# While there are a lot of failures, wait less, avoiding travis timeout
Capybara
.
default_max_wait_time
=
15
#
Capybara.default_max_wait_time = 15
# If you set this to false, any error raised from within your app will bubble
# up to your step definition and out to cucumber unless you catch it somewhere
...
...
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