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()
|
||||
# flanky
|
||||
login(
|
||||
username: email,
|
||||
password: password,
|
||||
|
|
|
@ -107,6 +107,8 @@ class AgentTicketOnlineNotificationTest < TestCase
|
|||
value: 'online notification #3',
|
||||
timeout: 6,
|
||||
)
|
||||
|
||||
# flanky
|
||||
watch_for(
|
||||
browser: browser2,
|
||||
css: '.js-notificationsCounter',
|
||||
|
@ -166,6 +168,7 @@ class AgentTicketOnlineNotificationTest < TestCase
|
|||
items = browser2.find_elements(css: '.js-notificationsContainer .js-item')
|
||||
assert_equal(3, items.count)
|
||||
|
||||
# flanky
|
||||
items = browser2.find_elements(css: '.js-notificationsContainer .js-item.is-inactive')
|
||||
assert_equal(3, items.count)
|
||||
|
||||
|
|
|
@ -64,6 +64,7 @@ class AgentTicketOverviewGroupByOrganizationTest < TestCase
|
|||
elements = instance.find_elements(xpath: '//b[contains(text(),"äöüß & Test Organization")]')
|
||||
elements = elements.select { |x| x.text.present? }
|
||||
assert elements
|
||||
# flanky
|
||||
assert_equal 'äöüß & Test Organization', elements.first.text
|
||||
end
|
||||
end
|
||||
|
|
|
@ -185,6 +185,7 @@ class JobTest < ActiveSupport::TestCase
|
|||
end
|
||||
job1.timeplan['minutes'][min.to_s] = true
|
||||
job1.save!
|
||||
# flanky
|
||||
assert(job1.in_timeplan?(time))
|
||||
|
||||
job1.timeplan['hours'][time.hour] = true
|
||||
|
|
Loading…
Reference in a new issue