Files
threshold-ui/e2e-tests/desktop/global-setup.js
T
Michael Li 6d7e24fdc5 chore(e2e): Log in via CLI during global setup to update cache (#3235)
* chore(e2e): log in via CLI

* CR

* CR: Rename ci option
2026-04-23 11:57:24 -04:00

19 lines
557 B
JavaScript

/**
* Copyright IBM Corp. 2021, 2026
* SPDX-License-Identifier: BUSL-1.1
*/
import * as boundaryCli from '../helpers/boundary-cli.js';
import baseGlobalSetup from '../global-setup.js';
export default async function globalSetup() {
await baseGlobalSetup();
// when running locally, there's a chance that the cache could be running an
// older version.
// stop the cache if it's running, and the desktop client will automatically
// start the cache after logging in .
await boundaryCli.checkBoundaryCli();
await boundaryCli.stopCache();
}