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