#include "chrome/browser/ui/views/digital_credentials/digital_identity_multi_step_dialog.h"
#include "base/functional/callback_forward.h"
#include "base/scoped_observation.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_features.h"
#include "content/public/test/browser_test.h"
#include "testing/gtest/include/gtest/gtest-spi.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/events/test/test_event.h"
#include "ui/views/bubble/bubble_dialog_delegate_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/test/widget_test.h"
#include "ui/views/view.h"
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_observer.h"
namespace {
ButtonParams;
bool HasChildLabelViewWithText(const views::View* parent,
const std::u16string& find_text) { … }
class WidgetVisibilityObserver : public views::WidgetObserver { … };
}
class DigitalIdentityMultiStepDialogBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(DigitalIdentityMultiStepDialogBrowserTest,
UpdateDialog) { … }
IN_PROC_BROWSER_TEST_F(DigitalIdentityMultiStepDialogBrowserTest,
NotCanceledAfterOk) { … }
IN_PROC_BROWSER_TEST_F(DigitalIdentityMultiStepDialogBrowserTest,
DisableButton) { … }