Then I should see a "note" admonition

Assert the page shows (or does not show) an admonition of a type: note, tip, info, warning, danger (or caution, the older name of a warning).

Examples

Then I should see a "note" admonition
And I should see a "danger" admonition
But I should not see a "caution" admonition
Then we should see an "info" admonition
And I should see a "warning" admonition

Pattern

Then(/^(I |we )*should( not)* see an? "(note|tip|info|warning|danger|caution)" admonition$/, …)

Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.