open-nomad/ui/tests/pages/variables.js
Phil Renaud 7de6301054 Throw an error if you try to save a Secure Variable with no items (#13424)
* Error thrown if you have no KVs on save

* Acceptance tests for flash messages and no-key-value adds

* Post-hoc accounting for new variable path routing

* Trim on key before validating it as existing
2022-07-11 13:34:06 -04:00

7 lines
163 B
JavaScript

import { create, visitable } from 'ember-cli-page-object';
export default create({
visit: visitable('/variables'),
visitNew: visitable('/variables/new'),
});