From 31a00bcf838ad7df0fcb7189f490b5b00721d598 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelca Date: Tue, 21 Jan 2025 14:33:03 -0400 Subject: [PATCH 1/2] FOUR-21178: Navigation button shouldn't have the clipboard page as an option --- src/components/editor/loop.vue | 4 ++-- src/components/editor/multi-column.vue | 4 ++-- src/components/vue-form-builder.vue | 4 ++-- src/form-builder-controls.js | 2 +- tests/e2e/specs/ClipboardTestCases.spec.js | 11 +---------- 5 files changed, 8 insertions(+), 17 deletions(-) diff --git a/src/components/editor/loop.vue b/src/components/editor/loop.vue index 5277c14c5..453b53654 100644 --- a/src/components/editor/loop.vue +++ b/src/components/editor/loop.vue @@ -43,7 +43,7 @@
{ .should('have.length', 6); }); - it("TCP4-4443: Verify that the control from the NAVIGATION section have been added to the clipboard", () => { + it("TCP4-4443: Verify that the control from the NAVIGATION section have not been added to the clipboard", () => { cy.clearLocalStorage(); cy.visit("/"); cy.openAcordeonByLabel("Navigation"); @@ -166,16 +166,7 @@ describe("Clipboard Button Actions", () => { 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"); - cy.get('[data-cy="addToClipboard"]').click(); cy.get('[data-cy="addToClipboard"]').should("not.exist"); - cy.get('[data-cy="copied-badge"]').should("exist"); - - cy.get("[data-test=page-dropdown").click(); - cy.get("[data-test=clipboard]").should("exist").click({ force: true }); - cy.get('[data-cy="screen-element-container"]') - .children() - .should('have.length', 1); }); it("TCP4-4443: Verify that the control from the FILES section have been added to the clipboard", () => { From b844d018c35e64a9fa81ec0be4f49275a084e0d7 Mon Sep 17 00:00:00 2001 From: David Callizaya Date: Thu, 23 Jan 2025 10:25:17 -0400 Subject: [PATCH 2/2] Switch to Ubuntu 22.04 in Storybook workflow to fix browser installation issues on Ubuntu 24.04 (Noble) --- .github/workflows/storybook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 44c1d0cf2..af9d2df22 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -5,7 +5,7 @@ on: jobs: test: timeout-minutes: 60 - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3