-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into luigi-headless
- Loading branch information
Showing
31 changed files
with
227 additions
and
43 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
title: Luigi v2.14 | ||
seoMetaDescription: Release notes for Luigi v2.14 | ||
author: | ||
- Mahati Shankar | ||
layout: blog | ||
--- | ||
|
||
You can read about the new features in Luigi v2.14 in the release notes below. | ||
|
||
<!-- Excerpt --> | ||
|
||
|
||
#### E2E Tests With Nightwatch, WebdriverIO and Puppeteer | ||
|
||
The testing-utilities library now additionally supports Nightwatch, WebdriverIO and Puppeteer. You can now use these testing frameworks for your e2e tests. | ||
|
||
#### getCurrentRoute Has Been Added | ||
|
||
[getCurrentRoute](https://docs.luigi-project.io/docs/luigi-core-api?section=getcurrentroute) has been added to the Luigi core API which as the name suggests returns the current Luigi route. | ||
|
||
#### getCurrentTheme in WC Client | ||
|
||
The method [getCurrentTheme](https://docs.luigi-project.io/docs/luigi-core-api?section=getcurrenttheme) is now part of the core API so you can now use it in the WebComponent client too. | ||
|
||
|
||
#### Fix Top Nav Children Not Rendered | ||
|
||
Fixed issue where nodes weren't rendered in the top navigation under certain conditions. | ||
|
||
#### Bugfixes | ||
|
||
For a full list of bugfixes in this release, see our [changelog](https://github.com/SAP/luigi/blob/main/CHANGELOG.md). |
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
4 changes: 2 additions & 2 deletions
4
client-frameworks-support/testing-utilities/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 |
---|---|---|
|
@@ -17,5 +17,5 @@ | |
"micro-frontends", | ||
"microfrontends" | ||
], | ||
"version": "2.16.0" | ||
"version": "2.17.0" | ||
} |
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
24 changes: 24 additions & 0 deletions
24
container/cypress/e2e/test-app/iframe/iframe-cookies.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,24 @@ | ||
describe('Iframe Cookies Test', () => { | ||
const containerSelector = '[data-test-id="iframe-based-container-test"]'; | ||
let stub; | ||
|
||
beforeEach(() => { | ||
cy.visit('http://localhost:8080/iframe/iframe-cookies.html'); | ||
stub = cy.stub(); | ||
}); | ||
|
||
it('should not sent third party cookies request', () => { | ||
cy.on('window:alert', stub); | ||
|
||
cy.get(containerSelector) | ||
.should('have.attr', 'skip-cookie-check') | ||
.and('match', /true/); | ||
cy.get(containerSelector) | ||
.shadow() | ||
.get('iframe') | ||
.then(() => { | ||
cy.wrap(stub).should('not.have.been.calledWith', 'set-third-party-cookies-request'); | ||
cy.getCookie('luigiCookie').should('not.exist'); | ||
}); | ||
}); | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { LuigiCompoundContainer as default } from "./bundle.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 @@ | ||
export { LuigiContainer as default } from "./bundle.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<html> | ||
<head> | ||
<script type="module"> | ||
import '../bundle.js'; | ||
</script> | ||
</head> | ||
<body> | ||
<h3> | ||
This page is used to test **skip-cookie-check** feature for iFrame based LuigiContainer | ||
</h3> | ||
|
||
<div style="border:solid 1px blue; height: 400px"> | ||
<!-- Luigi Container to test general functionality--> | ||
<luigi-container | ||
data-test-id="iframe-based-container-test" | ||
viewURL="./microfrontend.html" | ||
skip-cookie-check="true" | ||
></luigi-container> | ||
</div> | ||
|
||
<script type="module"> | ||
import Events from '../bundle.js'; | ||
|
||
const luigiContainer = document.querySelector( | ||
'[data-test-id="iframe-based-container-test"]' | ||
); | ||
|
||
// SET_THIRD_PARTY_COOKIES_REQUEST - called on microfrontend startup | ||
luigiContainer.addEventListener(Events.SET_THIRD_PARTY_COOKIES_REQUEST, event => { | ||
console.log(Events.SET_THIRD_PARTY_COOKIES_REQUEST, event); | ||
alert( | ||
Events.SET_THIRD_PARTY_COOKIES_REQUEST, | ||
'message received: ' + JSON.stringify(event.detail.data.data) | ||
); | ||
}); | ||
</script> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,5 @@ | |
"micro-frontends", | ||
"microfrontends" | ||
], | ||
"version": "2.16.0" | ||
"version": "2.17.0" | ||
} |
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 |
---|---|---|
|
@@ -18,5 +18,5 @@ | |
"micro-frontends", | ||
"microfrontends" | ||
], | ||
"version": "2.16.0" | ||
"version": "2.17.0" | ||
} |
Oops, something went wrong.