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 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", () => {