diff options
author | dennisjeffrey@chromium.org <dennisjeffrey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-03 01:55:45 +0000 |
---|---|---|
committer | dennisjeffrey@chromium.org <dennisjeffrey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-03 01:55:45 +0000 |
commit | b0cb9c8b745977ed3176f1449c12da92b34db653 (patch) | |
tree | 0c384974dcdae60cd7600c26208b20e7ebae921d /net | |
parent | 77cda95d518fc04fd82408b8f1c8df7aacfaf5fb (diff) | |
download | chromium_src-b0cb9c8b745977ed3176f1449c12da92b34db653.zip chromium_src-b0cb9c8b745977ed3176f1449c12da92b34db653.tar.gz chromium_src-b0cb9c8b745977ed3176f1449c12da92b34db653.tar.bz2 |
Pyauto perf test testNewTabDocs now waits for a different page element.
testNewTabDocs loads Google Docs and then waits until an expected
substring appears on the page before continuing. Previously, the test
waited for a string that only appears when viewing the "my drive" folder,
because it was assumed that we'd always see that folder when opening google
docs.
However, sometimes the "shared with me" folder appears on page load. This
appears to be because google docs opens the last folder opened by the
account. Since we have another perf test that clicks on the "shared with me"
folder, then the current test will sometimes fail to realize the page loaded,
since an unexpected screen is displayed after page load.
The fix is to have this test wait for a different substring on the page,
which appears regardless of which folder shows up when loading google docs.
BUG=None
TEST=Verified the test runs for 10 iterations whereas previously it failed
after only 1 or 2 iterations.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/10832127
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149777 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions