Path: blob/main/test/smoke/src/areas/workbench/launch.test.ts
3520 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45import { join } from 'path';6import { Application, Logger } from '../../../../automation';7import { installAllHandlers } from '../../utils';89export function setup(logger: Logger) {10describe('Launch', () => {1112// Shared before/after handling13installAllHandlers(logger, opts => {14if (opts.userDataDir) {15return { ...opts, userDataDir: join(opts.userDataDir, 'ø') };16}17return opts;18});1920it('verifies that application launches when user data directory has non-ascii characters', async function () {21const app = this.app as Application;22await app.workbench.explorer.openExplorerView();23});24});25}262728