Then I should see "short video" in the "Media Left" accordion panel

Assert the body of the accordion panel with the given label is visible and does (or does not) contain the given phrase. Locates the panel via its header button, then waits on the .accordion-body inside its .accordion-item. Open the panel first with "I open the ... accordion panel".

Examples

Then I should see "short video" in the "Media Left" accordion panel
And I should see "meanest place" in the "Media Right" accordion panel
Then we should see "Lorem ipsum" in the "No Media" accordion panel
Then I should not see "larger version" in the "Media Top" accordion panel
And should see "TYPO3" in the "Media Left" accordion panel

Pattern

Then(/^(I |we )*should( not)* see "([^"]*)?" in the "([^"]*)?" accordion panel$/, …)

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