Sha256: 3be0027bccb5f9a217efa3a2df9826141de8eeeb5575ff81fff623a17f300b93
Contents?: true
Size: 1.08 KB
Versions: 2
Compression:
Stored size: 1.08 KB
Contents
require "capybara_typo3_browsertesting/version" require "capybara_typo3_browsertesting/init_dependencies" require "capybara_typo3_browsertesting/shared_test_header" require "capybara_typo3_browsertesting/shared_test_google_analytics" require "capybara_typo3_browsertesting/shared_test_backend" module CapybaraTypo3Browsertesting class << self attr_accessor :google_analytics_code attr_accessor :typo3_major_version attr_accessor :typo3_backend_login, :typo3_backend_password attr_accessor :typo3_frontend_login, :typo3_frontend_password def configure yield self end end end module Minitest module TYPO3 class Test < Minitest::Test include Capybara::DSL def initialize(name = nil) print "\nRunning on #{Capybara.app_host} test case: #{name} " @test_name = name super(name) unless name.nil? end def setup end def teardown unless passed? page.save_screenshot "test/tmp/testname-#{@test_name}-#{Time.now.strftime('%Y%m%d-%H%M%S')}.png", full: true end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capybara_typo3_browsertesting-0.1.5 | lib/capybara_typo3_browsertesting.rb |
capybara_typo3_browsertesting-0.1.4 | lib/capybara_typo3_browsertesting.rb |