-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7eaf4c3
commit 75b7fd3
Showing
14 changed files
with
56 additions
and
55 deletions.
There are no files selected for viewing
19 changes: 9 additions & 10 deletions
19
examples/react-nextjs/app/components/TestCustomButton.cy.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
import React from 'react'; | ||
import TestCustomButton from './TestCustomButton'; | ||
import TestCustomButton from './TestCustomButton' | ||
|
||
describe('<TestCustomButton />', () => { | ||
it('renders', () => { | ||
cy.mount(<TestCustomButton />); | ||
cy.mount(<TestCustomButton />) | ||
|
||
cy.get('button').should('have.text', 'Launch with Custom Component'); | ||
cy.get('button').should('have.text', 'Launch with Custom Component') | ||
|
||
// Wait for script to become interactive. This is almost instananeous locally but takes time in CI. | ||
cy.wait(1250); | ||
cy.wait(1250) | ||
|
||
// Launch the Connector | ||
cy.get('iframe#quiltt--frame').should('not.exist'); | ||
cy.get('button').click(); | ||
cy.get('iframe#quiltt--frame').should('be.visible'); | ||
cy.get('iframe#quiltt--frame').should('not.exist') | ||
cy.get('button').click() | ||
cy.get('iframe#quiltt--frame').should('be.visible') | ||
|
||
// TODO: Check that iframe is rendered. https://github.com/cypress-io/cypress/issues/136 | ||
// cy.get('iframe#quiltt--frame').should('contains.text', 'Stitching finance together') | ||
}); | ||
}); | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
examples/react-nextjs/app/components/TestCustomContainer.cy.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 9 additions & 10 deletions
19
examples/react-nextjs/app/components/TestHTMLLauncher.cy.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
import React from 'react'; | ||
import TestHTMLLauncher from './TestHTMLLauncher'; | ||
import TestHTMLLauncher from './TestHTMLLauncher' | ||
|
||
describe('<TestHTMLLauncher />', () => { | ||
it('renders', () => { | ||
cy.mount(<TestHTMLLauncher />); | ||
cy.mount(<TestHTMLLauncher />) | ||
|
||
cy.get('a').should('contains.text', 'Launch with HTML'); | ||
cy.get('a').should('contains.text', 'Launch with HTML') | ||
|
||
// Wait for script to become interactive. This is almost instananeous locally but takes time in CI. | ||
cy.wait(1250); | ||
cy.wait(1250) | ||
|
||
// Launch the Connector | ||
cy.get('iframe#quiltt--frame').should('not.exist'); | ||
cy.get('a').click(); | ||
cy.get('iframe#quiltt--frame').should('be.visible'); | ||
cy.get('iframe#quiltt--frame').should('not.exist') | ||
cy.get('a').click() | ||
cy.get('iframe#quiltt--frame').should('be.visible') | ||
|
||
// TODO: Check that iframe is rendered. https://github.com/cypress-io/cypress/issues/136 | ||
// cy.get('iframe#quiltt--frame').should('contains.text', 'Stitching finance together') | ||
}); | ||
}); | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 9 additions & 10 deletions
19
examples/react-nextjs/app/components/TestJSLauncher.cy.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
import React from 'react'; | ||
import TestJSLauncher from './TestJSLauncher'; | ||
import TestJSLauncher from './TestJSLauncher' | ||
|
||
describe('<TestJSLauncher />', () => { | ||
it('renders', () => { | ||
cy.mount(<TestJSLauncher />); | ||
cy.mount(<TestJSLauncher />) | ||
|
||
cy.get('button').should('contains.text', 'Launch with Javascript'); | ||
cy.get('button').should('contains.text', 'Launch with Javascript') | ||
|
||
// Wait for script to become interactive. This is almost instananeous locally but takes time in CI. | ||
cy.wait(1250); | ||
cy.wait(1250) | ||
|
||
// Launch the Connector | ||
cy.get('iframe#quiltt--frame').should('not.exist'); | ||
cy.get('button').click(); | ||
cy.get('iframe#quiltt--frame').should('be.visible'); | ||
cy.get('iframe#quiltt--frame').should('not.exist') | ||
cy.get('button').click() | ||
cy.get('iframe#quiltt--frame').should('be.visible') | ||
|
||
// TODO: Check that iframe is rendered. https://github.com/cypress-io/cypress/issues/136 | ||
// cy.get('iframe#quiltt--frame').should('contains.text', 'Stitching finance together') | ||
}); | ||
}); | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 9 additions & 10 deletions
19
examples/react-nextjs/app/components/TestQuilttButton.cy.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
import React from 'react'; | ||
import TestQuilttButton from './TestQuilttButton'; | ||
import TestQuilttButton from './TestQuilttButton' | ||
|
||
describe('<TestQuilttButton />', () => { | ||
it('renders', () => { | ||
cy.mount(<TestQuilttButton />); | ||
cy.mount(<TestQuilttButton />) | ||
|
||
cy.get('button').should('have.text', 'Launch with Component'); | ||
cy.get('button').should('have.text', 'Launch with Component') | ||
|
||
// Wait for script to become interactive. This is almost instananeous locally but takes time in CI. | ||
cy.wait(1250); | ||
cy.wait(1250) | ||
|
||
// Launch the Connector | ||
cy.get('iframe#quiltt--frame').should('not.exist'); | ||
cy.get('button').click(); | ||
cy.get('iframe#quiltt--frame').should('be.visible'); | ||
cy.get('iframe#quiltt--frame').should('not.exist') | ||
cy.get('button').click() | ||
cy.get('iframe#quiltt--frame').should('be.visible') | ||
|
||
// TODO: Check that iframe is rendered. https://github.com/cypress-io/cypress/issues/136 | ||
// cy.get('iframe#quiltt--frame').should('contains.text', 'Stitching finance together') | ||
}); | ||
}); | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
examples/react-nextjs/app/components/TestQuilttContainer.cy.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters