diff --git a/apps/governance-e2e/src/integration/flow/proposal-flow.cy.ts b/apps/governance-e2e/src/integration/flow/proposal-flow.cy.ts index 8c66f8689..c5f72c211 100644 --- a/apps/governance-e2e/src/integration/flow/proposal-flow.cy.ts +++ b/apps/governance-e2e/src/integration/flow/proposal-flow.cy.ts @@ -320,8 +320,8 @@ context( // 3001-VOTE-076 cy.getByTestId(connectToVegaWalletButton) .should('be.visible') - .and('have.text', 'Connect Vega wallet') - .click(); + .and('have.text', 'Connect Vega wallet'); + cy.getByTestId(connectToVegaWalletButton).click(); cy.getByTestId('connector-jsonRpc').click(); cy.getByTestId(vegaWalletNameElement).should('be.visible'); cy.getByTestId(connectToVegaWalletButton).should('not.exist'); diff --git a/apps/governance-e2e/src/integration/view/home.cy.ts b/apps/governance-e2e/src/integration/view/home.cy.ts index 4ceff6fa7..6e2df34fd 100644 --- a/apps/governance-e2e/src/integration/view/home.cy.ts +++ b/apps/governance-e2e/src/integration/view/home.cy.ts @@ -161,7 +161,7 @@ context('Home Page - verify elements on page', { tags: '@smoke' }, function () { cy.getByTestId('menu-drawer').should('be.visible'); }); - it.skip('should have link for proposal page', function () { + it('should have link for proposal page', function () { cy.getByTestId('menu-drawer').within(() => { cy.get('[href="/proposals"]') .should('exist') diff --git a/apps/governance-e2e/src/integration/view/pubkey-view.cy.ts b/apps/governance-e2e/src/integration/view/pubkey-view.cy.ts index 794aeddf7..edd20d669 100644 --- a/apps/governance-e2e/src/integration/view/pubkey-view.cy.ts +++ b/apps/governance-e2e/src/integration/view/pubkey-view.cy.ts @@ -1,13 +1,12 @@ /// import { - navigateTo, - navigation, turnTelemetryOff, waitForSpinner, } from '../../support/common.functions'; import { - enterUniqueFreeFormProposalBody, + createTenDigitUnixTimeStampForSpecifiedDays, + enterRawProposalBody, goToMakeNewProposal, governanceProposalType, } from '../../support/governance.functions'; @@ -47,12 +46,11 @@ context('View functionality with public key', { tags: '@smoke' }, function () { .and('contain.text', 'USDC (fake)'); }); - it.skip('Unable to submit proposal with public key', function () { + it('Unable to submit proposal with public key', function () { const expectedErrorTxt = `You are connected in a view only state for public key: ${vegaWalletPubKey}. In order to send transactions you must connect to a real wallet.`; - navigateTo(navigation.proposals); - goToMakeNewProposal(governanceProposalType.FREEFORM); - enterUniqueFreeFormProposalBody('50', 'pub key proposal test'); + goToMakeNewProposal(governanceProposalType.RAW); + enterRawProposalBody(createTenDigitUnixTimeStampForSpecifiedDays(8)); cy.getByTestId('dialog-content') .first() .within(() => {