blob: c72a3e6d1b40fe66904f21686928f22c42398e8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# frozen_string_literal: true
module QA
module Page
module Organization
class New < QA::Page::Base
include QA::Page::Component::Dropdown
view 'app/assets/javascripts/organizations/shared/components/new_edit_form.vue' do
element 'organization-name'
element 'submit-button'
end
# Sets the organization name
# @param name [string] name of organization
def organization_name=(name)
fill_element('organization-name', name)
end
def create_organization
click_element('submit-button')
end
end
end
end
end
|