Stabilize tests: Unstable tests require recurring examination.
This commit is contained in:
parent
eb559755eb
commit
f0caad9725
5 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,7 @@ class AdminChannelEmailTest < TestCase
|
|||
|
||||
click(css: '.content.active .js-channelDelete')
|
||||
sleep 2
|
||||
# flanky
|
||||
click(css: '.modal .js-submit')
|
||||
sleep 2
|
||||
end
|
||||
|
|
|
@ -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"]')
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -203,6 +203,7 @@ class KeyboardShortcutsTest < TestCase
|
|||
)
|
||||
sleep 5
|
||||
shortcut(key: 'a')
|
||||
# flanky
|
||||
watch_for(
|
||||
css: '.js-notificationsContainer',
|
||||
value: 'Test Ticket for Shortcuts II',
|
||||
|
|
Loading…
Reference in a new issue