mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
DEV: Revert flaky specs fix attempts (#29472)
This commit is contained in:
@ -5,7 +5,6 @@ module PageObjects
|
||||
class Base
|
||||
include Capybara::DSL
|
||||
include RSpec::Matchers
|
||||
include SystemHelpers
|
||||
|
||||
BODY_SELECTOR = ""
|
||||
|
||||
|
@ -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?
|
||||
|
Reference in New Issue
Block a user