test: split out tests for security details (#3996)

This adds missing test coverage for security details and
re-generates our self-signed ceritificate to have meaningful
issuer and subject name.
This commit is contained in:
Andrey Lushnikov
2019-02-13 11:35:49 -08:00
committed by GitHub
parent 31ae1d6d15
commit 57e7f12fbc
5 changed files with 110 additions and 103 deletions

View File

@@ -64,7 +64,6 @@ module.exports.addTests = function({testRunner, expect, Errors, CHROME}) {
it_fails_ffox('should navigate to empty page with domcontentloaded', async({page, server}) => {
const response = await page.goto(server.EMPTY_PAGE, {waitUntil: 'domcontentloaded'});
expect(response.status()).toBe(200);
expect(response.securityDetails()).toBe(null);
});
it('should work when page calls history API in beforeunload', async({page, server}) => {
await page.goto(server.EMPTY_PAGE);