Some adjustments.
This commit is contained in:
parent
dfb9a38095
commit
2a19983638
1 changed files with 23 additions and 17 deletions
|
@ -48,6 +48,12 @@ class AgentTicketOverviewLevel1Test < TestCase
|
||||||
)
|
)
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
|
# keep connection alive
|
||||||
|
click(
|
||||||
|
:browser => browser2,
|
||||||
|
:css => '.search-holder',
|
||||||
|
)
|
||||||
|
|
||||||
ticket2 = ticket_create(
|
ticket2 = ticket_create(
|
||||||
:browser => browser1,
|
:browser => browser1,
|
||||||
:data => {
|
:data => {
|
||||||
|
@ -72,30 +78,30 @@ class AgentTicketOverviewLevel1Test < TestCase
|
||||||
# click on #1 on overview
|
# click on #1 on overview
|
||||||
ticket_open_by_overview(
|
ticket_open_by_overview(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:number => ticket1[:number],
|
:number => ticket3[:number],
|
||||||
:link => '#ticket/view/' + name,
|
:link => '#ticket/view/' + name,
|
||||||
)
|
)
|
||||||
|
|
||||||
# use overview navigation to got to #2 & #3
|
# use overview navigation to got to #2 & #3
|
||||||
match(
|
match(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:css => '.active .ticketZoom .overview-navigator .pagination-counter',
|
:css => '.active .ticketZoom .overview-navigator.horizontal .pagination-counter',
|
||||||
:value => '1/3',
|
:value => '1/',
|
||||||
)
|
)
|
||||||
match(
|
match(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:css => '.active .page-header .ticket-number',
|
:css => '.active .page-header .ticket-number',
|
||||||
:value => ticket1[:number],
|
:value => ticket3[:number],
|
||||||
)
|
)
|
||||||
|
|
||||||
click(
|
click(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:css => '.ticketZoom .overview-navigator .next',
|
:css => '.active .ticketZoom .overview-navigator.horizontal .next',
|
||||||
)
|
)
|
||||||
match(
|
match(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:css => '.active .ticketZoom .overview-navigator .pagination-counter',
|
:css => '.active .ticketZoom .overview-navigator.horizontal .pagination-counter',
|
||||||
:value => '2/3',
|
:value => '2/',
|
||||||
)
|
)
|
||||||
match(
|
match(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
|
@ -105,17 +111,17 @@ class AgentTicketOverviewLevel1Test < TestCase
|
||||||
|
|
||||||
click(
|
click(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:css => '.ticketZoom .overview-navigator .next',
|
:css => '.active .ticketZoom .overview-navigator.horizontal .next',
|
||||||
)
|
)
|
||||||
match(
|
match(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:css => '.active .ticketZoom .overview-navigator .pagination-counter',
|
:css => '.active .ticketZoom .overview-navigator.horizontal .pagination-counter',
|
||||||
:value => '3/3',
|
:value => '3/',
|
||||||
)
|
)
|
||||||
match(
|
match(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:css => '.active .page-header .ticket-number',
|
:css => '.active .page-header .ticket-number',
|
||||||
:value => ticket3[:number],
|
:value => ticket1[:number],
|
||||||
)
|
)
|
||||||
|
|
||||||
# close ticket
|
# close ticket
|
||||||
|
@ -129,23 +135,23 @@ class AgentTicketOverviewLevel1Test < TestCase
|
||||||
|
|
||||||
match(
|
match(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:css => '.active .ticketZoom .overview-navigator .pagination-counter',
|
:css => '.active .ticketZoom .overview-navigator.horizontal .pagination-counter',
|
||||||
:value => '3/3',
|
:value => '3/',
|
||||||
)
|
)
|
||||||
match(
|
match(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:css => '.active .page-header .ticket-number',
|
:css => '.active .page-header .ticket-number',
|
||||||
:value => ticket3[:number],
|
:value => ticket1[:number],
|
||||||
)
|
)
|
||||||
click(
|
click(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:css => '.ticketZoom .overview-navigator .previous',
|
:css => '.active .ticketZoom .overview-navigator.horizontal .previous',
|
||||||
)
|
)
|
||||||
|
|
||||||
match(
|
match(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
:css => '.active .ticketZoom .overview-navigator .pagination-counter',
|
:css => '.active .ticketZoom .overview-navigator.horizontal .pagination-counter',
|
||||||
:value => '2/2',
|
:value => '2/',
|
||||||
)
|
)
|
||||||
match(
|
match(
|
||||||
:browser => browser2,
|
:browser => browser2,
|
||||||
|
|
Loading…
Reference in a new issue