Skip to content

@serenity-is/corelib / notifyWarning

Function: notifyWarning()

notifyWarning(message, title?, options?): void

Defined in: src/base/notify.ts:114

Shows a warning toast notification.

Parameters

message

RenderableContent

Main content of the toast.

title?

RenderableContent

Optional title displayed above the message.

options?

ToastrOptions

Per-call toastr overrides merged over defaultNotifyOptions.

Returns

void

Example

notifyWarning("Some fields are missing.", "Warning");