diff --git a/test/smoke/suites/actionBar.test.ts b/test/smoke/suites/actionBar.test.ts index 891b8b6b6..2f5e17574 100644 --- a/test/smoke/suites/actionBar.test.ts +++ b/test/smoke/suites/actionBar.test.ts @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. -import { Page } from "playwright"; import { SmokeTestLogger } from "./helper/smokeTestLogger"; import { app, screenshots } from "./main"; import { ElementHelper } from "./helper/elementHelper"; @@ -12,9 +11,9 @@ import assert = require("assert"); export function startActionBarTests(): void { describe("ActionBarTest", () => { - async function initApp(): Promise { + async function initApp(): Promise { await app.launch(); - return app.getMainPage(); + await app.getMainPage(); } async function dispose(this: Mocha.Context): Promise { @@ -57,7 +56,6 @@ export function startActionBarTests(): void { Element.debugActionItemButtonSelector, ); await actionButton.click(); - await ComponentHelper.waitPackagerStateIncludes( "primitive-square", TimeoutConstants.PACKAGER_STATE_TIMEOUT,