Fixed browser test (new wording) and code cleanup.
This commit is contained in:
parent
f0ff543bfb
commit
c944c9999a
2 changed files with 11 additions and 11 deletions
|
@ -10,10 +10,10 @@ class AACBasicRichtextTest < TestCase
|
||||||
url: browser_url,
|
url: browser_url,
|
||||||
)
|
)
|
||||||
|
|
||||||
click( css: 'a[href="#current_user"]' )
|
click(css: 'a[href="#current_user"]')
|
||||||
click( css: 'a[href="#layout_ref"]' )
|
click(css: 'a[href="#layout_ref"]')
|
||||||
click( css: 'a[href="#layout_ref/richtext"]' )
|
click(css: 'a[href="#layout_ref/richtext"]')
|
||||||
click( css: 'a[href="#current_user"]' )
|
click(css: 'a[href="#current_user"]')
|
||||||
|
|
||||||
# richtext single line
|
# richtext single line
|
||||||
set(
|
set(
|
||||||
|
@ -22,8 +22,8 @@ class AACBasicRichtextTest < TestCase
|
||||||
slow: true,
|
slow: true,
|
||||||
)
|
)
|
||||||
sleep 1
|
sleep 1
|
||||||
sendkey( value: :enter )
|
sendkey(value: :enter)
|
||||||
sendkey( value: 'and some other for browser' )
|
sendkey(value: 'and some other for browser')
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
match(
|
match(
|
||||||
|
@ -38,8 +38,8 @@ class AACBasicRichtextTest < TestCase
|
||||||
slow: true,
|
slow: true,
|
||||||
)
|
)
|
||||||
sleep 1
|
sleep 1
|
||||||
sendkey( value: :enter )
|
sendkey(value: :enter)
|
||||||
sendkey( value: 'and some other for browser' )
|
sendkey(value: 'and some other for browser')
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
match(
|
match(
|
||||||
|
@ -55,8 +55,8 @@ class AACBasicRichtextTest < TestCase
|
||||||
slow: true,
|
slow: true,
|
||||||
)
|
)
|
||||||
sleep 1
|
sleep 1
|
||||||
sendkey( value: :enter )
|
sendkey(value: :enter)
|
||||||
sendkey( value: 'and some other for browser2' )
|
sendkey(value: 'and some other for browser2')
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
match(
|
match(
|
||||||
|
|
|
@ -79,7 +79,7 @@ class SignupPasswordChangeAndResetTest < TestCase
|
||||||
)
|
)
|
||||||
watch_for(
|
watch_for(
|
||||||
css: '#content',
|
css: '#content',
|
||||||
value: 'Your email is verified',
|
value: 'Your email address has been verified',
|
||||||
)
|
)
|
||||||
exists_not(
|
exists_not(
|
||||||
css: '.modal',
|
css: '.modal',
|
||||||
|
|
Loading…
Reference in a new issue