mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
test(columnDesc): add semi column
This commit is contained in:
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…
Reference in New Issue
Block a user