mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
Fix dashboard test
This commit is contained in:
parent
e91208c2f2
commit
496385438a
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ describe 'dashboard' do
|
||||||
it 'creates a new file' do
|
it 'creates a new file' do
|
||||||
random = SecureRandom.uuid.gsub('-', '')
|
random = SecureRandom.uuid.gsub('-', '')
|
||||||
visit '/dashboard'
|
visit '/dashboard'
|
||||||
click_link 'New Page / File'
|
click_link 'New File'
|
||||||
fill_in 'filename', with: "#{random}.html"
|
fill_in 'filename', with: "#{random}.html"
|
||||||
#click_button 'Create'
|
#click_button 'Create'
|
||||||
all('#createFile button[type=submit]').first.click
|
all('#createFile button[type=submit]').first.click
|
||||||
|
|
Loading…
Add table
Reference in a new issue