Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
a643f4c7
Commit
a643f4c7
authored
Mar 05, 2015
by
Mathieu Giraud
Browse files
tests watir: test_12_tag, .wait_{until|while}_present
We should wait.
parent
bef81796
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/test/test_browser.rb
View file @
a643f4c7
...
...
@@ -285,12 +285,12 @@ class Browser < MiniTest::Test
def
test_12_tag
begin
$b
.
clone_info
(
'25'
)[
:star
].
click
$b
.
tag_item
(
'0'
)[
:name
].
click
$b
.
unselect
name
=
$b
.
tag_item
(
'0'
)[
:name
]
name
.
wait_until_present
name
.
click
name
.
wait_while_present
assert
(
$b
.
clone_info
(
'25'
)[
:name
].
style
(
'color'
)
==
'rgba(220, 50, 47, 1)'
)
,
">> fail tag : clone color hasn't changed"
rescue
assert
(
false
),
"missing element to run test_12_tag
\n
"
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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