Ensure PRD sites render through app sidecar
This commit is contained in:
@@ -8,7 +8,7 @@ mod support;
|
||||
use support::*;
|
||||
|
||||
#[test]
|
||||
fn sidecar_snapshots_prd_sites_to_rgba_files() -> Result<(), Box<dyn Error>> {
|
||||
fn sidecar_opens_and_renders_prd_sites_to_rgba_files() -> Result<(), Box<dyn Error>> {
|
||||
for case in PRD_SITE_COMPATIBILITY_CASES {
|
||||
for size in PRD_SITE_COMPATIBILITY_SIZES {
|
||||
snapshot_prd_site(case, *size, ScrollOffset::ZERO)?;
|
||||
@@ -19,7 +19,7 @@ fn sidecar_snapshots_prd_sites_to_rgba_files() -> Result<(), Box<dyn Error>> {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sidecar_snapshots_prd_reference_sites_to_rgba_files() -> Result<(), Box<dyn Error>> {
|
||||
fn sidecar_opens_and_renders_prd_reference_sites_to_rgba_files() -> Result<(), Box<dyn Error>> {
|
||||
for case in PRD_REFERENCE_SITE_COMPATIBILITY_CASES {
|
||||
snapshot_prd_site(case, PRD_REFERENCE_SITE_SIZE, ScrollOffset::ZERO)?;
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ const SIDECAR_COMMAND_COOLDOWN: Duration = Duration::from_millis(750);
|
||||
const SIDECAR_RETRY_INTERVAL: Duration = Duration::from_millis(250);
|
||||
static SIDECAR_COMMAND_LOCK: Mutex<()> = Mutex::new(());
|
||||
pub(super) const PRD_SITE_COMPATIBILITY_CASES: &[PrdSiteCompatibilityCase] = &[
|
||||
PrdSiteCompatibilityCase { url: "https://github.com", title_fragment: "GitHub" },
|
||||
PrdSiteCompatibilityCase { url: "https://example.com", title_fragment: "Example Domain" },
|
||||
PrdSiteCompatibilityCase { url: "https://servo.org/", title_fragment: "Servo" },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user