Hide welcome to diaspora after all popovers are closed

As a side effect stabilizes signs up cuke
This commit is contained in:
Jonne Haß 2014-08-31 21:29:46 +02:00
parent 34bdcb889a
commit d4a2d5708c
2 changed files with 3 additions and 2 deletions

View file

@ -61,7 +61,9 @@ app.views.PublisherGettingStarted = Backbone.View.extend({
close.click(function() {
if( $('.popover').length==1 ) {
$.get('/getting_started_completed');
$.get('/getting_started_completed', {success: function() {
$("#welcome-to-diaspora, #welcome-to-diaspora~br").remove();
}});
}
el.popover('hide');
return false;

View file

@ -44,7 +44,6 @@ Feature: new user registration
And I have turned off jQuery effects
And I wait for the popovers to appear
And I click close on all the popovers
And I go to the home page
Then I should not see "Welcome to diaspora*"
Scenario: user fills in bogus data - client side validation