-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI issue in the "tree view" #7216 #7253
base: main
Are you sure you want to change the base?
Changes from all commits
9435aa4
e2cd845
4db90fe
6d8a7ea
32d4b68
7f649db
e9bf7e7
43504d6
a1fadbd
d0f67f5
b9a0f13
5ad9df6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Unchanged files with check annotations Beta
const toolbar = page.getByRole('toolbar'); | ||
['Rename', 'Delete', 'Open', 'Download', 'Delete'].forEach(async (text) => { | ||
expect(toolbar.getByText(text)).toBeVisible(); | ||
Check failure on line 39 in ui-tests/test/filebrowser.spec.ts
|
||
}); | ||
}); | ||
// Copyright (c) Jupyter Development Team. | ||
Check failure on line 1 in ui-tests/test/mobile.spec.ts
|
||
// Distributed under the terms of the Modified BSD License. | ||
import { expect } from '@playwright/test'; | ||
// Create a new notebook | ||
const [notebook] = await Promise.all([ | ||
page.waitForEvent('popup'), | ||
Check failure on line 33 in ui-tests/test/mobile.spec.ts
|
||
page.click('text="New"'), | ||
page.click('text="Python 3 (ipykernel)"'), | ||
]); |
// Copyright (c) Jupyter Development Team. | ||
Check failure on line 1 in ui-tests/test/links.spec.ts
|
||
// Distributed under the terms of the Modified BSD License. | ||
import path from 'path'; | ||
await page.goto(`notebooks/${tmpPath}/${NOTEBOOK}`); | ||
const [current] = await Promise.all([ | ||
page.waitForEvent('popup'), | ||
Check failure on line 25 in ui-tests/test/links.spec.ts
|
||
page.getByText('Current Directory').last().click(), | ||
]); | ||
// Copyright (c) Jupyter Development Team. | ||
Check failure on line 1 in ui-tests/test/notebook.spec.ts
|
||
// Distributed under the terms of the Modified BSD License. | ||
import path from 'path'; | ||
await Promise.all([ | ||
await page.click('text="Rename"'), | ||
// wait until the URL is updated | ||
await page.waitForNavigation(), | ||
Check failure on line 52 in ui-tests/test/notebook.spec.ts
|
||
]); | ||
// Check the URL contains the new name |
import { expect } from '@playwright/test'; | ||
Check failure on line 1 in ui-tests/test/smoke.spec.ts
|
||
import { test } from './fixtures'; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if following a similar logic as in JupyterLab (disposing the command after routing) could help keep things simpler and avoid special cases using patterns?
https://github.com/jupyterlab/jupyterlab/blob/cdca0a20ba84af21922c390c46e086e50120d4cc/packages/application-extension/src/index.tsx#L938-L939