Skip to content

Commit

Permalink
#1023 Fix for interaction tests
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Nov 7, 2019
1 parent 48ce7a9 commit fa7d1ac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cypress/integration/other/interaction.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('Interaction', () => {
cy.viewport(1440, 1024);
cy.visit(url);
cy.get('body')
.find('g#s1Function')
.find('g#mermaid-dom-id-1Function')
.click();

cy.get('.created-by-click').should('have.text', 'Clicked By Flow');
Expand All @@ -38,7 +38,7 @@ describe('Interaction', () => {
cy.viewport(1440, 1024);
cy.visit(url);
cy.get('body')
.find('g#s2URL')
.find('g#mermaid-dom-id-2URL')
.click();

cy.location().should(location => {
Expand Down Expand Up @@ -108,7 +108,7 @@ describe('Interaction', () => {
cy.viewport(1440, 1024);
cy.visit(url);
cy.get('body')
.find('g#s1Function')
.find('g#mermaid-dom-id-1Function')
.click();

cy.get('.created-by-click').should('not.have.text', 'Clicked By Flow');
Expand All @@ -130,7 +130,7 @@ describe('Interaction', () => {
cy.viewport(1440, 1024);
cy.visit(url);
cy.get('body')
.find('g#s2URL')
.find('g#mermaid-dom-id-2URL')
.click();

cy.location().should(location => {
Expand Down Expand Up @@ -200,7 +200,7 @@ describe('Interaction', () => {
cy.viewport(1440, 1024);
cy.visit(url);
cy.get('body')
.find('g#s1Function')
.find('g#mermaid-dom-id-1Function')
.click();

cy.get('.created-by-click').should('not.have.text', 'Clicked By Flow');
Expand Down

0 comments on commit fa7d1ac

Please sign in to comment.