/**
 * Test script to validate the external command line
 */ import * as assert from "assert" ; import * as Oni from "oni-api" ; import { getElementByClassName } from "./Common" ; export const test = async ( oni ) => { await oni . automation . waitForEditors ( ) ; oni . automation . sendKeys ( ":" ) ; await oni . automation . waitFor ( ( ) => ! ! getElementByClassName ( "command-line" ) ) ; assert . ok ( ! ! getElementByClassName ( "command-line" ) , "Validate command line UI is shown" ) ; } ; export const settings = { config : { "experimental.commandline.mode" : true , } , } ;