mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-26 19:26:46 -06:00
Integration: #1073 the Effects dialog test reads the shadow distance with four inch decimals
This commit is contained in:
@@ -699,7 +699,7 @@ mod tests {
|
||||
] {
|
||||
assert!(texts.iter().any(|x| x.trim() == t), "{t}: {texts:?}");
|
||||
}
|
||||
assert!(texts.iter().any(|x| x.contains("0.097 in")), "distance in inches: {texts:?}");
|
||||
assert!(texts.iter().any(|x| x.contains("0.0972 in")), "distance in inches: {texts:?}");
|
||||
// Preview: the shadow is on the page while the dialog is open, without an undo step.
|
||||
frame(&mut app, &ctx);
|
||||
assert!(fx(&app).inner_shadow.on);
|
||||
|
||||
Reference in New Issue
Block a user