Commit 13417d25 authored by Christian Dullweber's avatar Christian Dullweber Committed by Commit Bot

Revert "Fix an element value check in PasswordManager interactive tests."

This reverts commit c355e2e1.

Reason for revert: The tests are still flaky
http://build.chromium.org/p/chromium.memory/builders/Linux%20ChromiumOS%20MSan%20Tests/builds/7968


Original change's description:
> Fix an element value check in PasswordManager interactive tests.
>
> Bug: 849582
> Change-Id: I6e75d9a62b4b58569c2c29b913c0a6a0cab0bf83
> Reviewed-on: https://chromium-review.googlesource.com/1139057
> Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org>
> Commit-Queue: Alexey Khoroshilov <sense@yandex-team.ru>
> Cr-Commit-Position: refs/heads/master@{#575584}

TBR=vasilii@chromium.org,dvadym@chromium.org,sense@yandex-team.ru

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 849582
Change-Id: I4d363b0dfefa99256d50cae5fd51102204f7610a
Reviewed-on: https://chromium-review.googlesource.com/1142084
Commit-Queue: Christian Dullweber <dullweber@chromium.org>
Reviewed-by: default avatarChristian Dullweber <dullweber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576085}
parent b88f7918
......@@ -36,8 +36,6 @@ void PasswordManagerInteractiveTestBase::FillElementWithValue(
ui::DomCodeToUsLayoutKeyboardCode(dom_code),
false, shift, false, false);
}
// Execute an empty script to sync the pressed keys for an upcoming JS.
ASSERT_TRUE(content::ExecuteScript(RenderFrameHost(), ";"));
}
void PasswordManagerInteractiveTestBase::VerifyPasswordIsSavedAndFilled(
......
......@@ -281,7 +281,7 @@ IN_PROC_BROWSER_TEST_P(PasswordManagerBrowserTestWithConditionalPopupViews,
// Tests that if a site embeds the login and signup forms into one <form>, the
// login form still gets autofilled.
IN_PROC_BROWSER_TEST_P(PasswordManagerBrowserTestWithConditionalPopupViews,
AutofillLoginSignupForm) {
DISABLED_AutofillLoginSignupForm) {
std::string submit = "document.getElementById('submit').click();";
VerifyPasswordIsSavedAndFilled("/password/login_signup_form.html", "username",
"password", submit);
......@@ -291,7 +291,7 @@ IN_PROC_BROWSER_TEST_P(PasswordManagerBrowserTestWithConditionalPopupViews,
// Tests that password suggestions still work if the fields have the
// "autocomplete" attribute set to off.
IN_PROC_BROWSER_TEST_P(PasswordManagerBrowserTestWithConditionalPopupViews,
AutofillPasswordFormWithAutocompleteOff) {
DISABLED_AutofillPasswordFormWithAutocompleteOff) {
std::string submit = "document.getElementById('submit').click();";
VerifyPasswordIsSavedAndFilled(
"/password/password_autocomplete_off_test.html", "username", "password",
......@@ -300,7 +300,7 @@ IN_PROC_BROWSER_TEST_P(PasswordManagerBrowserTestWithConditionalPopupViews,
// Disabled for flakiness crbug.com/849582.
IN_PROC_BROWSER_TEST_P(PasswordManagerBrowserTestWithConditionalPopupViews,
AutofillPasswordNoFormElement) {
DISABLED_AutofillPasswordNoFormElement) {
VerifyPasswordIsSavedAndFilled("/password/no_form_element.html",
"username_field", "password_field",
"send_xhr();");
......@@ -310,7 +310,7 @@ IN_PROC_BROWSER_TEST_P(PasswordManagerBrowserTestWithConditionalPopupViews,
// Check that we can fill in cases where <base href> is set and the action of
// the form is not set. Regression test for https://crbug.com/360230.
IN_PROC_BROWSER_TEST_P(PasswordManagerBrowserTestWithConditionalPopupViews,
AutofillBaseTagWithNoActionTest) {
DISABLED_AutofillBaseTagWithNoActionTest) {
std::string submit = "document.getElementById('submit_button').click();";
VerifyPasswordIsSavedAndFilled("/password/password_xhr_submit.html",
"username_field", "password_field", submit);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment