DEV: Revert flaky specs fix attempts (#29472)

This commit is contained in:
Jan Cernik
2024-10-29 13:37:37 -03:00
committed by GitHub
parent 921e7b275b
commit e5ac69fd65
4 changed files with 6 additions and 15 deletions

View File

@ -5,7 +5,6 @@ module PageObjects
class Base
include Capybara::DSL
include RSpec::Matchers
include SystemHelpers
BODY_SELECTOR = ""

View File

@ -31,13 +31,8 @@ module PageObjects
click("#login-link")
end
def click_create_account(expect_success: true)
try_until_success(timeout: 5) do
click(".modal.create-account .btn-primary")
if expect_success
expect(page).to have_css(".modal.create-account .btn-primary.is-loading")
end
end
def click_create_account
click(".modal.create-account .btn-primary")
end
def has_password_input?