open-consul/ui/packages/consul-ui/app/components/empty-state/pageobject.js

13 lines
238 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
export default (present) =>
(scope = '.empty-state') => {
return {
scope: scope,
login: present('[data-test-empty-state-login]'),
};
};