UX: flag settings tab to follow UI guidelines (#28479)

Add settings tab to flags moderation page.
This commit is contained in:
Krzysztof Kotlarek
2024-08-27 09:47:19 +10:00
committed by GitHub
parent 417ade98f9
commit df6c152fa1
14 changed files with 177 additions and 25 deletions

View File

@ -0,0 +1,11 @@
# frozen_string_literal: true
module PageObjects
module Components
class AdminHeader < PageObjects::Pages::Base
def has_tabs?(names)
expect(page.all(".admin-nav-submenu__tabs a").map(&:text)).to eq(names)
end
end
end
end