mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Fix build
This commit is contained in:
@@ -4,6 +4,7 @@ describe('front page', function() {
|
|||||||
beforeEach(function(){
|
beforeEach(function(){
|
||||||
browser.ignoreSynchronization = true;
|
browser.ignoreSynchronization = true;
|
||||||
browser.get('/');
|
browser.get('/');
|
||||||
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('shows the front page', function(){
|
it('shows the front page', function(){
|
||||||
@@ -35,8 +36,8 @@ describe('front page', function() {
|
|||||||
element(by.model('registerVals.confirmPassword')).sendKeys('pass');
|
element(by.model('registerVals.confirmPassword')).sendKeys('pass');
|
||||||
var register = element(by.css("#register-tab input[value='Register']"));
|
var register = element(by.css("#register-tab input[value='Register']"));
|
||||||
register.click();
|
register.click();
|
||||||
|
browser.sleep(1000);
|
||||||
browser.getCurrentUrl().then(function(url){
|
browser.getCurrentUrl().then(function(url){
|
||||||
browser.sleep(1000);
|
|
||||||
expect(url).toMatch(/#\/tasks$/);
|
expect(url).toMatch(/#\/tasks$/);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user