mirror of
https://github.com/reactos/ahk_tests.git
synced 2025-02-17 01:58:08 +00:00
[AHK]
Update the Firefox 3.0.11 test to World changes. Mozilla switched to https, Yahoo changed its tests results page. Patch by Serge Gautherie. ROSTESTS-277 svn path=/trunk/ahk_tests/; revision=2344
This commit is contained in:
parent
5da7e5d48d
commit
35137aba92
@ -38,8 +38,8 @@ else
|
||||
TestsFailed("The attempt to copy text onto the clipboard failed.")
|
||||
else
|
||||
{
|
||||
if clipboard <> http://start.mozilla.org/en-US/
|
||||
TestsFailed("Clipboard content is not the same as expected (is '" clipboard "', should be 'http://start.mozilla.org/en-US/') Can't focus address bar using Alt+D?.")
|
||||
if clipboard <> https://start.mozilla.org/en-US/
|
||||
TestsFailed("Clipboard content is not the same as expected (is '" clipboard "', should be 'https://start.mozilla.org/en-US/') Can't focus address bar using Alt+D?.")
|
||||
else
|
||||
{
|
||||
SendInput, http{:}//dsx86{.}patrickaalto{.}com{ENTER}
|
||||
|
@ -55,13 +55,13 @@ else
|
||||
else
|
||||
{
|
||||
if clipboard <> edijus
|
||||
TestsFailed("Clipboard content is not the same as expected (is '" clipboard "', should be 'edijus') Can't focus serch bar using Ctrl+K?.")
|
||||
TestsFailed("Clipboard content is not the same as expected (is '" clipboard "', should be 'edijus') Can't focus search bar using Ctrl+K?.")
|
||||
else
|
||||
{
|
||||
SendInput, {ENTER}
|
||||
WinWaitActive, edijus - Yahoo! Search Results - Mozilla Firefox,,15 ; Time depends on connection speed
|
||||
WinWaitActive, edijus - Yahoo Search Results - Mozilla Firefox,,15 ; Time depends on connection speed
|
||||
if ErrorLevel
|
||||
TestsFailed("'edijus - Yahoo! Search Results - Mozilla Firefox' window failed to appear, so, search bar do not work. Bug #CORE-6342?")
|
||||
TestsFailed("'edijus - Yahoo Search Results - Mozilla Firefox' window failed to appear, so, search bar does not work. Bug #CORE-6342?")
|
||||
else
|
||||
{
|
||||
Sleep, 5500 ; Let the URL to load, maybe something will fail
|
||||
@ -70,7 +70,7 @@ else
|
||||
if ErrorLevel ; The PID still exists.
|
||||
TestsFailed("Unable to terminate '" ProcessExe "' process.")
|
||||
else
|
||||
TestsOK("'edijus - Yahoo! Search Results - Mozilla Firefox' window appeared, so search bar works, '" ProcessExe "' process closed.")
|
||||
TestsOK("'edijus - Yahoo Search Results - Mozilla Firefox' window appeared, so search bar works, '" ProcessExe "' process closed.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user