diff --git a/spec/system/page_objects/modals/login.rb b/spec/system/page_objects/modals/login.rb new file mode 100644 index 00000000000..81d3fe1e686 --- /dev/null +++ b/spec/system/page_objects/modals/login.rb @@ -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