17 references to HasElement
Microsoft.AspNetCore.Identity.FunctionalTests (17)
Pages\Account\ExternalLogin.cs (2)
20
Title = HtmlAssert.
HasElement
("#external-login-title", Document);
21
Description = HtmlAssert.
HasElement
("#external-login-description", Document);
Pages\Account\Login.cs (2)
25
_loginButton = HtmlAssert.
HasElement
("#login-submit", login);
31
_contosoButton = HtmlAssert.
HasElement
("button[value=Contoso]", login);
Pages\Account\Manage\Email.cs (4)
25
_emailInput = HtmlAssert.
HasElement
("#Email", manage);
26
_newEmailInput = HtmlAssert.
HasElement
("#Input_NewEmail", manage);
27
_changeEmailButton = HtmlAssert.
HasElement
("#change-email-button", manage);
30
_confirmEmailButton = HtmlAssert.
HasElement
("button#email-verification", manage);
Pages\Account\Manage\EnableAuthenticator.cs (1)
24
_codeElement = HtmlAssert.
HasElement
("kbd", enableAuthenticator);
Pages\Account\Manage\ExternalLogins.cs (1)
21
ExternalLoginDisplayName = HtmlAssert.
HasElement
("#login-provider-Contoso", Document);
Pages\Account\Manage\Index.cs (2)
37
_userNameInput = HtmlAssert.
HasElement
("#Username", manage);
38
_updateProfileButton = HtmlAssert.
HasElement
("#update-profile-button", manage);
Pages\Account\Manage\LinkExternalLogin.cs (1)
18
_linkLoginButton = HtmlAssert.
HasElement
($"#link-login-button-Contoso", externalLoginsDocument);
Pages\Account\Manage\ResetAuthenticator.cs (1)
22
_resetAuthenticatorButton = HtmlAssert.
HasElement
("#reset-authenticator-button", resetAuthenticator);
Pages\Account\Register.cs (1)
22
_contosoButton = HtmlAssert.
HasElement
("button[value=Contoso]", register);
UserStories.cs (2)
185
var linkElement = HtmlAssert.
HasElement
("a", emailBody);
217
var linkElement = HtmlAssert.
HasElement
("a", emailBody);