blob: 45a6d6d4790085b7ea17ab06fe2000bcfc4be7eb [file] [log] [blame]
/**
* @license
* Copyright 2020 The Go Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
import * as pg from '../helpers/page';
import * as search from '../helpers/search.page';
test('screenshot', async () => {
const page = await pg.newPage();
await pg.fullScreenshotTest(page, {
path: '/search?q=http',
prepare: search.prepare,
});
});
test('no page errors', () => {
expect(pageErrors).toHaveLength(0);
});