From f0caad9725e54617819ac0c913dc493911679ade Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Sat, 12 Jan 2019 12:19:00 +0100 Subject: [PATCH] Stabilize tests: Unstable tests require recurring examination. --- test/browser/admin_channel_email_test.rb | 1 + test/browser/agent_ticket_auto_assignment_test.rb | 1 + test/browser/integration_cti_test.rb | 1 + test/browser/integration_sipgate_test.rb | 1 + test/browser/keyboard_shortcuts_test.rb | 1 + 5 files changed, 5 insertions(+) diff --git a/test/browser/admin_channel_email_test.rb b/test/browser/admin_channel_email_test.rb index a153b663d..89bf13ad6 100644 --- a/test/browser/admin_channel_email_test.rb +++ b/test/browser/admin_channel_email_test.rb @@ -72,6 +72,7 @@ class AdminChannelEmailTest < TestCase click(css: '.content.active .js-channelDelete') sleep 2 + # flanky click(css: '.modal .js-submit') sleep 2 end diff --git a/test/browser/agent_ticket_auto_assignment_test.rb b/test/browser/agent_ticket_auto_assignment_test.rb index 693b0887b..56ae1e49d 100644 --- a/test/browser/agent_ticket_auto_assignment_test.rb +++ b/test/browser/agent_ticket_auto_assignment_test.rb @@ -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"]') diff --git a/test/browser/integration_cti_test.rb b/test/browser/integration_cti_test.rb index 67f26a584..6ce8ae43f 100644 --- a/test/browser/integration_cti_test.rb +++ b/test/browser/integration_cti_test.rb @@ -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, diff --git a/test/browser/integration_sipgate_test.rb b/test/browser/integration_sipgate_test.rb index 3c776d403..7951f352c 100644 --- a/test/browser/integration_sipgate_test.rb +++ b/test/browser/integration_sipgate_test.rb @@ -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, diff --git a/test/browser/keyboard_shortcuts_test.rb b/test/browser/keyboard_shortcuts_test.rb index 21cac9db9..1a1088338 100644 --- a/test/browser/keyboard_shortcuts_test.rb +++ b/test/browser/keyboard_shortcuts_test.rb @@ -203,6 +203,7 @@ class KeyboardShortcutsTest < TestCase ) sleep 5 shortcut(key: 'a') + # flanky watch_for( css: '.js-notificationsContainer', value: 'Test Ticket for Shortcuts II',