Skip to content

Commit bacca5f

Browse files
committed
Squashed commit of the following:
commit d2db601 Author: Bruce Denham <[email protected]> Date: Mon Dec 10 10:26:15 2018 -0600 MC-5927: Beta 2 release notes commit d4d31a7 Merge: ac1eae1 ccc8775 Author: Dave Macaulay <[email protected]> Date: Mon Dec 10 16:14:01 2018 +0000 Merge pull request #180 from magento-obsessive-owls/cms-team-1-delivery [Owls] Beta Release #2 commit ccc8775 Author: Dan Mooney <[email protected]> Date: Thu Dec 6 18:10:20 2018 -0600 MC-4278: Hard Coded Padding On Button Groups & On Text Fix static alphabetization failure commit 64d5ad3 Merge: cbb7a73 003b736 Author: David Haecker <[email protected]> Date: Thu Dec 6 11:01:03 2018 -0600 Merge branch 'MC-3238' into cms-team-1-delivery commit cbb7a73 Merge: 42c2e49 ed085b3 Author: Hwashiang Yu <[email protected]> Date: Thu Dec 6 10:45:46 2018 -0600 Merge remote-tracking branch 'origin/MC-4959-need-to-remove-is-hideable' into cms-team-1-delivery commit 42c2e49 Merge: b686987 4f9cab3 Author: Dan Mooney <[email protected]> Date: Thu Dec 6 10:27:52 2018 -0600 Merge remote-tracking branch 'remotes/origin/MC-5443' into cms-team-1-delivery commit b686987 Merge: 6466781 7af1105 Author: Cari Spruiell <[email protected]> Date: Wed Dec 5 13:55:02 2018 -0600 Merge remote-tracking branch 'origin/cms-team-1-delivery' into MC-3818-Saving-Slide-Button-Type commit 7af1105 Merge: 1165702 ee9657d Author: Hwashiang Yu <[email protected]> Date: Wed Dec 5 12:16:35 2018 -0600 Merge remote-tracking branch 'origin/MC-5790-remove-reset-button' into cms-team-1-delivery commit 1165702 Merge: d2335b9 3ae4714 Author: Hwashiang Yu <[email protected]> Date: Wed Dec 5 12:15:28 2018 -0600 Merge remote-tracking branch 'origin/MC-4278-hard-coded-padding-on-buttons-and-text' into cms-team-1-delivery commit d2335b9 Merge: e04091f 7cfe111 Author: Hwashiang Yu <[email protected]> Date: Wed Dec 5 12:14:51 2018 -0600 Merge remote-tracking branch 'origin/MC-4130-review-information-covered-by-add-to-cart-button-on-stage' into cms-team-1-delivery commit e04091f Merge: 011c085 25359d2 Author: Hwashiang Yu <[email protected]> Date: Wed Dec 5 12:14:08 2018 -0600 Merge remote-tracking branch 'origin/MC-3992-column-width-are-not-consistent' into cms-team-1-delivery commit 011c085 Merge: 9fb17d5 d14f45a Author: Hwashiang Yu <[email protected]> Date: Wed Dec 5 12:13:32 2018 -0600 Merge remote-tracking branch 'origin/MC-3713-paddding-is-not-respected-on-text' into cms-team-1-delivery commit 9fb17d5 Merge: cc784c2 b22a295 Author: Hwashiang Yu <[email protected]> Date: Wed Dec 5 12:12:25 2018 -0600 Merge remote-tracking branch 'origin/MC-3509-Image-inside-text-content-type' into cms-team-1-delivery commit cc784c2 Merge: 73e9d4b 3519237 Author: David Haecker <[email protected]> Date: Wed Dec 5 12:01:34 2018 -0600 Merge branch 'MC-5641' into cms-team-1-delivery commit 73e9d4b Merge: 696f853 13c014c Author: David Haecker <[email protected]> Date: Wed Dec 5 12:00:19 2018 -0600 Merge branch 'MC-5684' into cms-team-1-delivery commit 4f9cab3 Author: Dan Mooney <[email protected]> Date: Wed Dec 5 09:09:12 2018 -0600 MC-5443: IE11 - Cannot Use Slide Item Option Menu Fix static issues commit 98808a9 Author: Dan Mooney <[email protected]> Date: Tue Dec 4 13:58:25 2018 -0600 MC-5443: IE11 - Cannot Use Slide Item Option Menu Force minimum interaction level to be 0 and trigger interaction stop if focused on another slide in slider commit 003b736 Author: Kieu Phan <[email protected]> Date: Tue Dec 4 11:53:46 2018 -0600 MC-3238: Add Missing P0-P1 MFTF Tests For HTML Code commit 77aa5b6 Author: Dan Mooney <[email protected]> Date: Tue Dec 4 11:39:28 2018 -0600 MC-5443: IE11 - Cannot Use Slide Item Option Menu Support applying focus to slide in one click - relatedTarget is always null for these events in IE11, but document.activeElement can be used in its place commit 48d7cfc Author: Kieu Phan <[email protected]> Date: Tue Dec 4 11:37:19 2018 -0600 MC-3238: Add Missing P0-P1 MFTF Tests For HTML Code commit 7ff925b Author: Kieu Phan <[email protected]> Date: Tue Dec 4 11:34:39 2018 -0600 MC-3238: Add Missing P0-P1 MFTF Tests For HTML Code commit ed085b3 Author: Hwashiang Yu <[email protected]> Date: Tue Dec 4 10:57:27 2018 -0600 MC-4959: Need to remove is_hideable option from content type configuration - Fixed test step selector commit ee9657d Author: Hwashiang Yu <[email protected]> Date: Tue Dec 4 10:34:30 2018 -0600 MC-5790: Remove Reset Button From Slide Outs For All Content Types - Updated test severity commit 564dbde Author: Kieu Phan <[email protected]> Date: Tue Dec 4 09:49:36 2018 -0600 MC-3238: Add Missing P0-P1 MFTF Tests For HTML Code commit bac265a Author: Dan Mooney <[email protected]> Date: Mon Dec 3 12:41:57 2018 -0600 MC-5443: IE11 - Cannot Use Slide Item Option Menu Set .navigation-dot.active .pagebuilder-options z-index to auto - IE11 does not support clicks on elements with negative z-index commit 369bd00 Author: Hwashiang Yu <[email protected]> Date: Mon Dec 3 12:01:10 2018 -0600 MC-4959: Need to remove is_hideable option from content type configuration - Resolved minor typescript formatting issue - Updated button item test commit 696f853 Author: Kieu Phan <[email protected]> Date: Mon Dec 3 11:54:13 2018 -0600 MC-3996: MFTF "notHidden" Selectors Are Written Incorrectly Fixed notHidden selector on Block, Product, Video commit 3ae4714 Author: Hwashiang Yu <[email protected]> Date: Fri Nov 30 22:43:04 2018 -0600 MC-4278: Hard Coded Padding On Button Groups & On Text - Stabilized button item test commit 669900a Author: Hwashiang Yu <[email protected]> Date: Fri Nov 30 18:19:26 2018 -0600 MC-4959: Need to remove is_hideable option from content type configuration - Updated options logic to individual content type preview commit ec7f3f2 Author: Kieu Phan <[email protected]> Date: Fri Nov 30 16:16:43 2018 -0600 MC-3996: MFTF notHidden Selectors Are Written Incorrectly Changed ancestor to parent in selectors commit 13c014c Author: David Haecker <[email protected]> Date: Fri Nov 30 15:17:36 2018 -0600 MC-5684: MFTF - Change expectedIndex to expectedCount in Duplication Action Groups - Fixing failing test commit fa51d04 Author: David Haecker <[email protected]> Date: Fri Nov 30 13:14:38 2018 -0600 MC-5684: MFTF - Change expectedIndex to expectedCount in Duplication Action Groups - Fixing duplicate content type action group to prevent confusion commit 7a9dd92 Author: Hwashiang Yu <[email protected]> Date: Thu Nov 29 16:51:00 2018 -0600 MC-5790: Remove Reset Button From Slide Outs For All Content Types - Removed reset button from form - Removed reset button block - Added test to check for reset button in row form commit 3519237 Author: Kieu Phan <[email protected]> Date: Thu Nov 29 16:35:06 2018 -0600 MC-5641: MFTF Test Has Incorrect Assertions: ButtonGroupValidateSameSizeForPrimaryButtonsInColumnResizing Fixed actual variable and expected variable for 2 assertions at stepKey assertButtonSmallerThanColumnStorefrontMobile2 & assertButtonSmallerThanColumnStorefrontMobile3 commit b6be4c9 Author: Kieu Phan <[email protected]> Date: Thu Nov 29 16:31:47 2018 -0600 MC-5641: MFTF Test Has Incorrect Assertions: ButtonGroupValidateSameSizeForPrimaryButtonsInColumnResizing Fixed actual variable and expected variable for 2 assertions at stepKey assertButtonSmallerThanColumnStorefrontMobile2 & assertButtonSmallerThanColumnStorefrontMobile3 commit cb70dc2 Author: Hwashiang Yu <[email protected]> Date: Thu Nov 29 14:20:16 2018 -0600 MC-4959: Need to remove is_hideable option from content type configuration - Removed debugger from code commit 10ae961 Author: Hwashiang Yu <[email protected]> Date: Thu Nov 29 14:16:57 2018 -0600 MC-4959: Need to remove is_hideable option from content type configuration - Removed is_hideable from configurations and documentation - Added test coverage for is_hideable content types commit be9b830 Author: Hwashiang Yu <[email protected]> Date: Wed Nov 28 16:54:36 2018 -0600 MC-4278: Hard Coded Padding On Button Groups & On Text - Removed hard coded paddings on buttons and text commit 6466781 Author: Cari Spruiell <[email protected]> Date: Tue Nov 27 15:35:52 2018 -0600 MC-3818: Saving Slide Button Type As Secondary Or Link Will Still Show As Primary On Edit Form - fix automated test targeting wrong value commit 7cfe111 Author: Hwashiang Yu <[email protected]> Date: Tue Nov 27 14:33:23 2018 -0600 MC-4130: Review Information Covered By Add To Cart Button On Products On Stage - Added styling to product item review summary to match closer to the storefront commit ed15d2d Author: Cari Spruiell <[email protected]> Date: Tue Nov 27 11:45:03 2018 -0600 MC-3818: Saving Slide Button Type As Secondary Or Link Will Still Show As Primary On Edit Form - updated automated test to cover bug scenario commit 25359d2 Author: Hwashiang Yu <[email protected]> Date: Tue Nov 27 11:10:30 2018 -0600 MC-3992: Columns Widths Are Not Consistent Between Stage & Storefront - Added box-sizing style to column content type commit 3f37371 Author: Cari Spruiell <[email protected]> Date: Mon Nov 26 22:14:39 2018 -0600 MC-3818: Saving Slide Button Type As Secondary Or Link Will Still Show As Primary On Edit Form - corrected class name of slide button commit d14f45a Author: Hwashiang Yu <[email protected]> Date: Mon Nov 26 18:15:52 2018 -0600 MC-3713: Padding is not respected on Text - Added styling, css, and attribute to text area element when wysiwyg is diabled on stage - Added test coverage for text advanced configuration for both when wysiwyg is disabled completely and disbled by default commit b22a295 Author: Hwashiang Yu <[email protected]> Date: Mon Nov 26 13:21:16 2018 -0600 MC-3509: Image inside Text Content Type is scaled on stage - Added styling banner, slider, and text to set image height to auto. commit 6707e31 Author: Bruce Denham <[email protected]> Date: Mon Dec 10 10:14:36 2018 -0600 MC-5927: Beta 2 release notes commit ac1eae1 Merge: e04033e 55bb8e6 Author: Dave Macaulay <[email protected]> Date: Tue Nov 27 15:19:43 2018 -0600 Merge pull request #178 from magento-devdocs/develop [owls] Beta documentation release commit e04033e Merge: 31439c7 aaa5af1 Author: Dave Macaulay <[email protected]> Date: Mon Nov 19 21:28:17 2018 +0100 Merge pull request #176 from magento-obsessive-owls/cms-team-1-delivery [Owls] Products contents order, anchor tag issues, text wrapping commit aaa5af1 Merge: e6b26c8 51549b0 Author: Dave Macaulay <[email protected]> Date: Mon Nov 19 15:15:17 2018 +0100 Merge branch 'MC-4965-text-wrap' into cms-team-1-delivery # Conflicts: # app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderSlideItemCommonTest.xml commit e6b26c8 Merge: d815fd8 aea6518 Author: Dave Macaulay <[email protected]> Date: Mon Nov 19 15:08:33 2018 +0100 Merge branch 'MC-5474' into cms-team-1-delivery commit 51549b0 Author: Dave Macaulay <[email protected]> Date: Mon Nov 19 15:04:12 2018 +0100 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - Resolve test failure commit 32d2341 Author: Dave Macaulay <[email protected]> Date: Mon Nov 19 12:45:25 2018 +0100 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - Remove -ms specific styles, resolve widths on poster appearances commit 8baf2d8 Author: Dave Macaulay <[email protected]> Date: Mon Nov 19 12:22:32 2018 +0100 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - Fix slider and banner issues in IE 11 commit 98ed909 Author: Anthoula Wojczak <[email protected]> Date: Fri Nov 16 15:15:47 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - skip tests against bug MC-5686 commit aea6518 Author: Dan Mooney <[email protected]> Date: Fri Nov 16 14:30:56 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Do string type checking on potential array commit f3e187a Author: Dan Mooney <[email protected]> Date: Fri Nov 16 12:46:45 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Remove unused selectors commit 24bf089 Author: Anthoula Wojczak <[email protected]> Date: Fri Nov 16 09:00:14 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - update expectedIndex to reflect new count commit dce7f5f Author: Anthoula Wojczak <[email protected]> Date: Thu Nov 15 18:02:31 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - rename action group - add block and text group values - remove column resizing on block and text commit c8e4555 Author: Anthoula Wojczak <[email protected]> Date: Thu Nov 15 18:01:51 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - rename action group - move slider selectors - add slider group values - remove column resizing on slider commit 8458df0 Author: Anthoula Wojczak <[email protected]> Date: Thu Nov 15 18:01:12 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - rename action group - move banner selectors - add banner group values - remove column resizing on banners commit c2f65f9 Author: Dan Mooney <[email protected]> Date: Thu Nov 15 16:09:07 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Fix code style/mess static failures commit 447fd0f Author: Dan Mooney <[email protected]> Date: Thu Nov 15 12:52:16 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Update more selectors commit 804b4fc Author: Dan Mooney <[email protected]> Date: Thu Nov 15 12:50:39 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Update more selectors commit b945e3d Author: Anthoula Wojczak <[email protected]> Date: Thu Nov 15 12:17:43 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - add new test for blocks with banner, slider, and text commit ff4747d Author: Anthoula Wojczak <[email protected]> Date: Thu Nov 15 12:16:58 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - add new test for text content word wrap commit e518fdb Author: Anthoula Wojczak <[email protected]> Date: Thu Nov 15 12:16:26 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - add new test for slide poster content word wrap - add new test for slide collage left content word wrap commit 1e2993c Author: Anthoula Wojczak <[email protected]> Date: Thu Nov 15 12:15:50 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - add new test for banner poster content word wrap - add new test for banner collage left content word wrap commit ecedef1 Merge: 544300b 31439c7 Author: Anthoula Wojczak <[email protected]> Date: Thu Nov 15 12:13:06 2018 -0600 Merge remote-tracking branch 'mainline/1.0.0-release' into MC-4965-text-wrap commit 6f3230d Author: Dan Mooney <[email protected]> Date: Thu Nov 15 11:43:00 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Target empty_link as well in argument to equalizeButtonWidth in button inline appearance widget.js commit 53e57af Author: Dan Mooney <[email protected]> Date: Thu Nov 15 10:22:57 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Update more selectors commit f9c02e9 Author: Dan Mooney <[email protected]> Date: Thu Nov 15 10:09:22 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Fix arguments to stray buttonItemUrl selectors in tests commit 544300b Author: Anthoula Wojczak <[email protected]> Date: Thu Nov 15 09:42:59 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - fix for heading in block - fix for button items in block commit 98696e9 Author: Dan Mooney <[email protected]> Date: Thu Nov 15 09:39:42 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Use equality xpath instead of not contains commit 8f0708e Author: Dan Mooney <[email protected]> Date: Thu Nov 15 09:36:34 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Fix arguments to stray buttonItemUrl selectors in tests commit de8b37e Author: Dan Mooney <[email protected]> Date: Thu Nov 15 07:14:09 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Change buttonItemPage argument to ButtonItemOnStorefront for validateButton* actionGroup commit d815fd8 Merge: 0c927db 31439c7 Author: Dave Macaulay <[email protected]> Date: Thu Nov 15 11:22:43 2018 +0100 Merge branch '1.0.0-release' into MC-5450-products-content-order commit ba8ef5e Author: Dan Mooney <[email protected]> Date: Wed Nov 14 18:14:11 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Change all executeJS storefront button width assertions to use ButtonItemOnStorefrontEmptyLink section commit e1d6c8f Author: Dan Mooney <[email protected]> Date: Wed Nov 14 18:08:22 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Change string literal to PageBuilder*LinkURL_Empty.value (bug in MFTF) commit 3f22fde Author: Dan Mooney <[email protected]> Date: Wed Nov 14 14:34:31 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Add empty_link to missing appearances commit 61b649f Merge: dd53778 31439c7 Author: Dan Mooney <[email protected]> Date: Wed Nov 14 14:28:38 2018 -0600 Merge remote-tracking branch 'remotes/mainline/1.0.0-release' into MC-5474 commit dd53778 Author: Dan Mooney <[email protected]> Date: Wed Nov 14 13:36:47 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Update data converter and its tests commit 6bcfe12 Author: Dan Mooney <[email protected]> Date: Wed Nov 14 13:17:29 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Remove emptyLinkUrl and create new sections for empty links commit abd7ea8 Author: Dan Mooney <[email protected]> Date: Wed Nov 14 12:57:10 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Update button item tests commit 0dec73a Author: Dan Mooney <[email protected]> Date: Wed Nov 14 12:32:07 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Add empty_link element commit 6c25707 Author: Anthoula Wojczak <[email protected]> Date: Wed Nov 14 12:04:54 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - fix for IE11 wrapping commit 7049462 Author: Dan Mooney <[email protected]> Date: Tue Nov 13 16:33:37 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Update expected HTML output for DataConverter test commit bf44d53 Author: Dan Mooney <[email protected]> Date: Tue Nov 13 16:33:11 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Fix spacing of attribute output commit e504631 Author: Dan Mooney <[email protected]> Date: Tue Nov 13 15:40:32 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Update DataConverter migrations commit 007c07a Author: Dan Mooney <[email protected]> Date: Tue Nov 13 14:47:58 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Fix ButtonItemOnStorefront.jsButtonSelector commit 0371f68 Author: Anthoula Wojczak <[email protected]> Date: Tue Nov 13 14:19:16 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - sort alpha commit b4697d5 Author: Dan Mooney <[email protected]> Date: Tue Nov 13 13:20:34 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Remove href and target attributes from data-element="link" when link url is empty commit d43282b Author: Dan Mooney <[email protected]> Date: Tue Nov 13 12:50:31 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Fix buttonItemEmptyLinkUrl xpath syntax commit 8fe2a45 Author: Dan Mooney <[email protected]> Date: Tue Nov 13 11:32:24 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Move button-item a/div conditional switch to master template commit 0c927db Author: Dave Macaulay <[email protected]> Date: Tue Nov 13 11:16:23 2018 +0100 MC-5450: Product Contents Are Ordered Incorrectly On Storefront - Add waitForElementVisible before interacting with text input commit 09e8745 Author: Dan Mooney <[email protected]> Date: Mon Nov 12 16:05:29 2018 -0600 MC-5474: Anchor tag name is used on banner/slide/image wrapper when no link is specified by admin Convert anchor to div if link href is empty commit 21c048b Author: Anthoula Wojczak <[email protected]> Date: Mon Nov 12 16:00:21 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - add word wrapping to banner, slide, and text when in blocks commit fdd1852 Author: Anthoula Wojczak <[email protected]> Date: Mon Nov 12 15:59:50 2018 -0600 MC-4965: Text Wrapping Inside Inline WYSIWYG Editors Will Break On Words (Storefront as well for Slide & Banner) - add word wrapping to content editable items, banner, slide, tabs, text commit 5621775 Author: Dave Macaulay <[email protected]> Date: Mon Nov 12 18:45:05 2018 +0100 MC-5450: Product Contents Are Ordered Incorrectly On Storefront - Add wait for element visible before interacting with select commit 2f7c608 Author: Dave Macaulay <[email protected]> Date: Mon Nov 12 18:41:56 2018 +0100 MC-5450: Product Contents Are Ordered Incorrectly On Storefront - Resolve CR comments commit 7121e9c Author: Dave Macaulay <[email protected]> Date: Mon Nov 12 13:09:26 2018 +0100 MC-5450: Product Contents Are Ordered Incorrectly On Storefront - Add test for product storefront content order commit 58262fd Author: Dave Macaulay <[email protected]> Date: Mon Nov 12 11:38:16 2018 +0100 MC-5450: Product Contents Are Ordered Incorrectly On Storefront - Move content.aside under the reviews section to ensure contents are ordered correctly
1 parent 16c79db commit bacca5f

File tree

146 files changed

+2420
-566
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+2420
-566
lines changed

app/code/Magento/PageBuilder/Block/Adminhtml/ContentType/Edit/ResetButton.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

app/code/Magento/PageBuilder/Model/Stage/Config.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ private function flattenContentTypeData(string $name, array $contentType)
179179
'label' => $contentType['label'],
180180
'icon' => $contentType['icon'],
181181
'form' => $contentType['form'],
182-
'is_hideable' =>
183-
isset($contentType['is_hideable']) && $contentType['is_hideable'] === 'false' ? false : true,
184182
'contentType' => '',
185183
'group' => $contentType['group'] ?? 'general',
186184
'fields' => $this->uiComponentConfig->getFields($contentType['form']),

app/code/Magento/PageBuilder/Setup/DataConverter/Renderer/AdvancedSliderItem.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,11 @@ public function render(array $itemData, array $additionalData = []) : string
120120
}
121121

122122
// mobile wrapper div
123-
$rootElementHtml = '<div' . $this->printAttributes($rootElementAttributes) . '><div data-element="link"';
123+
$linkNodeName = isset($eavData['link_url']) ? 'a' : 'div';
124+
$linkDataElementName = isset($eavData['link_url']) ? 'link' : 'empty_link';
125+
126+
$rootElementHtml = '<div' . $this->printAttributes($rootElementAttributes) . '>';
127+
$rootElementHtml .= '<' . $linkNodeName . ' data-element="' . $linkDataElementName . '"';
124128
$rootElementHtml .= isset($eavData['link_url']) ? ' href="' . $eavData['link_url'] . '">' : '>';
125129
$rootElementHtml .= '<div'
126130
. $this->printAttributes($wrapperDivElementAttributes)
@@ -135,7 +139,7 @@ public function render(array $itemData, array $additionalData = []) : string
135139
. $buttonElementHtml
136140
. '</div></div></div>';
137141

138-
$rootElementHtml .= '</div></div>';
142+
$rootElementHtml .= '</' . $linkNodeName . '></div>';
139143

140144
return $rootElementHtml;
141145
}

app/code/Magento/PageBuilder/Setup/DataConverter/Renderer/ButtonItem.php

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ class ButtonItem implements RendererInterface
2626
*/
2727
private $eavAttributeLoader;
2828

29+
/**
30+
* @param StyleExtractorInterface $styleExtractor
31+
* @param EavAttributeLoaderInterface $eavAttributeLoader
32+
*/
2933
public function __construct(
3034
StyleExtractorInterface $styleExtractor,
3135
EavAttributeLoaderInterface $eavAttributeLoader
@@ -35,7 +39,7 @@ public function __construct(
3539
}
3640

3741
/**
38-
* {@inheritdoc}
42+
* @inheritdoc
3943
*/
4044
public function render(array $itemData, array $additionalData = []) : string
4145
{
@@ -67,12 +71,15 @@ public function render(array $itemData, array $additionalData = []) : string
6771
$rootElementHtml .= $attributeValue ? " $attributeName=\"$attributeValue\"" : '';
6872
}
6973

70-
$rootElementHtml .= '><a data-element="link" href="'
71-
. ($eavData['link_url'] ?? '') . '"'
74+
$linkNodeName = isset($eavData['link_url']) ? 'a' : 'div';
75+
$linkDataElementName = isset($eavData['link_url']) ? 'link' : 'empty_link';
76+
77+
$rootElementHtml .= '><' . $linkNodeName . ' data-element="' . $linkDataElementName . '"'
78+
. (isset($eavData['link_url']) ? ' href="' . $eavData['link_url'] . '"' : '')
7279
. $buttonStyleAttribute
7380
. ' class="pagebuilder-button-primary"><span data-element="link_text">'
7481
. ($eavData['link_text'] ?? '')
75-
. '</span></a></div>';
82+
. '</span></' . $linkNodeName . '></div>';
7683

7784
return $rootElementHtml;
7885
}

app/code/Magento/PageBuilder/Setup/DataConverter/Renderer/Driver.php

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public function __construct(
5050

5151
/**
5252
* @inheritdoc
53+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
5354
*/
5455
public function render(array $itemData, array $additionalData = []) : string
5556
{
@@ -84,11 +85,19 @@ public function render(array $itemData, array $additionalData = []) : string
8485
}
8586
}
8687
$rootElementAttributes['style'] .= $margin;
87-
$linkAttributes = [
88-
'data-element' => 'link',
89-
'href' => $eavData['link_url'] ?? '',
90-
'target' => isset($eavData['target_blank']) && $eavData['target_blank'] ? '_blank' : '',
91-
];
88+
89+
// if link_url is present, add href and target attribute
90+
if (isset($eavData['link_url'])) {
91+
$linkAttributes = [
92+
'data-element' => 'link',
93+
'href' => $eavData['link_url'],
94+
'target' => isset($eavData['target_blank']) && $eavData['target_blank'] ? '_blank' : '',
95+
];
96+
} else {
97+
$linkAttributes = [
98+
'data-element' => 'empty_link',
99+
];
100+
}
92101

93102
$imageAttributes = [
94103
'data-element' => 'wrapper',
@@ -120,9 +129,11 @@ public function render(array $itemData, array $additionalData = []) : string
120129
. '</button>';
121130
}
122131

132+
$linkNodeName = isset($eavData['link_url']) ? 'a' : 'div';
133+
123134
return '<div'
124135
. $this->printAttributes($rootElementAttributes)
125-
. '><div'
136+
. '><' . $linkNodeName
126137
. $this->printAttributes($linkAttributes)
127138
. '>'
128139
. $imageElementHtml
@@ -133,7 +144,7 @@ public function render(array $itemData, array $additionalData = []) : string
133144
. $overlayElementHtml
134145
. '<div class="pagebuilder-poster-content"><div data-element="content"></div>'
135146
. $buttonHtml
136-
. '</div></div></div></div></div>';
147+
. '</div></div></div></' . $linkNodeName . '></div>';
137148
}
138149

139150
/**
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
10+
<!-- Consider moving action group to core, or utilising core action group if one is added at a later date -->
11+
<actionGroup name="addUpSellProductBySku" extends="addRelatedProductBySku">
12+
<click selector="{{AdminProductFormRelatedUpSellCrossSellSection.AddUpSellProductsButton}}" stepKey="clickAddRelatedProductButton"/>
13+
<conditionalClick selector="{{AdminAddUpSellProductsModalSection.Modal}} {{AdminProductGridFilterSection.clearFilters}}" dependentSelector="{{AdminAddUpSellProductsModalSection.Modal}} {{AdminProductGridFilterSection.clearFilters}}" visible="true" stepKey="clickClearFilters"/>
14+
<click selector="{{AdminAddUpSellProductsModalSection.Modal}} {{AdminProductGridFilterSection.filters}}" stepKey="openProductFilters"/>
15+
<fillField selector="{{AdminAddUpSellProductsModalSection.Modal}} {{AdminProductGridFilterSection.skuFilter}}" userInput="{{sku}}" stepKey="fillProductSkuFilter"/>
16+
<click selector="{{AdminAddUpSellProductsModalSection.Modal}} {{AdminProductGridFilterSection.applyFilters}}" stepKey="clickApplyFilters"/>
17+
<waitForPageLoad stepKey="waitForPageToLoad"/>
18+
<click selector="{{AdminAddUpSellProductsModalSection.Modal}}{{AdminProductModalSlideGridSection.productGridXRowYColumnButton('1', '1')}}" stepKey="selectProduct"/>
19+
<click selector="{{AdminAddUpSellProductsModalSection.AddSelectedProductsButton}}" stepKey="addRelatedProductSelected"/>
20+
<waitForPageLoad stepKey="waitForPageToLoad1"/>
21+
</actionGroup>
22+
</actionGroups>

app/code/Magento/PageBuilder/Test/Mftf/ActionGroup/OptionsMenuActionGroup.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,21 @@
8383
<arguments>
8484
<argument name="contentType"/>
8585
<argument name="targetIndex" defaultValue="1" type="string"/>
86-
<argument name="expectedIndex" defaultValue="2" type="string"/>
8786
<argument name="contentTypeXCoordinate" defaultValue="null" type="string"/>
8887
<argument name="contentTypeYCoordinate" defaultValue="null" type="string"/>
8988
</arguments>
89+
<waitForElement selector="{{PageBuilderStage.contentTypeTotalInStage(contentType.role)}}" stepKey="waitForAllContentTypes"/>
90+
<executeJS function="return document.querySelectorAll('{{PageBuilderStage.contentTypeTotalInStage(contentType.role)}}').length+1" stepKey="expectedContentTypeCount"/>
9091
<waitForElementVisible selector="{{PageBuilderStage.contentTypeInStageByIndex(contentType.role, targetIndex)}}" stepKey="waitForContentTypeInStageVisible"/>
9192
<moveMouseOver selector="{{PageBuilderStage.contentTypeInStageByIndex(contentType.role, targetIndex)}}" x="{{contentTypeXCoordinate}}" y="{{contentTypeYCoordinate}}" stepKey="onMouseOverContentTypeStage"/>
9293
<waitForElementVisible selector="{{PageBuilderContentTypeOptionsMenu.contentTypeOptionsMenuByIndex(contentType.role, targetIndex)}}" stepKey="waitForOptionsMenu"/>
9394
<click selector="{{PageBuilderContentTypeOptionsMenu.contentTypeDuplicate(contentType.role, targetIndex)}}" stepKey="clickDuplicateContentType"/>
9495
<waitForPageLoad time="30" stepKey="waitForAnimation"/>
95-
<waitForElementVisible selector="{{PageBuilderStage.contentTypeInStageByIndex(contentType.role, expectedIndex)}}" stepKey="waitForDuplicateContentType"/>
96+
<executeJS function="return document.querySelectorAll('{{PageBuilderStage.contentTypeTotalInStage(contentType.role)}}').length" stepKey="resultingContentTypeCount"/>
97+
<assertEquals stepKey="assertContentTypeCount">
98+
<actualResult type="variable">$resultingContentTypeCount</actualResult>
99+
<expectedResult type="variable">$expectedContentTypeCount</expectedResult>
100+
</assertEquals>
96101
</actionGroup>
97102
<actionGroup name="duplicateSmallContentType">
98103
<arguments>

app/code/Magento/PageBuilder/Test/Mftf/ActionGroup/WYSIWYGActionGroup.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,19 @@
161161
<actualResult type="variable">textareaValue</actualResult>
162162
</assertEquals>
163163
</actionGroup>
164+
<actionGroup name="validateContentWordHeight">
165+
<arguments>
166+
<argument name="page"/>
167+
<argument name="height" type="string"/>
168+
<argument name="index" defaultValue="1" type="string"/>
169+
</arguments>
170+
<!-- Validate content height -->
171+
<comment userInput="Validate content height" stepKey="commentValidateContentHeight"/>
172+
<executeJS function="return {{page.contentJS(index)}}.getBoundingClientRect().height" stepKey="elementContentHeight"/>
173+
<executeJS function="return Math.round(({$elementContentHeight}/{{height}})*100)/100" stepKey="contentHeightRatio"/>
174+
<assertEquals stepKey="assertContentHeightRatio">
175+
<expectedResult type="int">1</expectedResult>
176+
<actualResult type="variable">contentHeightRatio</actualResult>
177+
</assertEquals>
178+
</actionGroup>
164179
</actionGroups>

app/code/Magento/PageBuilder/Test/Mftf/Data/BannerData.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@
8888
<data key="fieldName">link_url</data>
8989
<data key="value"/>
9090
</entity>
91-
<entity name="PageBuilderBannerLinkUrlProperty_EmptyFrontend" type="pagebuilder_banner_linkUrl_property">
92-
<data key="value">javascript:void(0)</data>
93-
</entity>
9491
<entity name="PageBuilderBannerLinkUrlPropertyValidate" type="pagebuilder_banner_linkUrl_property">
9592
<data key="name">Link</data>
9693
<data key="section">contents</data>

app/code/Magento/PageBuilder/Test/Mftf/Data/ButtonItemData.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@
8686
<entity name="PageBuilderButtonItemLink_Empty" type="pagebuilder_button_item_link_property" extends="PageBuilderButtonItemLink_Template">
8787
<data key="value"/>
8888
</entity>
89-
<entity name="PageBuilderButtonItemLink_EmptyFrontend" type="pagebuilder_button_item_link_property" extends="PageBuilderButtonItemLink_Template">
90-
<data key="value">javascript:void(0)</data>
91-
</entity>
9289
<entity name="PageBuilderButtonItemLink_NotSecure" type="pagebuilder_button_item_link_property" extends="PageBuilderButtonItemLink_Template">
9390
<data key="value">http://url.magento/</data>
9491
</entity>

app/code/Magento/PageBuilder/Test/Mftf/Data/CommonContentTypeData.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,12 @@
113113
<data key="name">Box Shadow</data>
114114
<data key="value">rgb(153, 153, 153) 0px 0px 0px 1px</data>
115115
</entity>
116+
<!-- Message -->
117+
<entity name="PageBuilderMessageProperty_WordBreak" type="pagebuilder_message_property">
118+
<data key="name">Message Text</data>
119+
<data key="section">contents</data>
120+
<data key="role">textarea</data>
121+
<data key="fieldName">message</data>
122+
<data key="value">Magento1111111 Page11111111111</data>
123+
</entity>
116124
</entities>

app/code/Magento/PageBuilder/Test/Mftf/Data/SlideData.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@
5454
<data key="fieldName">link_url</data>
5555
<data key="value"/>
5656
</entity>
57-
<entity name="PageBuilderSlideItemLinkURL_EmptyFrontend" type="pagebuilder_slide_item_link_url_property">
58-
<data key="value">javascript:void(0)</data>
59-
</entity>
6057
<entity name="PageBuilderSlideItemLinkURL_External" type="pagebuilder_slide_item_link_url_property">
6158
<data key="name">Link</data>
6259
<data key="section">general</data>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
11+
<!-- Consider moving to core, when up-sell tests are implemented -->
12+
<section name="AdminProductFormRelatedUpSellCrossSellSection">
13+
<element name="AddUpSellProductsButton" type="button" selector="button[data-index='button_upsell']" timeout="30"/>
14+
</section>
15+
<section name="AdminAddUpSellProductsModalSection">
16+
<element name="Modal" type="button" selector=".product_form_product_form_related_upsell_modal"/>
17+
<element name="AddSelectedProductsButton" type="button" selector="//aside[contains(@class, 'product_form_product_form_related_upsell_modal')]//button/span[contains(text(), 'Add Selected Products')]" timeout="30"/>
18+
</section>
19+
</sections>

app/code/Magento/PageBuilder/Test/Mftf/Section/CatalogSection.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,15 @@
1111
<section name="PageBuilderCatalog">
1212
<element name="openPageBuilder" type="button" selector="[data-index='description'] button.action-default"/>
1313
</section>
14+
<section name="StorefrontProductFullWidth">
15+
<element name="description" type="button" selector=".page-main-description"/>
16+
<element name="attributes" type="button" selector=".page-main-pagebuilder-attributes"/>
17+
<element name="moreInformation" type="button" selector=".additional-attributes-wrapper"/>
18+
<!-- Consider moving the below to core -->
19+
<element name="infoMain" type="button" selector=".product-info-main"/>
20+
<element name="media" type="button" selector=".product.media"/>
21+
<element name="reviews" type="button" selector=".block.review-add"/>
22+
<element name="related" type="button" selector=".block.related"/>
23+
<element name="upsell" type="button" selector=".block.upsell"/>
24+
</section>
1425
</sections>

0 commit comments

Comments
 (0)