Skip to content

Commit

Permalink
Add new column_widgets to create_repos_table
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Talreja <[email protected]>
  • Loading branch information
Gauravtalreja1 authored and mirekdlugosz committed Sep 30, 2020
1 parent a7e6591 commit 3dc1eb1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion airgun/entities/user.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
from navmazing import NavigateToSibling
from wait_for import wait_for

from airgun.entities.base import BaseEntity
from airgun.navigation import NavigateStep
from airgun.navigation import navigator
from airgun.views.user import UserCreateView
from airgun.views.user import UserDetailsView
from airgun.views.user import UsersView
from wait_for import wait_for


class UserEntity(BaseEntity):
endpoint_path = '/users'
Expand Down
8 changes: 7 additions & 1 deletion airgun/views/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,13 @@ class NewProductForm(View):
verify_ssl = Checkbox(id='verify_ssl')
run_procedure = Text(
"//button[contains(., 'Run Repository Creation')]")
create_repos_table = SatTable('//table')
create_repos_table = Table(
locator='//table',
column_widgets={
'Repository Name': TextInput(locator=".//input[@name='repo_name']"),
'Repository Label': TextInput(locator=".//input[@name='repo_label']"),
},
)

def wait_repo_created(self):
wait_for(
Expand Down

0 comments on commit 3dc1eb1

Please sign in to comment.