Skip to content

Commit

Permalink
restore navigation failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Quelca committed Oct 14, 2024
1 parent 253493b commit 7518342
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/form-builder-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export default [
order: 2.0,
group: 'Navigation',
label: 'Page Navigation',
component: 'FormPageNavigation',
component: 'FormButton',
'editor-component': 'FormButton',
'editor-control': 'PageNavigation',
config: {
Expand Down
7 changes: 5 additions & 2 deletions tests/e2e/specs/ClipboardTestCases.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
describe("Clipboard Button Actions", () => {

it("TCP4-4441: Verify clipboard in section column and dropdown menu", () => {
// Clear local storage
cy.clearLocalStorage();
cy.visit("/");
cy.openAcordeonByLabel("Clipboard");
cy.get("[data-cy=screen-drop-zone]").should(
Expand Down Expand Up @@ -148,8 +150,9 @@ describe("Clipboard Button Actions", () => {
cy.visit("/");
cy.openAcordeonByLabel("Navigation");
cy.wait(1000);

cy.get('[data-cy="controls"] > [data-cy="controls-FormPageNavigation"]').drag("[data-cy=screen-drop-zone]", { position: "bottom" });


cy.get('[data-cy=controls-FormButton]:contains("Page")').drag("[data-cy=screen-drop-zone]", { position: "bottom" });

cy.get(':nth-child(1) > [data-cy="screen-element-container"]').click();
cy.get('[data-cy="addToClipboard"]').should("be.visible");
Expand Down

0 comments on commit 7518342

Please sign in to comment.