@ui5/webcomponents-tools 2.2.0-rc.3 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,14 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [2.2.0](https://github.com/SAP/ui5-webcomponents/compare/v2.2.0-rc.3...v2.2.0) (2024-09-03)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @ui5/webcomponents-tools
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
6
14
|
# [2.2.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v2.2.0-rc.2...v2.2.0-rc.3) (2024-08-29)
|
7
15
|
|
8
16
|
**Note:** Version bump only for package @ui5/webcomponents-tools
|
@@ -2,16 +2,16 @@
|
|
2
2
|
<html>
|
3
3
|
|
4
4
|
<head>
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
7
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
8
|
+
<meta name="sap-allowedThemeOrigins" content="https://example.com">
|
9
|
+
<title>Components App</title>
|
10
|
+
<script data-ui5-config type="application/json">{}</script>
|
11
11
|
</head>
|
12
12
|
|
13
13
|
<body>
|
14
|
-
|
14
|
+
<div data-cy-root></div>
|
15
15
|
</body>
|
16
16
|
|
17
17
|
</html>
|
@@ -4,20 +4,20 @@ import "cypress-real-events";
|
|
4
4
|
|
5
5
|
export type Renderable = HTMLTemplateResult;
|
6
6
|
export interface MountUI5Options extends MountLitTemplateOptions {
|
7
|
-
|
7
|
+
ui5Configuration: object;
|
8
8
|
}
|
9
9
|
export type MountOptions = Partial<MountUI5Options>;
|
10
10
|
export declare function mount<T extends keyof HTMLElementTagNameMap = any>(component: string | Renderable, options?: MountOptions): Cypress.Chainable<JQuery<HTMLElementTagNameMap[T]>>;
|
11
11
|
declare global {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
namespace Cypress {
|
13
|
+
interface Chainable {
|
14
|
+
/**
|
15
|
+
* Mount your component into Cypress sandbox
|
16
|
+
* @param component content to render by lit-html render function
|
17
|
+
* @param options render options for custom rendering
|
18
|
+
*/
|
19
|
+
mount: typeof mount;
|
20
|
+
}
|
21
|
+
}
|
22
22
|
}
|
23
23
|
|
@@ -3,17 +3,19 @@ const path = require("path");
|
|
3
3
|
const rootConfig = require("../../../vite.config.js");
|
4
4
|
|
5
5
|
module.exports = defineConfig({
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
6
|
+
component: {
|
7
|
+
supportFile: path.join(__dirname, "cypress/support/component.js"),
|
8
|
+
indexHtmlFile: path.join(__dirname, "cypress/support/component-index.html"),
|
9
|
+
specPattern: "**/specs/*.cy.{js,ts}",
|
10
|
+
devServer: {
|
11
|
+
framework: 'cypress-ct-lit',
|
12
|
+
bundler: 'vite',
|
13
|
+
viteConfig: rootConfig,
|
14
|
+
}
|
15
|
+
},
|
16
|
+
video: false,
|
17
|
+
screenshotOnRunFailure: false,
|
18
|
+
scrollBehavior: false,
|
19
|
+
viewportHeight: 1080,
|
20
|
+
viewportWidth: 1440,
|
19
21
|
})
|
@@ -60,7 +60,8 @@ exports.config = {
|
|
60
60
|
// to run chrome headless the following flags are required
|
61
61
|
// (see https://developers.google.com/web/updates/2017/04/headless-chrome)
|
62
62
|
args: [
|
63
|
-
'--headless',
|
63
|
+
'--headless=old',
|
64
|
+
'--disable-search-engine-choice-screen',
|
64
65
|
'--start-maximized',
|
65
66
|
'--no-sandbox',
|
66
67
|
'--disable-gpu',
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ui5/webcomponents-tools",
|
3
|
-
"version": "2.2.0
|
3
|
+
"version": "2.2.0",
|
4
4
|
"description": "UI5 Web Components: webcomponents.tools",
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
6
6
|
"license": "Apache-2.0",
|
@@ -86,5 +86,5 @@
|
|
86
86
|
"esbuild": "^0.19.9",
|
87
87
|
"yargs": "^17.5.1"
|
88
88
|
},
|
89
|
-
"gitHead": "
|
89
|
+
"gitHead": "15c5f5eba0d2d366c3022c99dbeb2a60658b0759"
|
90
90
|
}
|