Skip to content

Commit

Permalink
EWPP-1790: Add assertion for blockquote with absent image.
Browse files Browse the repository at this point in the history
  • Loading branch information
sergepavle committed Feb 10, 2022
1 parent 3a076a4 commit 1be657a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/src/Kernel/fixtures/rendering.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1919,6 +1919,18 @@
'.ecl-link-block__list .ecl-link-block__item:nth-child(1) .ecl-link': "Link 1"
'.ecl-link-block__list .ecl-link-block__item:nth-child(2) .ecl-link': "Link 2"
'.ecl-link-block__list .ecl-link-block__item:nth-child(3) .ecl-link': "Link 3"
- array:
'#type': pattern
'#id': blockquote
'#fields':
body: "Quote text"
author: "Quote author"
assertions:
count:
'img.ecl-blockquote__image': 0
equals:
'.ecl-blockquote__author': "Quote author"
'.ecl-blockquote__citation': "Quote text"
- array:
'#type': pattern
'#id': blockquote
Expand Down

0 comments on commit 1be657a

Please sign in to comment.