0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-14 13:58:53 +08:00
discourse/plugins/discourse-assign/spec/system/page_objects/pages/user_menu.rb
2025-07-15 16:38:05 +02:00

17 lines
446 B
Ruby
Vendored

# frozen_string_literal: true
module PageObjects
module Components
class UserMenu < PageObjects::Components::Base
def click_assignments_tab
click_link("user-menu-button-assign-list")
has_css?("#quick-access-assign-list")
self
end
def has_assignments_in_order?(assignments)
expect(all(".notification.assigned .item-description").map(&:text)).to eq(assignments)
end
end
end
end