mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
use gu.toggleSidePanel to open side panel (#523)
This hopefully fixes a test that was occasionally failing.
This commit is contained in:
parent
7be0ee289d
commit
33d24e50f6
@ -12,9 +12,7 @@ describe('DescriptionWidget', function() {
|
||||
await mainSession.tempDoc(cleanup, "CardView.grist", { load: true });
|
||||
|
||||
const newWidgetDesc = "This is the widget description\nIt is in two lines";
|
||||
await driver.find('.test-right-opener').click();
|
||||
// Sleep 100ms to let open the right panel and make the description input clickable
|
||||
await driver.sleep(100);
|
||||
await gu.toggleSidePanel('right', 'open');
|
||||
const rightPanelDescriptionInput = await driver.find('.test-right-panel .test-right-widget-description');
|
||||
await rightPanelDescriptionInput.click();
|
||||
await rightPanelDescriptionInput.sendKeys(newWidgetDesc);
|
||||
|
Loading…
Reference in New Issue
Block a user