Files
threshold-ui/ui/admin/tests/acceptance/onboarding/selectors.js
T
Priya Patel 34a670f8d7 Refactor: Onboarding tests selectors refactor (#2715)
* refactor: 💡 Onboarding tests

Refactor test selectors for onboarding acceptance tests

✅ Closes: #ICU-16398, #ICU-16399

* fix: 🐛 failing test

* chore: 🤖 add copyright header

* fix: 🐛 use AAA pattern and server.schema

* fix: 🐛 moved done button to selectors

* fix: 🐛 renamed copy text btn selector
2025-03-11 14:53:32 -07:00

13 lines
488 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
export const DO_THIS_LATER_BTN = '.rose-form-actions [type="button"]';
export const COPY_TEXT_BTN = '.hds-copy-snippet__text';
export const FIELD_TARGET_ADDRESS = '[name="targetAddress"]';
export const FIELD_TARGET_ADDRESS_VALUE = '192.168.1.0';
export const FIELD_TARGET_PORT = '[name="targetPort"]';
export const FIELD_TARGET_PORT_VALUE = '22';
export const DONE_BTN = '[data-test-onboarding-done-button]';