Acceptance tests for user
This commit is contained in:
@@ -33,7 +33,9 @@ step "there is another table with an active list of another user" do
|
||||
end
|
||||
|
||||
step "the user scans a QR code of another not occupied table" do
|
||||
page.execute_script %|App.__container__.lookup('controller:select_qrcode').send('selectQr', {_id: "#{@other_table.id}"})|
|
||||
when_ember_is_ready do
|
||||
page.execute_script %|MozoUser.__container__.lookup('route:application').send('selectQr', {_id: "#{@other_table.id}"})|
|
||||
end
|
||||
#page.execute_script "Quser.actions_for_table({table_id: '#{@other_table.id}'})"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user