-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test for extension showing up in the Settings Editor right away
- Loading branch information
1 parent
7ebb8dc
commit a79b72e
Showing
1 changed file
with
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { expect, test } from '@jupyterlab/galata'; | ||
|
||
test.describe('Settings Editor', () => { | ||
test('Execute Time show up in the Settings Editor', async ({ page }) => { | ||
await page.evaluate(async () => { | ||
await window.jupyterapp.commands.execute('settingeditor:open'); | ||
}); | ||
const plugin = page.locator( | ||
'.jp-PluginList .jp-PluginList-entry >> text="Execute Time"' | ||
); | ||
|
||
expect(plugin).toHaveCount(1); | ||
Check failure on line 12 in ui-tests/tests/settings_editor.spec.ts GitHub Actions / Integration teststests/settings_editor.spec.ts:4:7 › Settings Editor › Execute Time show up in the Settings Editor
Check failure on line 12 in ui-tests/tests/settings_editor.spec.ts GitHub Actions / Integration teststests/settings_editor.spec.ts:4:7 › Settings Editor › Execute Time show up in the Settings Editor
|
||
}); | ||
}); |