/**
 * Copyright (c) HashiCorp, Inc.
 * SPDX-License-Identifier: BUSL-1.1
 */

import { click } from '@ember/test-helpers';
const SELECTORS = {
  dropdown: '[data-test-copy-menu-trigger]',
  wrapButton: '[data-test-wrap-button]',
};
export default async function assertSecretWrap(assert, server, path) {
  server.get(path, () => {
    assert.ok(true, `request made to ${path} when wrapping secret`);
  });
  await click(SELECTORS.dropdown);
  await click(SELECTORS.wrapButton);
}
