12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- # encoding: utf-8
- require 'browser_test_helper'
- class CoreTest < TestCase
- def test_core
- tests = [
- {
- :name => 'start',
- :instance => browser_instance,
- :url => browser_url + '/tests-core',
- :action => [
- {
- :execute => 'wait',
- :value => 8,
- },
- {
- :execute => 'match',
- :css => '.result .failed',
- :value => '0',
- :match_result => true,
- },
- ],
- },
- ]
- browser_single_test(tests)
- end
- def test_form
- tests = [
- {
- :name => 'start',
- :instance => browser_instance,
- :url => browser_url + '/tests-form',
- :action => [
- {
- :execute => 'wait',
- :value => 8,
- },
- {
- :execute => 'match',
- :css => '.result .failed',
- :value => '0',
- :match_result => true,
- },
- ],
- },
- ]
- browser_single_test(tests)
- end
- end
|