mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 905591 - Load URLs in PixelTest without requiring input injection (r=gbrown)
This commit is contained in:
parent
776de3bdb7
commit
0a8736dac7
@ -8,7 +8,7 @@ abstract class PixelTest extends BaseTest {
|
||||
|
||||
protected final PaintedSurface loadAndGetPainted(String url) {
|
||||
Actions.RepeatedEventExpecter paintExpecter = mActions.expectPaint();
|
||||
inputAndLoadUrl(url);
|
||||
loadUrl(url);
|
||||
paintExpecter.blockUntilClear(PAINT_CLEAR_DELAY);
|
||||
paintExpecter.unregisterListener();
|
||||
PaintedSurface p = mDriver.getPaintedSurface();
|
||||
|
@ -22,8 +22,11 @@ public class testTabHistory extends PixelTest {
|
||||
|
||||
// Create tab history
|
||||
loadAndPaint(url);
|
||||
verifyPageTitle("Browser Blank Page 01");
|
||||
loadAndPaint(url2);
|
||||
verifyPageTitle("Browser Blank Page 02");
|
||||
loadAndPaint(url3);
|
||||
verifyPageTitle("Browser Blank Page 03");
|
||||
|
||||
// Get the device information and create the navigation for it
|
||||
Navigation nav = new Navigation(mDevice);
|
||||
|
Loading…
Reference in New Issue
Block a user