Stabilize tests: Unstable tests require recurring examination.

This commit is contained in:
Thorsten Eckel 2019-01-12 12:19:00 +01:00
parent eb559755eb
commit f0caad9725
5 changed files with 5 additions and 0 deletions

View file

@ -72,6 +72,7 @@ class AdminChannelEmailTest < TestCase
click(css: '.content.active .js-channelDelete')
sleep 2
# flanky
click(css: '.modal .js-submit')
sleep 2
end

View file

@ -113,6 +113,7 @@ class AgentTicketAutoAssignmentTest < TestCase
# define auto assignment exception
click(css: 'a[href="#manage"]')
# flanky
click(css: '.content.active a[href="#settings/ticket"]')
click(css: '.content.active a[href="#auto_assignment"]')
click(css: '.content.active .js-select.js-option[title="master@example.com"]')

View file

@ -50,6 +50,7 @@ class IntegrationCtiTest < TestCase
Net::HTTP.post_form(url, params.merge(event: 'newCall'))
Net::HTTP.post_form(url, params.merge(event: 'hangup'))
# flanky
watch_for(
css: '.js-phoneMenuItem .counter',
value: (call_counter + 1).to_s,

View file

@ -43,6 +43,7 @@ class IntegrationSipgateTest < TestCase
Net::HTTP.post_form(url, params.merge(event: 'newCall'))
Net::HTTP.post_form(url, params.merge(event: 'hangup'))
# flanky
watch_for(
css: '.js-phoneMenuItem .counter',
value: (call_counter + 1).to_s,

View file

@ -203,6 +203,7 @@ class KeyboardShortcutsTest < TestCase
)
sleep 5
shortcut(key: 'a')
# flanky
watch_for(
css: '.js-notificationsContainer',
value: 'Test Ticket for Shortcuts II',