FEATURE: delete multiple inactive themes/components (#23788)

Ability to select multiple inactive themes or components and delete them all together
This commit is contained in:
Krzysztof Kotlarek
2023-10-09 08:35:53 +11:00
committed by GitHub
parent 60e624e768
commit e94b553e9a
13 changed files with 330 additions and 9 deletions

View File

@@ -0,0 +1,15 @@
# 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