Closed Bug 1422322 Opened 7 years ago Closed 7 years ago

Autophone - handle geckoview_example https://mozilla.org loads in analyze_logcat

Categories

(Testing Graveyard :: Autophone, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bc, Assigned: bc)

References

Details

Attachments

(2 files)

If geckoview_example is started without providing a url to load, it will by default load mozilla.org. This *may* cause confusion in determining the proper page load stop messages during analyze_logcat.
Attachment #8933661 - Flags: review?(gbrown)
This patch fixes an existing bug in create_profile where the page load stop regular expression was too specific for Fennec and failed to work for geckoview_example. It also handles the cases where the geckoview_example page load messages may be for about:blank or https://mozilla.org/.
Attachment #8933663 - Flags: review?(gbrown)
Attachment #8933661 - Flags: review?(gbrown) → review?(jmaher)
Attachment #8933663 - Flags: review?(gbrown) → review?(jmaher)
Comment on attachment 8933661 [details] [diff] [review] bug-1422322-analyze_logcat-v1.patch Review of attachment 8933661 [details] [diff] [review]: ----------------------------------------------------------------- ::: tests/s1s2test.py @@ -329,3 @@ > re_about_blank_start = re.compile('%s I/GeckoViewActivity.*Starting to load page at about:blank' % > logcat_prefix) > - re_about_blank_stop = re.compile('%s I/GeckoViewActivity.*Stopping page load' % do we need to remove re_about_blank_stop from anywhere? Or was this not used?
Attachment #8933661 - Flags: review?(jmaher) → review+
Comment on attachment 8933663 [details] [diff] [review] bug-1422322-create_profile-v1.patch Review of attachment 8933663 [details] [diff] [review]: ----------------------------------------------------------------- nice
Attachment #8933663 - Flags: review?(jmaher) → review+
(In reply to Joel Maher ( :jmaher) (UTC-5) from comment #3) > Comment on attachment 8933661 [details] [diff] [review] > bug-1422322-analyze_logcat-v1.patch > > Review of attachment 8933661 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: tests/s1s2test.py > @@ -329,3 @@ > > re_about_blank_start = re.compile('%s I/GeckoViewActivity.*Starting to load page at about:blank' % > > logcat_prefix) > > - re_about_blank_stop = re.compile('%s I/GeckoViewActivity.*Stopping page load' % > > do we need to remove re_about_blank_stop from anywhere? Or was this not > used? I changed the test to use the re_throbber_stop_time to detect the zerdatime ... - page load stop instead of the Stopping page load. This will ignore the page load stop for the previous page load start.
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: