step "the user scans a table QR code" do step 'there is a table' page.execute_script "Quser.actions_for_table({table_id: '#{@table.id}'})" end step 'there is a table' do step 'there is a section' @table ||= create :table, section: @section, supplier: @supplier end