Fixed browser test.

This commit is contained in:
Martin Edenhofer 2015-09-29 08:24:51 +02:00
parent e190f278fc
commit 4944bfa809

View file

@ -104,11 +104,15 @@ class AgentTicketOverviewLevel0Test < TestCase
# check if number and article count is shown # check if number and article count is shown
match( match(
css: '.active table th:nth-child(7)', css: '.active table th:nth-child(3)',
value: '#', value: '#',
) )
match( match(
css: '.active table th:nth-child(4)', css: '.active table th:nth-child(4)',
value: 'Title',
)
match(
css: '.active table th:nth-child(7)',
value: 'Article#', value: 'Article#',
) )
@ -118,11 +122,15 @@ class AgentTicketOverviewLevel0Test < TestCase
# check if number and article count is shown # check if number and article count is shown
match( match(
css: '.active table th:nth-child(7)', css: '.active table th:nth-child(3)',
value: '#', value: '#',
) )
match( match(
css: '.active table th:nth-child(4)', css: '.active table th:nth-child(4)',
value: 'Title',
)
match(
css: '.active table th:nth-child(7)',
value: 'Article#', value: 'Article#',
) )
@ -147,6 +155,10 @@ class AgentTicketOverviewLevel0Test < TestCase
css: '.active table th:nth-child(3)', css: '.active table th:nth-child(3)',
value: '#', value: '#',
) )
match(
css: '.active table th:nth-child(3)',
value: 'Title',
)
exists_not( exists_not(
css: '.active table th:nth-child(8)', css: '.active table th:nth-child(8)',
) )