mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 22:09:38 +08:00
16 lines
298 B
Ruby
16 lines
298 B
Ruby
# 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(".modal-footer .btn-primary").click
|
|
end
|
|
end
|
|
end
|
|
end
|