Feature: Organisation and site creation As admin I can create and edit organisation @auth @deleteorganisation @logout Scenario: Creating new organisation with site Given I create a new organisation | Name | Address | Status | | TestOrg | Somewhere str | Active | Then I add a new site | Name | Address | Status | | TestSite | Site str | Pending | @auth @createorganisation_site @logout Scenario: Creating new organisation with site via api and check audit log Then I check Organisation Audit logs | Timing | UserName | Comment | EntityDisplayName | Type | DisplayName | Changes | | | | | scenarioDataInstance | Create | formNameFromScenarioContext | | Then I check Site Audit logs | Timing | UserName | Comment | EntityDisplayName | Type | DisplayName | Changes | | | | | scenarioDataInstance | Create | formNameFromScenarioContext | | When I delete existing Organisation Then I check Organisation Audit logs | Timing | UserName | Comment | EntityDisplayName | Type | DisplayName | Changes | | | | | scenarioDataInstance | Delete | formNameFromScenarioContext | | Then I check Site Audit logs | Timing | UserName | Comment | EntityDisplayName | Type | DisplayName | Changes | | | | | scenarioDataInstance | Delete | formNameFromScenarioContext | | @auth @createorganisation_site @deleteorganisation @logout Scenario: Creating new organisation with site and update organisation and site When I edit existing Organisation | Name | Address | Status | | EditedTestOrg | Edited Somewhere str | Pending | Then I check Organisation Audit logs | Timing | UserName | Comment | EntityDisplayName | Type | DisplayName | Changes | | | | | scenarioDataInstance | Update | formNameFromScenarioContext | | When I edit existing Site | Name | Address | Status | | EditedTestSite | Edited Somewhere str | Blocked | Then I check Site Audit logs | Timing | UserName | Comment | EntityDisplayName | Type | DisplayName | Changes | | | | | scenarioDataInstance | Update | formNameFromScenarioContext | |