Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
# frozen_string_literal: true
module PageObjects
module Modals
class Base
include Capybara::DSL
include RSpec::Matchers
def close
find(".modal-close").click
end
def cancel
find(".d-modal-cancel").click
def click_outside
find(".modal-outer-container").click(x: 0, y: 0)
def click_primary_button
find(".modal-footer .btn-primary").click