test(columnDesc): add semi column

pull/406/head
Camille 1 year ago
parent e46b93d57f
commit 4a239ad93b

@ -3,7 +3,7 @@ import * as gu from 'test/nbrowser/gristUtils';
import { setupTestSuite } from 'test/nbrowser/testUtils'; import { setupTestSuite } from 'test/nbrowser/testUtils';
function getDescriptionInput() { function getDescriptionInput() {
return driver.find('.test-right-panel .test-column-description') return driver.find('.test-right-panel .test-column-description');
} }
describe('DescriptionColumn', function() { describe('DescriptionColumn', function() {
@ -29,8 +29,6 @@ describe('DescriptionColumn', function() {
assert.equal(await getDescriptionInput().value(), 'This is the column description \nI am in two lines'); assert.equal(await getDescriptionInput().value(), 'This is the column description \nI am in two lines');
await getDescriptionInput().click()
// Remove the description // Remove the description
await api.applyUserActions(docId, [ await api.applyUserActions(docId, [
[ 'ModifyColumn', 'Table1', 'C', { [ 'ModifyColumn', 'Table1', 'C', {
@ -39,5 +37,5 @@ describe('DescriptionColumn', function() {
]); ]);
assert.equal(await getDescriptionInput().value(), ''); assert.equal(await getDescriptionInput().value(), '');
}) });
}) });

Loading…
Cancel
Save