Fixed test selectors.

This commit is contained in:
Martin Edenhofer 2015-10-05 17:03:29 +02:00
parent de4cc84523
commit f06fd84a36
3 changed files with 4 additions and 4 deletions

View file

@ -52,7 +52,7 @@ class AgentTicketActionLevel4Test < TestCase
)
# finally create ticket
click( css: '.content.active button.js-submit' )
click( css: '.content.active .js-submit' )
sleep 5
location_check(

View file

@ -29,7 +29,7 @@ class AgentTicketActionLevel6Test < TestCase
sleep 1
# submit form
click( css: '.content.active button.js-submit' )
click( css: '.content.active .js-submit' )
sleep 2
# check warning
@ -42,7 +42,7 @@ class AgentTicketActionLevel6Test < TestCase
@browser.execute_script( "App.TestHelper.attachmentUploadFake('.active .richtext .attachments')" )
# submit form
click( css: '.content.active button.js-submit' )
click( css: '.content.active .js-submit' )
sleep 5
# no warning

View file

@ -1291,7 +1291,7 @@ wait untill text in selector disabppears
return true
end
instance.find_elements( { css: '.content.active button.js-submit' } )[0].click
instance.find_elements( { css: '.content.active .js-submit' } )[0].click
(1..10).each {
begin