Skip to content

Commit

Permalink
Fixed codeception select steps
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Sep 8, 2023
1 parent a2d4f77 commit d313f37
Show file tree
Hide file tree
Showing 16 changed files with 56 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ third_party_settings:
-
layout_id: defaults
layout_settings:
label: 'Courses data'
context_mapping: { }
extra_classes: ''
centered: centered-container
columns: default
label: 'Courses data'
context_mapping: { }
components:
4739a874-31bb-46c9-91bd-a0bcdbb79636:
uuid: 4739a874-31bb-46c9-91bd-a0bcdbb79636
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ third_party_settings:
-
layout_id: defaults
layout_settings:
label: 'Editorial Content'
context_mapping: { }
extra_classes: section-editorial-content
centered: centered-container
columns: default
label: 'Editorial Content'
context_mapping: { }
components:
cee36061-b3bc-4171-92d5-299e62b7d0f2:
uuid: cee36061-b3bc-4171-92d5-299e62b7d0f2
Expand Down Expand Up @@ -455,11 +455,11 @@ third_party_settings:
-
layout_id: defaults
layout_settings:
label: 'Body Content'
context_mapping: { }
extra_classes: su-events-body
centered: centered-container
columns: flex-8-of-12
label: 'Body Content'
context_mapping: { }
components:
11df73c4-8beb-43be-b1d2-4ddc537f90b1:
uuid: 11df73c4-8beb-43be-b1d2-4ddc537f90b1
Expand Down Expand Up @@ -506,11 +506,11 @@ third_party_settings:
-
layout_id: defaults
layout_settings:
label: 'Event type and Schedule'
context_mapping: { }
extra_classes: su-events-type-schedule
centered: centered-container
columns: flex-10-of-12
label: 'Event type and Schedule'
context_mapping: { }
components:
d64439dc-f59e-4822-aba0-cdca5a9dc331:
uuid: d64439dc-f59e-4822-aba0-cdca5a9dc331
Expand Down Expand Up @@ -550,11 +550,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: 'More Events'
context_mapping: { }
extra_classes: section-event-more-block
centered: centered-container
columns: default
label: 'More Events'
context_mapping: { }
components:
8e277083-0c99-44f4-ad5f-9f800d0b602e:
uuid: 8e277083-0c99-44f4-ad5f-9f800d0b602e
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: Header
context_mapping: { }
extra_classes: section-event-series--header
centered: centered-container
columns: flex-10-of-12
label: Header
context_mapping: { }
components:
88ffc4d3-879c-40a2-ae71-c51f2782a54e:
uuid: 88ffc4d3-879c-40a2-ae71-c51f2782a54e
Expand Down Expand Up @@ -114,11 +114,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: Components
context_mapping: { }
extra_classes: section-event-series--components
centered: centered-container
columns: flex-10-of-12
label: Components
context_mapping: { }
components:
678616f1-e2ff-41c7-8725-c5a446077121:
uuid: 678616f1-e2ff-41c7-8725-c5a446077121
Expand All @@ -145,11 +145,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: 'Event Items'
context_mapping: { }
extra_classes: section-event-series--items
centered: centered-container
columns: flex-8-of-12
label: 'Event Items'
context_mapping: { }
components:
69413f91-a5e0-4afd-805e-bd7b048d576c:
uuid: 69413f91-a5e0-4afd-805e-bd7b048d576c
Expand Down
24 changes: 12 additions & 12 deletions config/sync/core.entity_view_display.node.stanford_news.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: Header
context_mapping: { }
extra_classes: section-header
centered: centered-container
columns: flex-10-of-12
label: Header
context_mapping: { }
components:
bc326bbf-ff93-4c18-ab2c-ee15c6427f3c:
uuid: bc326bbf-ff93-4c18-ab2c-ee15c6427f3c
Expand Down Expand Up @@ -165,11 +165,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: 'Banner Media'
context_mapping: { }
extra_classes: section-banner-media
centered: centered-container
columns: default
label: 'Banner Media'
context_mapping: { }
components:
05c3062a-6e09-4b3b-b8f9-fa797362fb67:
uuid: 05c3062a-6e09-4b3b-b8f9-fa797362fb67
Expand Down Expand Up @@ -228,11 +228,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: Components
context_mapping: { }
extra_classes: section-components
centered: centered-container
columns: flex-8-of-12
label: Components
context_mapping: { }
components:
4f1a1e3a-caf2-4368-8271-35321c76d216:
uuid: 4f1a1e3a-caf2-4368-8271-35321c76d216
Expand All @@ -259,11 +259,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: 'Subscribe Form'
context_mapping: { }
extra_classes: section-subscribe-form
centered: centered-container
columns: default
label: 'Subscribe Form'
context_mapping: { }
components:
e3fd25d5-2528-419b-b34e-a4d0f0b46566:
uuid: e3fd25d5-2528-419b-b34e-a4d0f0b46566
Expand All @@ -281,11 +281,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: 'More Topics'
context_mapping: { }
extra_classes: section-more-topics
centered: centered-container
columns: flex-10-of-12
label: 'More Topics'
context_mapping: { }
components:
32d871db-85f0-4445-afb8-4d19c97ac98f:
uuid: 32d871db-85f0-4445-afb8-4d19c97ac98f
Expand Down Expand Up @@ -314,11 +314,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: 'Extra Views'
context_mapping: { }
extra_classes: section-supporting-content
centered: centered-container
columns: default
label: 'Extra Views'
context_mapping: { }
components:
d43e60bd-c832-439e-8151-1b2fd851b98e:
uuid: d43e60bd-c832-439e-8151-1b2fd851b98e
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
context_mapping: { }
extra_classes: ''
centered: null
columns: default
context_mapping: { }
components:
da20ed40-0f0f-4103-bda1-29d84c24975f:
uuid: da20ed40-0f0f-4103-bda1-29d84c24975f
Expand All @@ -60,10 +60,10 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
context_mapping: { }
extra_classes: ''
centered: centered-container
columns: default
context_mapping: { }
components:
af0809fe-fe61-4e78-be4e-4837cd773c26:
uuid: af0809fe-fe61-4e78-be4e-4837cd773c26
Expand All @@ -88,10 +88,10 @@ third_party_settings:
-
layout_id: jumpstart_ui_two_column
layout_settings:
context_mapping: { }
extra_classes: ''
centered: centered-container
orientation: right
context_mapping: { }
components:
582a6898-7096-40c2-bb65-99a556ada919:
uuid: 582a6898-7096-40c2-bb65-99a556ada919
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,11 +597,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: ''
context_mapping: { }
extra_classes: ''
centered: centered-container
columns: default
label: ''
context_mapping: { }
components:
500a8acd-f0fc-4021-81f8-61e665df0d70:
uuid: 500a8acd-f0fc-4021-81f8-61e665df0d70
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: ''
context_mapping: { }
extra_classes: ''
centered: centered-container
columns: default
label: ''
context_mapping: { }
components:
350c64f9-fcab-4cf1-b5a0-999ed83696ed:
uuid: 350c64f9-fcab-4cf1-b5a0-999ed83696ed
Expand All @@ -59,11 +59,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_two_column
layout_settings:
label: ''
context_mapping: { }
extra_classes: su-policy--top
centered: centered-container
orientation: left
label: ''
context_mapping: { }
components:
e088bc90-d693-4c57-8c0a-0f2645df81c1:
uuid: e088bc90-d693-4c57-8c0a-0f2645df81c1
Expand Down Expand Up @@ -102,11 +102,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_two_column
layout_settings:
label: ''
context_mapping: { }
extra_classes: main-policy--content
centered: centered-container
orientation: right
label: ''
context_mapping: { }
components:
e41989aa-33de-4c81-877f-4839205895a2:
uuid: e41989aa-33de-4c81-877f-4839205895a2
Expand Down Expand Up @@ -258,11 +258,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: ''
context_mapping: { }
extra_classes: ''
centered: centered-container
columns: default
label: ''
context_mapping: { }
components:
9239f3b1-86c9-4d97-8e6c-f1ded39f2a02:
uuid: 9239f3b1-86c9-4d97-8e6c-f1ded39f2a02
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ third_party_settings:
-
layout_id: defaults
layout_settings:
label: ''
context_mapping: { }
extra_classes: ''
centered: centered-container
columns: default
label: ''
context_mapping: { }
components:
4df7625d-a934-4076-a6ff-d70bf5aa9f2e:
uuid: 4df7625d-a934-4076-a6ff-d70bf5aa9f2e
Expand Down Expand Up @@ -76,11 +76,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_two_column
layout_settings:
label: ''
context_mapping: { }
extra_classes: ''
centered: centered-container
orientation: left
label: ''
context_mapping: { }
components:
42ec0a5c-ba15-4be4-9d66-9fecee9a3912:
uuid: 42ec0a5c-ba15-4be4-9d66-9fecee9a3912
Expand Down Expand Up @@ -154,11 +154,11 @@ third_party_settings:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: ''
context_mapping: { }
extra_classes: ''
centered: centered-container
columns: flex-12-of-12
label: ''
context_mapping: { }
components:
797a272b-885d-4772-a161-853409dca684:
uuid: 797a272b-885d-4772-a161-853409dca684
Expand Down
4 changes: 2 additions & 2 deletions config/sync/editor.editor.stanford_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ settings:
plugins:
ckeditor5_alignment:
enabled_alignments:
- left
- center
- right
- justify
- left
- right
ckeditor5_codeBlock:
languages:
-
Expand Down
1 change: 1 addition & 0 deletions config/sync/field.field.node.stanford_course.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary
1 change: 1 addition & 0 deletions config/sync/field.field.node.stanford_event.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary
1 change: 1 addition & 0 deletions config/sync/field.field.node.stanford_person.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary
2 changes: 1 addition & 1 deletion tests/codeception/acceptance/Content/BasicPageCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function testClone(AcceptanceTester $I) {
$I->checkOption('tr:contains("' . $title . '") input[name^="views_bulk_operations_bulk_form"]');
$I->selectOption('Action', 'Clone selected content');
$I->click('Apply to selected items');
$I->selectOption('Clone how many times', 2);
$I->selectOption('Clone how many times', '2');
$I->click('Apply');
$links = $I->grabMultiple('a:contains("' . $title . '")');
$I->assertCount(3, $links);
Expand Down
2 changes: 1 addition & 1 deletion tests/codeception/acceptance/Content/EventsCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ public function testClone(AcceptanceTester $I) {
$I->checkOption('tr:contains("' . $node->label() . '") input[name^="views_bulk_operations_bulk_form"]');
$I->selectOption('Action', 'Clone selected content');
$I->click('Apply to selected items');
$I->selectOption('Clone how many times', 2);
$I->selectOption('Clone how many times', '2');
$I->selectOption('Increment Amount', '3');
$I->selectOption('Units', 'Month');
$I->click('Apply');
Expand Down
Loading

0 comments on commit d313f37

Please sign in to comment.