Ignore https errors
This commit is contained in:
@@ -55,7 +55,8 @@ public class TestConfiguration
|
|||||||
Width = Playwright.Viewport.Width,
|
Width = Playwright.Viewport.Width,
|
||||||
Height = Playwright.Viewport.Height
|
Height = Playwright.Viewport.Height
|
||||||
},
|
},
|
||||||
RecordVideoDir = Playwright.EnableVideoRecording ? Path.Combine(Directory.GetCurrentDirectory(), "test-results", "videos") : null
|
RecordVideoDir = Playwright.EnableVideoRecording ? Path.Combine(Directory.GetCurrentDirectory(), "test-results", "videos") : null,
|
||||||
|
IgnoreHTTPSErrors = Playwright.IgnoreHTTPSErrors
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -78,6 +79,7 @@ public class PlaywrightSettings
|
|||||||
public float BrowserTimeout { get; set; } = 30000;
|
public float BrowserTimeout { get; set; } = 30000;
|
||||||
public float ActionTimeout { get; set; } = 10000;
|
public float ActionTimeout { get; set; } = 10000;
|
||||||
public bool EnableVideoRecording { get; set; } = false;
|
public bool EnableVideoRecording { get; set; } = false;
|
||||||
|
public bool IgnoreHTTPSErrors { get; set; } = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ViewportSettings
|
public class ViewportSettings
|
||||||
|
|||||||
@@ -8,7 +8,8 @@
|
|||||||
},
|
},
|
||||||
"BrowserTimeout": 60000,
|
"BrowserTimeout": 60000,
|
||||||
"ActionTimeout": 30000,
|
"ActionTimeout": 30000,
|
||||||
"EnableVideoRecording": true
|
"EnableVideoRecording": true,
|
||||||
|
"IgnoreHTTPSErrors": true
|
||||||
},
|
},
|
||||||
"TestSettings": {
|
"TestSettings": {
|
||||||
"BaseUrl": "https://localhost:7118",
|
"BaseUrl": "https://localhost:7118",
|
||||||
|
|||||||
Reference in New Issue
Block a user