Skip to content

Commit 09cce79

Browse files
committed
chaining commands together to fix remote test
1 parent e30ca93 commit 09cce79

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cypress/e2e/playground.cy.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ describe('Flow-Playground frontend tests', () => {
2727

2828
// edit contract
2929
cy.get(ACCOUNTS_LIST).children().first().click();
30-
cy.get(MONACO_EDITOR).click().focused().type('{cmd}a').clear();
31-
cy.get(MONACO_EDITOR).should('be.empty');
32-
cy.get(DEPLOY_BUTTON).should('be.disabled');
33-
cy.get(MONACO_EDITOR).click().focused().type('access(all) contract HelloWorld { access(all) let greeting: String init() { self.greeting = "Hello, Other World!" } access(all) fun other_hello(): String {return self.greeting}}', {parseSpecialCharSequences: false});
30+
cy.get(MONACO_EDITOR).click().focused().type('{cmd}a').clear().type('access(all) contract HelloWorld { access(all) let greeting: String init() { self.greeting = "Hello, Other World!" } access(all) fun other_hello(): String {return self.greeting}}', {parseSpecialCharSequences: false});
3431
cy.get(DEPLOY_BUTTON).should('be.enabled');
3532
cy.get(DEPLOY_BUTTON).should('have.text', 'Redeploy').click();
3633
cy.get('[data-test="redeploy-confirm-button"]').should('exist').click();

0 commit comments

Comments
 (0)