Permalink
Browse files

Move cookie banner out of the way for Protractor

  • Loading branch information...
bkimminich committed Feb 17, 2018
1 parent 812fe1a commit 67638dfa55473c2487ff3e20e677e68b21e8074d
Showing with 6 additions and 3 deletions.
  1. +5 −3 app/index.template.html
  2. +1 −0 karma.conf.js
View
@@ -46,8 +46,6 @@
<script src="node_modules/angular-qrcode/angular-qrcode.js"></script>
<script src="node_modules/cookieconsent/build/cookieconsent.min.js"></script>
<script src="dist/juice-shop.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
@@ -57,10 +55,14 @@
},
"button": {
"background": "#f1d600"
}
},
"position": "bottom-left"
}
})});
</script>
<script src="dist/juice-shop.min.js"></script>
</head>
<body ng-cloak translate-cloak>
View
@@ -25,6 +25,7 @@ module.exports = function (config) {
'app/node_modules/angular-base64/angular-base64.js',
'app/node_modules/qrcode-generator/qrcode.js',
'app/node_modules/angular-qrcode/angular-qrcode.js',
'app/node_modules/cookieconsent/build/cookieconsent.min.js',
'app/js/**/*.js',
'test/client/**/*.js'
],

0 comments on commit 67638df

Please sign in to comment.