WebEditor: minor spinach fixes
This commit is contained in:
parent
2a78ae60eb
commit
47d9732a07
|
@ -24,4 +24,4 @@ Feature: Project Browse files
|
|||
Scenario: I can edit file
|
||||
Given I click on "Gemfile" file in repo
|
||||
And I click button "Edit"
|
||||
Then I can edit file
|
||||
Then I can edit code
|
||||
|
|
|
@ -36,7 +36,7 @@ class ProjectBrowseFiles < Spinach::FeatureSteps
|
|||
click_link 'Edit'
|
||||
end
|
||||
|
||||
Given 'I can edit file' do
|
||||
Then 'I can edit code' do
|
||||
page.execute_script('editor.setValue("GitlabFileEditor")')
|
||||
page.evaluate_script('editor.getValue()').should == "GitlabFileEditor"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue