GNOME Bugzilla – Bug 693655
Add a test for delayed loading of tabs
Last modified: 2018-08-03 19:49:38 UTC
Delayed loading of tabs upon session restore has been implemented, but we still need to figure out how to get it tested, since it relies on the EphyEmbed being mapped, which is something we don't do for tests right now. See https://bugzilla.gnome.org/show_bug.cgi?id=675302
Created attachment 235785 [details] [review] Adds test for delayed loading of tabs Here's what I have currently, we need to figure out whether we want to do this with xvfb or think of a different strategy.
Created attachment 236204 [details] [review] Test using some instrumentation to help out How about something like this? I feel this properly duplicates the behaviour we have now, though we may have to revisit when we move away from tabs. But then again, I guess we will have to rework all of this code for that, anyway.
Created attachment 236261 [details] [review] Test using some instrumentation to help out Oops, uploaded the wrong patch yesterday. doh
Review of attachment 236261 [details] [review]: Going through old patches.... I don't like adding extra code for tests, but this is much better than using Xvfb, so I think it's fine. The patch needs rebased though.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/epiphany/issues/187.