Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
data-cmp-readonly="${panel.readOnly ? 'true' : 'false'}"
title="${panel.tooltipVisible ? '' : panel.tooltipText}"
role="${container.roleAttribute}"
data-placeholder-text="${'Please drag Panel components here' @ i18n}"
style="${container.backgroundStyle @ context='styleString'}">
<div class="cmp-container__label-container" role="heading">
<div data-sly-call="${label.label @componentId=panel.id, labelValue=panel.label.value, labelVisible=panel.label.visible, labelRichText=panel.label.richText, bemBlock='cmp-container'}" data-sly-unwrap></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
class="cmp-container${wcmmode.edit ? ' {0}': '' @ format=[allowed.cssClass]}"
title="${panel.tooltipVisible ? '' : panel.tooltipText}"
role="${container.roleAttribute}"
data-placeholder-text="${'Please drag Panel components here' @ i18n}"
style="${container.backgroundStyle @ context='styleString'}">
<div class="cmp-container__label-container">
<div data-sly-call="${label.label @componentId=panel.id, labelValue=panel.label.value, labelVisible=panel.label.visible, labelRichText=panel.label.richText, bemBlock='cmp-container', isHeading=true}" data-sly-unwrap></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ describe('Page - Authoring', function () {
cy.deleteComponentByPath(panelEditPath);
});

it('Check placeholder text in Panel ', function () {
dropPanelInContainer();
cy.get(panelContainerPathSelector).get("[data-text='Please drag Panel components here']").should("exist");;
});

it('open edit dialog of Panel', function () {
testPanelBehaviour(panelContainerPathSelector, panelEditPath);
})
Expand Down