@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
23 lines • 1.03 kB
JavaScript
;
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
const selectors_1 = require("@awsui/test-utils-core/selectors");
const styles_selectors_js_1 = require("../../../prompt-input/test-classes/styles.selectors.js");
class PromptInputWrapper extends selectors_1.ComponentWrapper {
findNativeTextarea() {
return this.findByClassName(styles_selectors_js_1.default.textarea);
}
findActionButton() {
return this.findByClassName(styles_selectors_js_1.default['action-button']);
}
findSecondaryActions() {
return this.findByClassName(styles_selectors_js_1.default['secondary-actions']);
}
findSecondaryContent() {
return this.findByClassName(styles_selectors_js_1.default['secondary-content']);
}
}
exports.default = PromptInputWrapper;
PromptInputWrapper.rootSelector = styles_selectors_js_1.default.root;
//# sourceMappingURL=index.js.map