Skip to content

Commit

Permalink
D8CORE-7213 Added acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Feb 16, 2024
1 parent ee88f9c commit 3851112
Show file tree
Hide file tree
Showing 8 changed files with 145 additions and 125 deletions.
171 changes: 88 additions & 83 deletions config/sync/views.view.stanford_events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1235,49 +1235,49 @@ display:
group_type: group
admin_label: ''
label: ''
exclude: false
exclude: 1
alter:
alter_text: false
alter_text: 0
text: ''
make_link: false
make_link: 0
path: ''
absolute: false
absolute: 0
external: false
replace_spaces: false
replace_spaces: 0
path_case: none
trim_whitespace: false
trim_whitespace: 0
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
nl2br: 0
max_length: '0'
word_boundary: 1
ellipsis: 1
more_link: 0
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
strip_tags: 0
trim: 0
preserve_tags: ''
html: false
html: 0
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: false
element_default_classes: 1
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
hide_empty: 0
empty_zero: 0
hide_alter_empty: 1
text: view
output_url_as_text: true
absolute: false
output_url_as_text: 1
absolute: 0
entity_type: node
plugin_id: entity_link
su_event_source:
Expand All @@ -1288,54 +1288,54 @@ display:
group_type: group
admin_label: ''
label: ''
exclude: false
exclude: 0
alter:
alter_text: false
alter_text: 0
text: ''
make_link: false
make_link: 0
path: ''
absolute: false
external: false
replace_spaces: false
absolute: 0
external: 0
replace_spaces: 0
path_case: none
trim_whitespace: false
trim_whitespace: 0
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
nl2br: 0
max_length: '0'
word_boundary: 1
ellipsis: 1
more_link: 0
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
strip_tags: 0
trim: 0
preserve_tags: ''
html: false
html: 0
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: false
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
element_default_classes: 1
empty: '{{ view_node }}'
hide_empty: 0
empty_zero: 0
hide_alter_empty: 1
click_sort_column: uri
type: link
settings:
trim_length: null
url_only: true
url_plain: true
rel: '0'
target: '0'
trim_length: '80'
url_only: 1
url_plain: 1
rel: 0
target: 0
group_column: ''
group_columns: { }
group_rows: true
Expand All @@ -1345,7 +1345,7 @@ display:
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_api_classes: 0
plugin_id: field
title:
id: title
Expand All @@ -1357,8 +1357,8 @@ display:
label: ''
exclude: 0
alter:
alter_text: 1
text: "<a class=\"su-link{% if su_event_source %} su-link--external{% endif %}\" href=\"{% if su_event_source %}{{ su_event_source }}{% else %}{{ view_node }}{% endif %}\">\r\n {{ title }}\r\n</a>"
alter_text: 0
text: ''
make_link: 0
path: ''
absolute: 0
Expand Down Expand Up @@ -1398,7 +1398,7 @@ display:
click_sort_column: value
type: string
settings:
link_to_entity: 0
link_to_entity: 1
group_column: value
group_columns: { }
group_rows: true
Expand Down Expand Up @@ -1483,50 +1483,50 @@ display:
group_type: group
admin_label: ''
label: ''
exclude: false
exclude: 0
alter:
alter_text: false
alter_text: 0
text: ''
make_link: false
make_link: 0
path: ''
absolute: false
external: false
replace_spaces: false
absolute: 0
external: 0
replace_spaces: 0
path_case: none
trim_whitespace: false
trim_whitespace: 0
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
nl2br: 0
max_length: '0'
word_boundary: 1
ellipsis: 1
more_link: 0
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
strip_tags: 0
trim: 0
preserve_tags: ''
html: false
html: 0
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
element_default_classes: 1
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
hide_empty: 0
empty_zero: 0
hide_alter_empty: 1
click_sort_column: value
type: entity_title_heading
type: string
settings:
tag: h3
link_to_entity: 0
group_column: value
group_columns: { }
group_rows: true
Expand All @@ -1536,7 +1536,7 @@ display:
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_api_classes: 0
plugin_id: field
su_event_dek:
id: su_event_dek
Expand Down Expand Up @@ -2089,64 +2089,69 @@ display:
hide_empty: 1
pattern: events_list
pattern_mapping:
'views_row:su_event_source':
destination: url
weight: 0
plugin: views_row
source: su_event_source
'views_row:title':
destination: headline
weight: 0
weight: 1
plugin: views_row
source: title
'views_row:su_event_date_time':
destination: date_time
weight: 1
weight: 2
plugin: views_row
source: su_event_date_time
'views_row:su_event_date_time_value_1':
destination: start_month
weight: 2
weight: 3
plugin: views_row
source: su_event_date_time_value_1
'views_row:su_event_alt_loc':
destination: location
weight: 3
weight: 4
plugin: views_row
source: su_event_alt_loc
'views_row:su_event_date_time_value':
destination: start_date
weight: 4
weight: 5
plugin: views_row
source: su_event_date_time_value
'views_row:su_event_date_time_end_value_1':
destination: end_date
weight: 5
weight: 6
plugin: views_row
source: su_event_date_time_end_value_1
'views_row:su_event_date_time_end_value':
destination: end_month
weight: 6
weight: 7
plugin: views_row
source: su_event_date_time_end_value
'views_row:su_event_type':
destination: event_type
weight: 7
weight: 8
plugin: views_row
source: su_event_type
'views_row:su_event_subheadline':
destination: subheadline
weight: 8
weight: 9
plugin: views_row
source: su_event_subheadline
'views_row:su_event_dek':
destination: dek
weight: 9
weight: 10
plugin: views_row
source: su_event_dek
'views_row:su_event_location':
destination: address
weight: 10
weight: 11
plugin: views_row
source: su_event_location
'views_row:edit_node':
destination: edit
weight: 11
weight: 12
plugin: views_row
source: edit_node
pattern_variant: h3_header
Expand Down
2 changes: 1 addition & 1 deletion config/sync/views.view.stanford_news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,7 @@ display:
type: 'entity:node'
options:
relationship: none
view_mode: stanford_card
view_mode: stanford_h3_card
defaults:
css_class: false
pager: false
Expand Down
6 changes: 5 additions & 1 deletion content/node/0b83d1e9-688a-4475-9673-a4c385f26247.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,14 @@ default:
behavior_settings:
-
value:
list_paragraph: { }
list_paragraph:
hide_heading: true
layout_paragraphs:
parent_uuid: 251bde6a-fb54-459c-bfe8-a612830e0f34
region: main
su_list_headline:
-
value: "News"
su_list_view:
-
target_id: stanford_news
Expand Down
6 changes: 5 additions & 1 deletion content/node/14768832-f763-4d27-8df6-7cd784886d57.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,14 @@ default:
behavior_settings:
-
value:
list_paragraph: { }
list_paragraph:
hide_heading: true
layout_paragraphs:
parent_uuid: 57582f54-3af7-45d0-a930-8977f8b05be8
region: main
su_list_headline:
-
value: "Courses"
su_list_view:
-
target_id: stanford_courses
Expand Down
6 changes: 5 additions & 1 deletion content/node/673a8fb8-39ac-49df-94c2-ed8d04db16a7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,14 @@ default:
behavior_settings:
-
value:
list_paragraph: { }
list_paragraph:
hide_heading: true
layout_paragraphs:
parent_uuid: 901576db-04e5-46c2-ab4c-ac64980a578e
region: main
su_list_headline:
-
value: "People"
su_list_view:
-
target_id: stanford_person
Expand Down
Loading

0 comments on commit 3851112

Please sign in to comment.