fix(columnDesc): await async function

This commit is contained in:
Camille 2023-02-13 09:24:12 +01:00
parent 7abecd4783
commit 4e8e087abf

View File

@ -25,7 +25,7 @@ describe('DescriptionColumn', function() {
const doc = await mainSession.tempDoc(cleanup, "CardView.grist", { load: true }); const doc = await mainSession.tempDoc(cleanup, "CardView.grist", { load: true });
const docId = doc.id; const docId = doc.id;
addColumnDescription(api, docId, 'B'); await addColumnDescription(api, docId, 'B');
// Column description editable in right panel // Column description editable in right panel
await driver.find('.test-right-opener').click(); await driver.find('.test-right-opener').click();
@ -54,7 +54,7 @@ describe('DescriptionColumn', function() {
const doc = await mainSession.tempDoc(cleanup, "CardView.grist", { load: true }); const doc = await mainSession.tempDoc(cleanup, "CardView.grist", { load: true });
const docId = doc.id; const docId = doc.id;
addColumnDescription(api, docId, 'B'); await addColumnDescription(api, docId, 'B');
await gu.changeWidget('Card'); await gu.changeWidget('Card');