Skip to content

Commit

Permalink
Fix README (#289)
Browse files Browse the repository at this point in the history
* Fix README

* Fix and lint

* Make integration test more robust
  • Loading branch information
fcollonval authored Nov 4, 2023
1 parent bbcac55 commit 13134a8
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 495 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# jupyterlab_variableinspector

<<<<<<< before updating
[![Extension status](https://img.shields.io/badge/status-ready-success 'ready to be used')](https://jupyterlab-contrib.github.io/)
![PyPi_Version](https://img.shields.io/pypi/v/lckr-jupyterlab-variableinspector)
![Build](https://github.com/jupyterlab-contrib/jupyterlab-variableInspector/workflows/Build/badge.svg)
Expand Down Expand Up @@ -28,10 +27,6 @@ Contributions in any form are welcome!
In order to allow variable inspection, all content that is displayed first need to be sent from the kernel to the front end.
Therefore, opening large data frames with the datagrid viewer can dramatically increase your occupied memory and _significantly slow down_ your browser.
Use at your own risk.
=======
[![Github Actions Status](https://github.com/jupyterlab-contrib/jupyterlab-variableInspector/workflows/Build/badge.svg)](https://github.com/jupyterlab-contrib/jupyterlab-variableInspector/actions/workflows/build.yml)[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jupyterlab-contrib/jupyterlab-variableInspector/main?urlpath=lab)
Variable inspector extension for JupyterLab
>>>>>>> after updating

## Requirements

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"prettier:check": "jlpm prettier:base --check",
"stylelint": "jlpm stylelint:check --fix",
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
"watch": "run-p watch:src watch:labextension",
"watch": "run-p watch:src watch:labextension",
"watch:labextension": "jupyter labextension watch .",
"watch:src": "tsc -w --sourceMap"
},
Expand All @@ -58,7 +58,7 @@
"@jupyterlab/coreutils": "^6.0.0",
"@jupyterlab/notebook": "^4.0.0",
"@jupyterlab/outputarea": "^4.0.0",
"@jupyterlab/rendermime": "^3.8.0",
"@jupyterlab/rendermime": "^4.0.0",
"@jupyterlab/services": "^7.0.0",
"@jupyterlab/ui-components": "^4.0.0",
"@lumino/coreutils": "^2.0.0",
Expand All @@ -70,7 +70,7 @@
},
"devDependencies": {
"@jupyterlab/builder": "^4.0.0",
"@types/json-schema": "^7.0.11",
"@types/json-schema": "^7.0.11",
"@types/react": "^18.0.26",
"@types/react-addons-linked-state-mixin": "^0.14.22",
"@typescript-eslint/eslint-plugin": "^6.1.0",
Expand All @@ -79,7 +79,7 @@
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"npm-run-all": "^4.1.5",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"source-map-loader": "^1.0.2",
Expand Down
7 changes: 3 additions & 4 deletions ui-tests/tests/lckr_jupyterlab_variableinspector.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { expect, test } from '@jupyterlab/galata';


test('test', async ({ page }) => {
await page.getByText('Python 3 (ipykernel)').first().click();
await page.getByText('Python 3 (ipykernel) | Idle').waitFor();
Expand All @@ -14,6 +13,6 @@ test('test', async ({ page }) => {
});
await page.getByRole('menu').getByText('Open Variable Inspector').click();

await expect(page.getByRole('row').nth(1)).toHaveText(/aint281$/)
await expect(page.getByRole('row').last()).toHaveText(/bstr46hello$/)
});
await expect(page.getByRole('row').nth(1)).toHaveText(/aint\d\d1$/);
await expect(page.getByRole('row').last()).toHaveText(/bstr\d\dhello$/);
});
Loading

0 comments on commit 13134a8

Please sign in to comment.