Fixed personal token tests.

This commit is contained in:
Martin Edenhofer 2016-08-16 10:17:40 +02:00
parent 731c237d0c
commit 730c900ee5

View file

@ -410,6 +410,7 @@ class PreferencesTest < TestCase
css: '#content .js-create .js-input', css: '#content .js-create .js-input',
value: 'Some App#1', value: 'Some App#1',
) )
click(css: '#content input[value="ticket.agent"] ~ .label-text')
click(css: '#content .js-create .js-submit') click(css: '#content .js-create .js-submit')
watch_for( watch_for(
css: '.modal .modal-title', css: '.modal .modal-title',
@ -425,6 +426,7 @@ class PreferencesTest < TestCase
css: '#content .js-create .js-input', css: '#content .js-create .js-input',
value: 'Some App#2', value: 'Some App#2',
) )
click(css: '#content input[value="ticket.agent"] ~ .label-text')
click(css: '#content .js-create .js-submit') click(css: '#content .js-create .js-submit')
watch_for( watch_for(
css: '.modal .modal-title', css: '.modal .modal-title',