Skip to content
Snippets Groups Projects
Commit 1a2959b4 authored by Douwe Maan's avatar Douwe Maan
Browse files

Merge branch 'disable-css-and-jquery-animations-for-capybara' into 'master'

disable animations for tests

Closes #32194

See merge request !11324

Former-commit-id: 43befaf2
parents c1bfcc97 7750a8fa
No related branches found
No related tags found
No related merge requests found
$.fx.off = true;
* {
-o-transition: none !important;
-moz-transition: none !important;
-ms-transition: none !important;
-webkit-transition: none !important;
transition: none !important;
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
}
Loading
Loading
@@ -27,6 +27,7 @@
 
= stylesheet_link_tag "application", media: "all"
= stylesheet_link_tag "print", media: "print"
= stylesheet_link_tag "test", media: "all" if Rails.env.test?
 
= Gon::Base.render_data
 
Loading
Loading
@@ -34,6 +35,7 @@
= webpack_bundle_tag "common"
= webpack_bundle_tag "main"
= webpack_bundle_tag "raven" if current_application_settings.clientside_sentry_enabled
= webpack_bundle_tag "test" if Rails.env.test?
 
- if content_for?(:page_specific_javascripts)
= yield :page_specific_javascripts
Loading
Loading
Loading
Loading
@@ -106,6 +106,7 @@ module Gitlab
config.assets.precompile << "xterm/xterm.css"
config.assets.precompile << "lib/ace.js"
config.assets.precompile << "vendor/assets/fonts/*"
config.assets.precompile << "test.css"
 
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
Loading
Loading
Loading
Loading
@@ -63,6 +63,7 @@ var config = {
users: './users/users_bundle.js',
raven: './raven/index.js',
vue_merge_request_widget: './vue_merge_request_widget/index.js',
test: './test.js',
},
 
output: {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment