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
|
# finally create ticket
|
||||||
click( css: '.content.active button.js-submit' )
|
click( css: '.content.active .js-submit' )
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
location_check(
|
location_check(
|
||||||
|
|
|
@ -29,7 +29,7 @@ class AgentTicketActionLevel6Test < TestCase
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
# submit form
|
# submit form
|
||||||
click( css: '.content.active button.js-submit' )
|
click( css: '.content.active .js-submit' )
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
# check warning
|
# check warning
|
||||||
|
@ -42,7 +42,7 @@ class AgentTicketActionLevel6Test < TestCase
|
||||||
@browser.execute_script( "App.TestHelper.attachmentUploadFake('.active .richtext .attachments')" )
|
@browser.execute_script( "App.TestHelper.attachmentUploadFake('.active .richtext .attachments')" )
|
||||||
|
|
||||||
# submit form
|
# submit form
|
||||||
click( css: '.content.active button.js-submit' )
|
click( css: '.content.active .js-submit' )
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
# no warning
|
# no warning
|
||||||
|
|
|
@ -1291,7 +1291,7 @@ wait untill text in selector disabppears
|
||||||
return true
|
return true
|
||||||
end
|
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 {
|
(1..10).each {
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in a new issue