End of day commit

This commit is contained in:
2015-08-10 19:39:06 +02:00
parent 3aef45a94e
commit e1b5ffcd06
30 changed files with 108 additions and 97 deletions
@@ -124,7 +124,7 @@ step "the supplier table should have been linked to the first section" do
end
step "the supplier clicks on the table having the new list in the section view" do
page.find(".section-table-#{@table.id}").click
js_click ".section-table-#{@table.id}"
end
step "the supplier table actions of the new list should be visible" do
@@ -3,8 +3,8 @@ step "I provide a new supplier email address" do
end
step "the supplier submits the supplier settings form" do
find('.submit-supplier-settings').click
sleep 1.5 # give application some time
js_click '.submit-supplier-settings'
#sleep 1.5 # give application some time
end
step "the supplier email should not have been changed" do
@@ -4,7 +4,7 @@ step "there is another table" do
end
step "the user should see a popup asking the user if he would like to change table" do
move_table_body = page.evaluate_script "t('move_table.confirmation_body')"
move_table_body = page.evaluate_script "t('move_table.confirmation_body', #{@other_table.attributes.to_json})"
move_table_body.should be_present
page.should have_content move_table_body
end