Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forms 12668 #1044

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -22,6 +22,7 @@
data-cmp-adaptiveformcontainer-path="${formstructparser.formContainerPath}"
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, bemBlock='cmp-container'}" data-sly-unwrap></div>
Expand Down
Expand Up @@ -24,6 +24,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, bemBlock='cmp-container'}" data-sly-unwrap></div>
Expand Down
Expand Up @@ -92,6 +92,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