Marked flanky browser tests for further investigation.

This commit is contained in:
Thorsten Eckel 2018-12-14 18:41:46 +01:00
parent 6dbb6d316a
commit 955608a427
4 changed files with 6 additions and 0 deletions

View file

@ -43,6 +43,7 @@ class AdminRoleTest < TestCase
)
logout()
# flanky
login(
username: email,
password: password,

View file

@ -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)

View file

@ -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

View file

@ -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