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
6e1afd44
Commit
6e1afd44
authored
Nov 09, 2020
by
Ryan Herbert
Browse files
my account func tests use value for text_fields
parent
061aa0cb
Changes
1
Show whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/tests/functional/test_my_account.rb
View file @
6e1afd44
...
...
@@ -54,12 +54,12 @@ class TestMyAccount < ServerTest
Watir
::
Wait
.
until
(
timeout:
30
)
{
$b
.
execute_script
(
"return jQuery.active"
)
==
0
}
filter
=
$b
.
text_field
(
id:
'db_filter_input'
)
assert
(
filter
.
text
==
'#test1'
)
assert
(
filter
.
value
==
'#test1'
)
assert
(
public_group_info
.
span
(
class:
'patient_num_sets'
).
text
!=
num_patients
)
filter
.
set
(
'#test2'
)
Watir
::
Wait
.
until
(
timeout:
30
)
{
$b
.
execute_script
(
"return jQuery.active"
)
==
0
}
assert
(
filter
.
text
==
'#test2'
)
assert
(
filter
.
value
==
'#test2'
)
assert
(
public_group_info
.
span
(
class:
'patient_num_sets'
).
text
!=
num_patients
)
assert
(
test1_tag
.
present?
==
false
)
...
...
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