toats notifications in the web
This commit is contained in:
@@ -224,6 +224,13 @@ mod tests {
|
||||
body.contains("@layer theme, base, app, components, utilities;"),
|
||||
"{path} lost the cascade order app.css depends on"
|
||||
);
|
||||
// Penguin UI's toast stack, included straight from
|
||||
// penguinui-components. A success anywhere on the page dispatches
|
||||
// `notify` at it, so a page without it swallows the message.
|
||||
assert!(
|
||||
body.contains(r#"x-on:notify.window="addNotification("#),
|
||||
"{path} is missing the toast stack"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user