Skip to content

Commit 70da430

Browse files
martinRenougaborbernat
authored andcommitted
Update Galata for UI testing
Signed-off-by: martinRenou <[email protected]>
1 parent 94cf980 commit 70da430

File tree

6 files changed

+2108
-1450
lines changed

6 files changed

+2108
-1450
lines changed

ui-tests-ipw7/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "ipydatagrid",
1515
"license": "Apache-2.0",
1616
"dependencies": {
17-
"@jupyterlab/galata": "~4.0.2",
17+
"@jupyterlab/galata": "~4.5.0",
1818
"klaw-sync": "^6.0.0",
1919
"rimraf": "^3.0.2"
2020
}

ui-tests-ipw7/tests/ipydatagrid.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const testCellOutputs = async (page: IJupyterLabPageFixture, tmpPath: string, th
1616
const paths = klaw(path.resolve(__dirname, './notebooks'), { filter: item => !filterUpdateNotebooks(item), nodir: true });
1717
const notebooks = paths.map(item => path.basename(item.path));
1818

19-
const contextPrefix = theme == 'JupyterLab Light' ? 'light_' : 'dark_';
19+
const contextPrefix = theme == 'JupyterLab Light' ? 'light' : 'dark';
2020
page.theme.setTheme(theme);
2121

2222
for (const notebook of notebooks) {
@@ -55,7 +55,7 @@ const testPlotUpdates = async (page: IJupyterLabPageFixture, tmpPath: string, th
5555
const paths = klaw(path.resolve(__dirname, './notebooks'), { filter: item => filterUpdateNotebooks(item), nodir: true });
5656
const notebooks = paths.map(item => path.basename(item.path));
5757

58-
const contextPrefix = theme == 'JupyterLab Light' ? 'light_' : 'dark_';
58+
const contextPrefix = theme == 'JupyterLab Light' ? 'light' : 'dark';
5959
page.theme.setTheme(theme);
6060

6161
for (const notebook of notebooks) {

0 commit comments

Comments
 (0)