mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-17 12:07:02 +02:00
* remove Ember Logger
* remove jquery
* prevent setting ember string methods on string
* remove reopen class
* Revert "remove reopen class"
This reverts commit d6a48f1486
.
* redo
* clean up
* fix test
* Update ui/app/styles/components/tabs.scss
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
* fix test
* test clean up
* clean up cont.
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
20 lines
541 B
JavaScript
20 lines
541 B
JavaScript
import { create, attribute, visitable, collection, hasClass, text } from 'ember-cli-page-object';
|
|
|
|
export default create({
|
|
visit: visitable('/vault/access/'),
|
|
navLinks: collection('[data-test-link]', {
|
|
isActive: hasClass('active'),
|
|
text: text(),
|
|
scope: '[data-test-sidebar]',
|
|
}),
|
|
|
|
backendLinks: collection('[data-test-auth-backend-link]', {
|
|
path: text('[data-test-path]'),
|
|
id: attribute('data-test-id', '[data-test-path]'),
|
|
}),
|
|
|
|
findLinkById(id) {
|
|
return this.backendLinks.filterBy('id', id)[0];
|
|
},
|
|
});
|