Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
f92bc6e0
Commit
f92bc6e0
authored
Sep 19, 2015
by
kytv
Browse files
Wait for (and focus if necessary) Certificate windows
Will-fix:
#10222
parent
f9e525f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
features/step_definitions/pidgin.rb
View file @
f92bc6e0
...
...
@@ -416,18 +416,19 @@ end
Then
/^I can add a certificate from the "([^"]+)" directory to Pidgin$/
do
|
cert_dir
|
next
if
@skip_steps_while_restoring_background
pidgin_add_certificate_from
(
"
#{
cert_dir
}
/test.crt"
)
@screen
.
wait
(
'PidginCertificateAddHostnameDialog.png'
,
10
)
wait_and_focus
(
'PidginCertificateAddHostnameDialog.png'
,
10
,
'Certificate Import'
)
@screen
.
type
(
"XXX test XXX"
+
Sikuli
::
Key
.
ENTER
)
@screen
.
wait
(
'PidginCertificateTestItem.png'
,
10
)
wait_and_focus
(
'PidginCertificateTestItem.png'
,
10
,
'Certificate Manager'
)
end
Then
/^I cannot add a certificate from the "([^"]+)" directory to Pidgin$/
do
|
cert_dir
|
next
if
@skip_steps_while_restoring_background
pidgin_add_certificate_from
(
"
#{
cert_dir
}
/test.crt"
)
@screen
.
wait
(
'PidginCertificateImportFailed.png'
,
10
)
wait_and_focus
(
'PidginCertificateImportFailed.png'
,
10
,
'Import Error'
)
end
When
/^I close Pidgin's certificate manager$/
do
wait_and_focus
(
'PidginCertificateManagerDialog.png'
,
10
,
'Certificate Manager'
)
@screen
.
type
(
Sikuli
::
Key
.
ESC
)
# @screen.wait_and_click('PidginCertificateManagerClose.png', 10)
@screen
.
waitVanish
(
'PidginCertificateManagerDialog.png'
,
10
)
...
...
kytv
@kytv
mentioned in issue
#10222 (closed)
·
May 14, 2020
mentioned in issue
#10222 (closed)
mentioned in issue #10222
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment