// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module ash.settings.mojom;
// The test API for the settings-password-settings element.
interface PasswordSettingsApi {
// Checks the local password dialog is opened after clicking the Setup
// button.
AssertCanOpenLocalPasswordDialog() => ();
// Checks the submit button on the local password dialog is enabled
// after entering a valid password.
AssertSubmitButtonEnabledForValidPasswordInput() => ();
// Checks the submit button on the local password dialog is disabled
// after entering a invalid password.
AssertSubmitButtonDisabledForInvalidPasswordInput() => ();
};