Fix test for renaming a notebook

pull/6539/head
Jeremy Tuloup 4 years ago
parent 6e30026db8
commit 1249974a39

@ -42,10 +42,9 @@ test.describe('Notebook', () => {
// Rename in the input dialog
const newName = 'test.ipynb';
const newNameStripped = 'test';
await page.fill(
`//div[normalize-space(.)='File Path${notebook}New Name']/input`,
newName
);
await page
.locator(`text=File Path${NOTEBOOK}New Name >> input`)
.fill(newName);
await Promise.all([
await page.click('text="Rename"'),

Loading…
Cancel
Save