Fixes fixes fixes

This commit is contained in:
2020-10-09 09:40:53 +01:00
parent f41064abfa
commit 3602da9203
5 changed files with 30 additions and 16 deletions

View File

@@ -152,7 +152,7 @@ class SupplierList(BasePage):
class SupplierForm(FormPage):
_submit_locator = (By.CLASS_NAME, 'btn-primary')
_submit_locator = (By.XPATH, "//button[@type='submit' and contains(., 'Save')]")
form_items = {
'name': (regions.TextBox, (By.ID, 'id_name')),
}