mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
try to prevent failure when fill is too slow
This commit is contained in:
parent
ea187e8675
commit
a191da9f84
1 changed files with 5 additions and 1 deletions
|
@ -24,7 +24,11 @@ describe 'signup' do
|
|||
end
|
||||
|
||||
it 'fails for unwhitelisted tag' do
|
||||
fill_in_valid
|
||||
@site = Fabricate.attributes_for(:site)
|
||||
@class_tag = "mrteacher" # SecureRandom.uuid.gsub('-', '')[0..Tag::NAME_LENGTH_MAX-1]
|
||||
fill_in 'username', with: @site[:username]
|
||||
fill_in 'password', with: @site[:password]
|
||||
fill_in 'email', with: @site[:email]
|
||||
fill_in 'new_tags_string', with: 'nope'
|
||||
click_button 'Create My Site'
|
||||
page.wont_have_content /Let's Get Started/
|
||||
|
|
Loading…
Add table
Reference in a new issue