mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +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,
|
||||
itemTestId: DomElementMethod | null
|
||||
}) => {
|
||||
return radioCheckboxOption(selected, type, dom('div',
|
||||
return radioCheckboxOption(selected, type, dom('div',
|
||||
dom('div',
|
||||
dom('strong', label),
|
||||
),
|
||||
|
@ -28,7 +28,7 @@ describe("Document Type Conversion", function () {
|
||||
assert.isTrue(await button.visible());
|
||||
}
|
||||
|
||||
async function convert(from: String, to: TypeLabels) {
|
||||
async function convert(from: TypeLabels, to: TypeLabels) {
|
||||
await gu.openDocumentSettings();
|
||||
|
||||
// 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.
|
||||
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 () => {
|
||||
assert.match(await driver.find('.test-tooltip').getText(), /Only available to document owners/);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user