Sha256: 9c7598ad2087dbd9aa3b0b7d1cd28b1e820b3cf61309a186c5b0e7fc49f3991c

Contents?: true

Size: 513 Bytes

Versions: 5

Compression:

Stored size: 513 Bytes

Contents

# encoding: utf-8
require 'acceptance_helper'

describe 'On the page /csv_export with enabled CSV export WiceGrid', type: :request, js: true do
  before :each do
    visit '/csv_export'
  end

  it 'allows to export csv' do
    skip "This test should be run with BROWSER=y in environment" unless ENV['BROWSER']
    button = find(:css, 'button.wg-external-csv-export-button')
    button.click
    expect(DownloadHelpers::download_content)
        .to start_with('ID;Title;Priority;Status;Project Name;')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wice_grid-7.1.4 spec/features/csv_export_request_spec.rb
wice_grid-7.1.3 spec/features/csv_export_request_spec.rb
wice_grid-7.1.2 spec/features/csv_export_request_spec.rb
wice_grid-7.1.1 spec/features/csv_export_request_spec.rb
wice_grid-7.1.0 spec/features/csv_export_request_spec.rb