Updated test to work with modal alert.
This commit is contained in:
parent
3a2b3f4393
commit
0e0ce4b6b1
|
@ -117,8 +117,14 @@ class AgentTicketActionLevel6Test < TestCase
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
# check warning
|
# check warning
|
||||||
alert = @browser.switch_to.alert
|
match(
|
||||||
alert.dismiss()
|
css: '.active .modal',
|
||||||
|
value: 'missing',
|
||||||
|
)
|
||||||
|
click(
|
||||||
|
css: '.active .modal .js-cancel',
|
||||||
|
)
|
||||||
|
sleep 2
|
||||||
|
|
||||||
ticket_update(
|
ticket_update(
|
||||||
data: {
|
data: {
|
||||||
|
|
Loading…
Reference in a new issue