mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: allow admins to enable announced experimental features (#29244)
Toggle the button to enable the experimental site setting from "What's new" announcement. The toggle button is displayed when: - site setting exists and is boolean; - potentially required plugin is enabled.
This commit is contained in:
committed by
GitHub
parent
644e6c7f46
commit
433fadbd52
@@ -16,6 +16,10 @@ module PageObjects
|
||||
page.has_no_css?(".admin-new-feature-item__screenshot")
|
||||
end
|
||||
|
||||
def has_toggle_experiment_button?
|
||||
page.has_css?(".admin-new-feature-item__feature-toggle")
|
||||
end
|
||||
|
||||
def has_learn_more_link?
|
||||
page.has_css?(".admin-new-feature-item__learn-more")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user