Switch integration tests to get application menus by IDs (#3912)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-10-07 15:30:52 -04:00
1 parent 724b9450a6
commit e10c13cdf4
6 files changed
+73 -165

No files matched your search

+3 -2
View File
@@ -33,8 +33,9 @@ export function getBundledKubectlVersion(): string {
export async function getAppVersionFromProxyServer(proxyPort: number): Promise<string> {
const response = await requestPromise({
method: "GET",
uri: `http://localhost:${proxyPort}/version`,
resolveWithFullResponse: true
uri: `http://127.0.0.1:${proxyPort}/version`,
resolveWithFullResponse: true,
proxy: undefined,
});
return JSON.parse(response.body).version;