mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 04:27:56 +08:00
This reverts commits 0623ac684a65f95ce4f5438ff47944b1dc2119f4 408e71e437ef8abf98f93e3449898bf906766b0e a32fa3b9470dde0543fcee809f2abd1f219f7336 User tips were running into some issues.
This commit is contained in:
@ -92,13 +92,12 @@ module PageObjects
|
||||
end
|
||||
|
||||
def click_post_admin_action_button(post, button)
|
||||
element_klass = "[data-content][data-identifier='admin-post-menu']"
|
||||
element_klass = ".popup-menu-button"
|
||||
case button
|
||||
when :grant_badge
|
||||
element_klass += " .grant-badge"
|
||||
element_klass += ".grant-badge"
|
||||
end
|
||||
|
||||
find(element_klass).click
|
||||
post_by_number(post).find(element_klass).click
|
||||
end
|
||||
|
||||
def click_topic_footer_button(button)
|
||||
|
Reference in New Issue
Block a user