mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 04:03:44 +08:00
3126c50baa
We want to change the design of the "member experience" step of the wizard from using checkbox switches to using radio toggle groups.
20 lines
398 B
Ruby
20 lines
398 B
Ruby
# frozen_string_literal: true
|
|
|
|
module PageObjects
|
|
module Pages
|
|
class Wizard < PageObjects::Pages::Base
|
|
def click_jump_in
|
|
find(".jump-in").click
|
|
end
|
|
|
|
def go_to_next_step
|
|
find(".wizard-container__button.next").click
|
|
end
|
|
|
|
def select_access_option(label)
|
|
find(".wizard-container__radio-choice", text: label).click
|
|
end
|
|
end
|
|
end
|
|
end
|