-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(aggrid): regression test for v28 and v29 (#1698)
- Loading branch information
1 parent
2d4e3b8
commit 8bec56d
Showing
7 changed files
with
128 additions
and
0 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
Binary file added
BIN
+14.2 KB
...id.e2e.ts-snapshots/aggrid-version-28-1-chromium---theme-classic-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.2 KB
...d.e2e.ts-snapshots/aggrid-version-28-1-chromium---theme-classic-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.2 KB
...id.e2e.ts-snapshots/aggrid-version-29-1-chromium---theme-classic-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.2 KB
...d.e2e.ts-snapshots/aggrid-version-29-1-chromium---theme-classic-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,57 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Siemens AG | ||
SPDX-License-Identifier: MIT | ||
This source code is licensed under the MIT license found in the | ||
LICENSE file in the root directory of this source tree. | ||
--> | ||
<html> | ||
<head> | ||
<script src="https://cdn.jsdelivr.net/npm/ag-grid-community@28/dist/ag-grid-community.min.js"></script> | ||
<link rel="stylesheet" href="https://unpkg.com/ag-grid-community@28/styles/ag-grid.css" /> | ||
<link rel="stylesheet" href="https://unpkg.com/ag-grid-community@28/styles/ag-theme-alpine.css" /> | ||
|
||
<link rel="stylesheet" href="/dist/ix-aggrid/ix-aggrid.css" /> | ||
<link rel="stylesheet" href="/www/siemens-ix.css" /> | ||
<link rel="stylesheet" href="/www/ix-icons.css" /> | ||
<style> | ||
body { | ||
min-height: 100vh; | ||
width: 100%; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div style="width: 100%; height: 100%" class="ag-theme-alpine-dark ag-theme-ix"></div> | ||
<script type="module"> | ||
import { themeSwitcher } from './utils/test/theme-switcher.js'; | ||
|
||
themeSwitcher(); | ||
|
||
(() => { | ||
const columnDefs = [ | ||
{ field: 'make', resizable: true, checkboxSelection: true }, | ||
{ field: 'model', resizable: true, sortable: true, filter: true }, | ||
{ field: 'price', resizable: true, editable: true }, | ||
]; | ||
|
||
const rowData = [ | ||
{ make: 'Toyota', model: 'Celica', price: 35000, checked: false }, | ||
{ make: 'Ford', model: 'Mondeo', price: 32000, checked: true }, | ||
{ make: 'Porsche', model: 'Boxster', price: 72000, checked: false }, | ||
]; | ||
|
||
const gridOptions = { | ||
columnDefs: columnDefs, | ||
rowData: rowData, | ||
rowSelection: 'multiple', | ||
suppressCellFocus: true, | ||
}; | ||
|
||
const gridDiv = document.querySelector('div.ag-theme-ix'); | ||
const grid = new agGrid.Grid(gridDiv, gridOptions); | ||
})(); | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Siemens AG | ||
SPDX-License-Identifier: MIT | ||
This source code is licensed under the MIT license found in the | ||
LICENSE file in the root directory of this source tree. | ||
--> | ||
<html> | ||
<head> | ||
<script src="https://cdn.jsdelivr.net/npm/ag-grid-community@29/dist/ag-grid-community.min.js"></script> | ||
<link rel="stylesheet" href="https://unpkg.com/ag-grid-community@29/styles/ag-grid.css" /> | ||
<link rel="stylesheet" href="https://unpkg.com/ag-grid-community@29/styles/ag-theme-alpine.css" /> | ||
|
||
<link rel="stylesheet" href="/dist/ix-aggrid/ix-aggrid.css" /> | ||
<link rel="stylesheet" href="/www/siemens-ix.css" /> | ||
<link rel="stylesheet" href="/www/ix-icons.css" /> | ||
<style> | ||
body { | ||
min-height: 100vh; | ||
width: 100%; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div style="width: 100%; height: 100%" class="ag-theme-alpine-dark ag-theme-ix"></div> | ||
<script type="module"> | ||
import { themeSwitcher } from './utils/test/theme-switcher.js'; | ||
|
||
themeSwitcher(); | ||
|
||
(() => { | ||
const columnDefs = [ | ||
{ field: 'make', resizable: true, checkboxSelection: true }, | ||
{ field: 'model', resizable: true, sortable: true, filter: true }, | ||
{ field: 'price', resizable: true, editable: true }, | ||
]; | ||
|
||
const rowData = [ | ||
{ make: 'Toyota', model: 'Celica', price: 35000, checked: false }, | ||
{ make: 'Ford', model: 'Mondeo', price: 32000, checked: true }, | ||
{ make: 'Porsche', model: 'Boxster', price: 72000, checked: false }, | ||
]; | ||
|
||
const gridOptions = { | ||
columnDefs: columnDefs, | ||
rowData: rowData, | ||
rowSelection: 'multiple', | ||
suppressCellFocus: true, | ||
}; | ||
|
||
const gridDiv = document.querySelector('div.ag-theme-ix'); | ||
const grid = new agGrid.Grid(gridDiv, gridOptions); | ||
})(); | ||
</script> | ||
</body> | ||
</html> |