Marked flanky browser tests for further investigation.
This commit is contained in:
parent
6dbb6d316a
commit
955608a427
4 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,7 @@ class AdminRoleTest < TestCase
|
||||||
)
|
)
|
||||||
|
|
||||||
logout()
|
logout()
|
||||||
|
# flanky
|
||||||
login(
|
login(
|
||||||
username: email,
|
username: email,
|
||||||
password: password,
|
password: password,
|
||||||
|
|
|
@ -107,6 +107,8 @@ class AgentTicketOnlineNotificationTest < TestCase
|
||||||
value: 'online notification #3',
|
value: 'online notification #3',
|
||||||
timeout: 6,
|
timeout: 6,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# flanky
|
||||||
watch_for(
|
watch_for(
|
||||||
browser: browser2,
|
browser: browser2,
|
||||||
css: '.js-notificationsCounter',
|
css: '.js-notificationsCounter',
|
||||||
|
@ -166,6 +168,7 @@ class AgentTicketOnlineNotificationTest < TestCase
|
||||||
items = browser2.find_elements(css: '.js-notificationsContainer .js-item')
|
items = browser2.find_elements(css: '.js-notificationsContainer .js-item')
|
||||||
assert_equal(3, items.count)
|
assert_equal(3, items.count)
|
||||||
|
|
||||||
|
# flanky
|
||||||
items = browser2.find_elements(css: '.js-notificationsContainer .js-item.is-inactive')
|
items = browser2.find_elements(css: '.js-notificationsContainer .js-item.is-inactive')
|
||||||
assert_equal(3, items.count)
|
assert_equal(3, items.count)
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,7 @@ class AgentTicketOverviewGroupByOrganizationTest < TestCase
|
||||||
elements = instance.find_elements(xpath: '//b[contains(text(),"äöüß & Test Organization")]')
|
elements = instance.find_elements(xpath: '//b[contains(text(),"äöüß & Test Organization")]')
|
||||||
elements = elements.select { |x| x.text.present? }
|
elements = elements.select { |x| x.text.present? }
|
||||||
assert elements
|
assert elements
|
||||||
|
# flanky
|
||||||
assert_equal 'äöüß & Test Organization', elements.first.text
|
assert_equal 'äöüß & Test Organization', elements.first.text
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -185,6 +185,7 @@ class JobTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
job1.timeplan['minutes'][min.to_s] = true
|
job1.timeplan['minutes'][min.to_s] = true
|
||||||
job1.save!
|
job1.save!
|
||||||
|
# flanky
|
||||||
assert(job1.in_timeplan?(time))
|
assert(job1.in_timeplan?(time))
|
||||||
|
|
||||||
job1.timeplan['hours'][time.hour] = true
|
job1.timeplan['hours'][time.hour] = true
|
||||||
|
|
Loading…
Reference in a new issue