@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
34 lines • 1.56 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
const selectors_1 = require("@awsui/test-utils-core/selectors");
const button_1 = require("../button");
const styles_selectors_js_1 = require("../../../annotation-context/annotation/styles.selectors.js");
const styles_selectors_js_2 = require("../../../popover/styles.selectors.js");
class AnnotationWrapper extends selectors_1.ComponentWrapper {
findNextButton() {
return this.findComponent(`.${styles_selectors_js_1.default['next-button']}`, button_1.default);
}
findPreviousButton() {
return this.findComponent(`.${styles_selectors_js_1.default['previous-button']}`, button_1.default);
}
findFinishButton() {
return this.findComponent(`.${styles_selectors_js_1.default['finish-button']}`, button_1.default);
}
findStepCounter() {
return this.findByClassName(styles_selectors_js_1.default['step-counter-content']);
}
findHeader() {
return this.findByClassName(styles_selectors_js_1.default.header);
}
findContent() {
return this.findByClassName(styles_selectors_js_1.default.content);
}
findDismissButton() {
return this.findComponent(`.${styles_selectors_js_2.default['dismiss-control']}`, button_1.default);
}
}
exports.default = AnnotationWrapper;
AnnotationWrapper.rootSelector = styles_selectors_js_1.default.annotation;
//# sourceMappingURL=index.js.map