Fix pipeline errors

This commit is contained in:
Sung-Hyun Kang
2025-04-27 19:21:42 -05:00
parent 92b288eee7
commit 0f8c6bd524
3 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
import { AzureCliCredential } from "@azure/identity";
import { DefaultAzureCredential } from "@azure/identity";
import { Frame, Locator, Page, expect } from "@playwright/test";
import crypto from "crypto";
@@ -20,8 +20,8 @@ export function generateUniqueName(baseName, options?: TestNameOptions): string
return `${prefix}${baseName}${crypto.randomBytes(length).toString("hex")}${suffix}`;
}
export function getAzureCLICredentials(): AzureCliCredential {
return new AzureCliCredential();
export function getAzureCLICredentials(): DefaultAzureCredential {
return new DefaultAzureCredential();
}
export async function getAzureCLICredentialsToken(): Promise<string> {