2023-01-13 00:05:48 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-06-20 00:43:36 +05:30
|
|
|
module Features
|
|
|
|
module AccessTokenHelpers
|
|
|
|
def active_access_tokens
|
|
|
|
find("[data-testid='active-tokens']")
|
|
|
|
end
|
|
|
|
|
|
|
|
def created_access_token
|
|
|
|
within('[data-testid=access-token-section]') do
|
|
|
|
find('[data-testid=toggle-visibility-button]').click
|
|
|
|
find_field('new-access-token').value
|
2023-01-13 00:05:48 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|