mirror of
https://github.com/gristlabs/grist-core.git
synced 2025-06-13 20:53:59 +00:00
fix: minor typos
This commit is contained in:
parent
fdf9e782fa
commit
9c9ccc4c15
@ -363,7 +363,7 @@ export class DocSettingsPage extends Disposable {
|
|||||||
description: string,
|
description: string,
|
||||||
itemTestId: DomElementMethod | null
|
itemTestId: DomElementMethod | null
|
||||||
}) => {
|
}) => {
|
||||||
return radioCheckboxOption(selected, type, dom('div',
|
return radioCheckboxOption(selected, type, dom('div',
|
||||||
dom('div',
|
dom('div',
|
||||||
dom('strong', label),
|
dom('strong', label),
|
||||||
),
|
),
|
||||||
|
@ -28,7 +28,7 @@ describe("Document Type Conversion", function () {
|
|||||||
assert.isTrue(await button.visible());
|
assert.isTrue(await button.visible());
|
||||||
}
|
}
|
||||||
|
|
||||||
async function convert(from: String, to: TypeLabels) {
|
async function convert(from: TypeLabels, to: TypeLabels) {
|
||||||
await gu.openDocumentSettings();
|
await gu.openDocumentSettings();
|
||||||
|
|
||||||
// Ensure that initial document type is the expected one.
|
// Ensure that initial document type is the expected one.
|
||||||
@ -145,6 +145,8 @@ describe("Document Type Conversion", function () {
|
|||||||
|
|
||||||
// Check that we have an informative tooltip.
|
// Check that we have an informative tooltip.
|
||||||
await start.mouseMove();
|
await start.mouseMove();
|
||||||
|
// Note that .test-tooltip may appear blank a first time,
|
||||||
|
// hence the necessity to use waitToPass instead of findWait.
|
||||||
await gu.waitToPass(async () => {
|
await gu.waitToPass(async () => {
|
||||||
assert.match(await driver.find('.test-tooltip').getText(), /Only available to document owners/);
|
assert.match(await driver.find('.test-tooltip').getText(), /Only available to document owners/);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user