Fixed test selectors.
This commit is contained in:
parent
de4cc84523
commit
f06fd84a36
3 changed files with 4 additions and 4 deletions
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue