mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 23:02:08 +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.
19 lines
398 B
Ruby
Vendored
19 lines
398 B
Ruby
Vendored
# 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
|