-
Notifications
You must be signed in to change notification settings - Fork 173
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
Showing
59 changed files
with
1,454 additions
and
1,403 deletions.
There are no files selected for viewing
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
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Test Suite: `/examples` | ||
|
||
This test suite is used to add tests for our **/container/examples** application, to make sure that our provided simple examples are working and up to date. |
17 changes: 17 additions & 0 deletions
17
container/cypress/e2e/examples/simple-compound-wc-setup.cy.js
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
describe('Simple Examples Compound Container Test', () => { | ||
beforeEach(() => { | ||
cy.visit('http://localhost:2222'); | ||
}); | ||
|
||
it('Compound WebComponent Container loading inner text', () => { | ||
cy.visit('http://localhost:2222/compound-container/index.html'); | ||
|
||
cy.get('luigi-compound-container') | ||
.shadow() | ||
.find('h2') | ||
.should( | ||
'contain.text', | ||
' Hello From Web Component 1 -- some content -- Hello From Web Component 2 Hello From Web Component 3 Hello From Web Component 4 ' | ||
); | ||
}); | ||
}); |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
describe('Simple Examples Iframe Container Test', () => { | ||
beforeEach(() => { | ||
cy.visit('http://localhost:2222'); | ||
}); | ||
|
||
it('Iframe Container Test', () => { | ||
cy.visit('http://localhost:2222/container-iframe/index.html'); | ||
|
||
cy.get('luigi-container') | ||
.shadow() | ||
.get('iframe') | ||
.then(iframe => { | ||
const $body = iframe.contents().find('body'); | ||
cy.wrap($body).contains('This is an iframe based microfrontend container'); | ||
}); | ||
}); | ||
}); |
Oops, something went wrong.