mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 17:12:45 +08:00
DEV: Added page object for the login modal (#23017)
This commit is contained in:
parent
5de86ad7ed
commit
3fcb9a6481
11
spec/system/page_objects/modals/login.rb
Normal file
11
spec/system/page_objects/modals/login.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module PageObjects
|
||||
module Modals
|
||||
class Login < PageObjects::Modals::Base
|
||||
def open?
|
||||
super && has_css?(".login-modal")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user