Fixed admin calendar sla test (time zone adjustment).
This commit is contained in:
parent
fc9b8de922
commit
cefe250c8f
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ class AdminCalendarSlaTest < TestCase
|
||||||
calendar_name = "ZZZ some calendar #{rand(99_999_999)}"
|
calendar_name = "ZZZ some calendar #{rand(99_999_999)}"
|
||||||
sla_name = "ZZZ some sla #{rand(99_999_999)}"
|
sla_name = "ZZZ some sla #{rand(99_999_999)}"
|
||||||
timezone = 'Europe/Berlin'
|
timezone = 'Europe/Berlin'
|
||||||
timezone_verify = 'Europe/Berlin (GMT+2)'
|
timezone_verify = "Europe/Berlin\s\\(GMT\\+(2|1)\\)"
|
||||||
calendar_create(
|
calendar_create(
|
||||||
data: {
|
data: {
|
||||||
name: calendar_name,
|
name: calendar_name,
|
||||||
|
@ -66,7 +66,7 @@ class AdminCalendarSlaTest < TestCase
|
||||||
)
|
)
|
||||||
watch_for(
|
watch_for(
|
||||||
css: '.content.active .modal input.js-input',
|
css: '.content.active .modal input.js-input',
|
||||||
value: Regexp.quote(timezone_verify),
|
value: timezone_verify,
|
||||||
timeout: 4,
|
timeout: 4,
|
||||||
)
|
)
|
||||||
modal_close()
|
modal_close()
|
||||||
|
|
Loading…
Reference in a new issue