Skip to content

Commit

Permalink
OEL-757: Add assertions at listing test for mw-listing.img class.
Browse files Browse the repository at this point in the history
  • Loading branch information
abel-santos-corral committed Nov 22, 2021
1 parent e1cd02c commit 414997c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/src/Kernel/fixtures/markup_rendering_patterns/listing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ listing_default_1_col:
'span.mb-2': 8
'h5.card-title': 4
'a.text-underline-hover': 4
'a.d-inline-block': 1
'.mw-listing-img': 3
equals:
'a[href="/example1"]': "Card title 1"
'a[href="/example2"]': "Card title 2"
Expand Down Expand Up @@ -207,6 +209,8 @@ listing_default_2_col:
'span.mb-2': 12
'h5.card-title': 6
'a.text-underline-hover': 6
'a.d-inline-block': 1
'.mw-listing-img': 5
equals:
'a[href="/example1"]': "Card title 1"
'a[href="/example2"]': "Card title 2"
Expand Down Expand Up @@ -327,6 +331,8 @@ listing_default_3_col:
'h5.card-title': 6
'h4.fw-bold.mb-4': 1
'a.text-underline-hover': 6
'a.d-inline-block': 1
'.mw-listing-img': 5
equals:
'a[href="/example1"]': "Card title 1"
'a[href="/example2"]': "Card title 2"
Expand Down Expand Up @@ -792,6 +798,7 @@ listing_default_3_col_tag:
'h5.card-title': 6
'h1.fw-bold.mb-4': 1
'a.text-underline-hover': 6
'.mw-listing-img': 5
equals:
'a[href="/example1"]': "Card title 1"
'a[href="/example2"]': "Card title 2"
Expand Down Expand Up @@ -914,6 +921,7 @@ listing_default_3_col_alignment_start:
'h4.fw-bold.mb-4': 1
'div.align-self-start': 12
'a.text-underline-hover': 6
'.mw-listing-img': 5
equals:
'a[href="/example1"]': "Card title 1"
'a[href="/example2"]': "Card title 2"
Expand Down Expand Up @@ -1036,6 +1044,7 @@ listing_default_3_col_alignment_end:
'h4.fw-bold.mb-4': 1
'div.align-self-end': 12
'a.text-underline-hover': 6
'.mw-listing-img': 5
equals:
'a[href="/example1"]': "Card title 1"
'a[href="/example2"]': "Card title 2"
Expand Down Expand Up @@ -1158,6 +1167,7 @@ listing_default_3_col_alignment_center:
'h4.fw-bold.mb-4': 1
'div.align-self-center': 12
'a.text-underline-hover': 6
'.mw-listing-img': 5
equals:
'a[href="/example1"]': "Card title 1"
'a[href="/example2"]': "Card title 2"
Expand Down Expand Up @@ -1280,6 +1290,7 @@ listing_default_3_col_alignment_baseline:
'h4.fw-bold.mb-4': 1
'div.align-self-baseline': 12
'a.text-underline-hover': 6
'.mw-listing-img': 5
equals:
'a[href="/example1"]': "Card title 1"
'a[href="/example2"]': "Card title 2"
Expand Down Expand Up @@ -1402,6 +1413,7 @@ listing_default_3_col_alignment_stretch:
'h4.fw-bold.mb-4': 1
'div.align-self-stretch': 12
'a.text-underline-hover': 6
'.mw-listing-img': 5
equals:
'a[href="/example1"]': "Card title 1"
'a[href="/example2"]': "Card title 2"
Expand Down

0 comments on commit 414997c

Please sign in to comment.