From 4944bfa809c8fb24bf16e87b9c86688908eed971 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 29 Sep 2015 08:24:51 +0200 Subject: [PATCH] Fixed browser test. --- .../browser/agent_ticket_overview_level0_test.rb | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/test/browser/agent_ticket_overview_level0_test.rb b/test/browser/agent_ticket_overview_level0_test.rb index 4120eaeda..bcde985ba 100644 --- a/test/browser/agent_ticket_overview_level0_test.rb +++ b/test/browser/agent_ticket_overview_level0_test.rb @@ -104,11 +104,15 @@ class AgentTicketOverviewLevel0Test < TestCase # check if number and article count is shown match( - css: '.active table th:nth-child(7)', + css: '.active table th:nth-child(3)', value: '#', ) match( css: '.active table th:nth-child(4)', + value: 'Title', + ) + match( + css: '.active table th:nth-child(7)', value: 'Article#', ) @@ -118,11 +122,15 @@ class AgentTicketOverviewLevel0Test < TestCase # check if number and article count is shown match( - css: '.active table th:nth-child(7)', + css: '.active table th:nth-child(3)', value: '#', ) match( css: '.active table th:nth-child(4)', + value: 'Title', + ) + match( + css: '.active table th:nth-child(7)', value: 'Article#', ) @@ -147,6 +155,10 @@ class AgentTicketOverviewLevel0Test < TestCase css: '.active table th:nth-child(3)', value: '#', ) + match( + css: '.active table th:nth-child(3)', + value: 'Title', + ) exists_not( css: '.active table th:nth-child(8)', )