discourse/spec/system/page_objects/modals/delete_themes_confirm.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
301 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module PageObjects
module Modals
class DeleteThemesConfirm < PageObjects::Pages::Base
def has_theme?(name)
has_css?(".modal li", text: name)
end
def confirm
find(".d-modal__footer .btn-primary").click
end
end
end
end