mirror of
https://github.com/discourse/discourse.git
synced 2025-03-02 17:08:40 +08:00

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
|