Sha256: 80b332208c844b36f9660b13562f67564e05e3c4f23ff139029c096f3257a530

Contents?: true

Size: 501 Bytes

Versions: 4

Compression:

Stored size: 501 Bytes

Contents

module CapybaraTypo3Browsertesting

  module SharedTestsBackend

    def test_backend
      visit '/typo3'

      within("#typo3-login-form") do
        fill_in 't3-username', :with => CapybaraTypo3Browsertesting.typo3_backend_login
        fill_in 't3-password', :with => CapybaraTypo3Browsertesting.typo3_backend_password
      end
      click_button 't3-login-submit'

      # 7.6
      assert page.has_selector?('#typo3-cms-backend-backend-toolbaritems-livesearchtoolbaritem')
    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capybara_typo3_browsertesting-0.1.5 lib/capybara_typo3_browsertesting/shared_test_backend.rb
capybara_typo3_browsertesting-0.1.4 lib/capybara_typo3_browsertesting/shared_test_backend.rb
capybara_typo3_browsertesting-0.1.3 lib/capybara_typo3_browsertesting/shared_test_backend.rb
capybara_typo3_browsertesting-0.1.2 lib/capybara_typo3_browsertesting/shared_test_backend.rb