Updated test to work with modal alert.

This commit is contained in:
Martin Edenhofer 2015-12-09 16:55:19 +01:00
parent 3a2b3f4393
commit 0e0ce4b6b1

View file

@ -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: {