Commit 13c0a8c2ef6a59b517738ac850aa4526bbc83aca

Authored by Leonardo Merlin
1 parent b035251a

Fix e2e tests

e2e/pages/article.spec.js
@@ -2,13 +2,15 @@ @@ -2,13 +2,15 @@
2 'use strict'; 2 'use strict';
3 3
4 describe('The index page', function () { 4 describe('The index page', function () {
  5 + var page = browser.get('/');
5 6
6 - beforeEach(function () {  
7 - browser.get('/');  
8 - }); 7 + // beforeEach(function () {
  8 + // browser.get('/');
  9 + // });
9 10
10 describe('Common layout', function (){ 11 describe('Common layout', function (){
11 - require('layout')(); 12 + require('./layout.js')();
12 }); 13 });
  14 +
13 }); 15 });
14 })(); 16 })();
e2e/pages/inicio.spec.js
@@ -3,13 +3,14 @@ @@ -3,13 +3,14 @@
3 'use strict'; 3 'use strict';
4 4
5 describe('The index page', function () { 5 describe('The index page', function () {
  6 + var page = browser.get('/');
6 7
7 - beforeEach(function () {  
8 - browser.get('/');  
9 - }); 8 + // beforeEach(function () {
  9 + // browser.get('/');
  10 + // });
10 11
11 describe('Common layout', function (){ 12 describe('Common layout', function (){
12 - require('layout')(); 13 + require('./layout.js')();
13 }); 14 });
14 15
15 describe('Component: Main Video', function(){ 16 describe('Component: Main Video', function(){
e2e/pages/progama.spec.js
@@ -2,14 +2,14 @@ @@ -2,14 +2,14 @@
2 'use strict'; 2 'use strict';
3 3
4 describe('The "Programa" page', function () { 4 describe('The "Programa" page', function () {
  5 + var page = browser.get('/');
5 6
6 - beforeEach(function () {  
7 - browser.get('/');  
8 -  
9 - }); 7 + // beforeEach(function () {
  8 + // browser.get('/');
  9 + // });
10 10
11 describe('Common layout', function (){ 11 describe('Common layout', function (){
12 - require('layout')(); 12 + require('./layout.js')();
13 }); 13 });
14 14
15 describe('Component: article-preview', function (){}); 15 describe('Component: article-preview', function (){});
e2e/pages/sobre.spec.js
@@ -2,13 +2,14 @@ @@ -2,13 +2,14 @@
2 'use strict'; 2 'use strict';
3 3
4 describe('The "Sobre" page', function () { 4 describe('The "Sobre" page', function () {
  5 + var page = browser.get('/');
5 6
6 - beforeEach(function () {  
7 - browser.get('/');  
8 - }); 7 + // beforeEach(function () {
  8 + // browser.get('/');
  9 + // });
9 10
10 describe('Common layout', function (){ 11 describe('Common layout', function (){
11 - require('layout')(); 12 + require('./layout.js')();
12 }); 13 });
13 14
14 describe('Breadcrumb', function(){ 15 describe('Breadcrumb', function(){