diff --git a/Jenkinsfile b/Jenkinsfile index d19cae2ac..56a4ea3f5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,24 +17,6 @@ pipeline { } } - stage('Run Selenium tests') { - when { - expression { - return (GIT_BRANCH.startsWith('PR') || GIT_BRANCH.endsWith('-QA')) - } - } - steps { - sh ''' - ./gradlew integrationTest -Dselenium.host=jenkins - ''' - } - post { - always { - junit 'backend/build/test-results/integrationTest/**/*.xml' - } - } - } - stage('Build Docker images') { when { expression { diff --git a/backend/src/enversTest/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntityDescriptorControllerVersionEndpointsIntegrationTests.groovy b/backend/src/enversTest/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntityDescriptorControllerVersionEndpointsIntegrationTests.groovy index 99b5810ce..82b143c00 100644 --- a/backend/src/enversTest/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntityDescriptorControllerVersionEndpointsIntegrationTests.groovy +++ b/backend/src/enversTest/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntityDescriptorControllerVersionEndpointsIntegrationTests.groovy @@ -1,11 +1,22 @@ package edu.internet2.tier.shibboleth.admin.ui.controller import edu.internet2.tier.shibboleth.admin.ui.domain.EntityDescriptor +import edu.internet2.tier.shibboleth.admin.ui.domain.Organization +import edu.internet2.tier.shibboleth.admin.ui.domain.OrganizationDisplayName +import edu.internet2.tier.shibboleth.admin.ui.domain.OrganizationName +import edu.internet2.tier.shibboleth.admin.ui.domain.OrganizationURL import edu.internet2.tier.shibboleth.admin.ui.domain.frontend.EntityDescriptorRepresentation import edu.internet2.tier.shibboleth.admin.ui.repository.EntityDescriptorRepository +import groovy.json.JsonOutput +import groovy.json.JsonSlurper import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.context.SpringBootTest import org.springframework.boot.test.web.client.TestRestTemplate +import org.springframework.http.HttpEntity +import org.springframework.http.HttpHeaders +import org.springframework.http.HttpMethod +import org.springframework.http.MediaType +import org.springframework.test.annotation.DirtiesContext import org.springframework.test.context.ActiveProfiles import spock.lang.Specification @@ -100,6 +111,46 @@ class EntityDescriptorControllerVersionEndpointsIntegrationTests extends Specifi edv2.body.serviceProviderName == 'SP2' } + @DirtiesContext(methodMode = DirtiesContext.MethodMode.AFTER_METHOD) + def 'SHIBUI-1414'() { + given: + def ed = new EntityDescriptor(entityID: 'testme', serviceProviderName: 'testme').with { + entityDescriptorRepository.save(it) + }.with { + it.setOrganization(new Organization().with { + it.organizationNames = [new OrganizationName(value: 'testme', XMLLang: 'en')] + it.organizationDisplayNames = [new OrganizationDisplayName(value: 'testme', XMLLang: 'en')] + it.organizationURLs = [new OrganizationURL(value: 'http://testme.org', XMLLang: 'en')] + it + }) + entityDescriptorRepository.save(it) + } + + when: + def headers = new HttpHeaders().with { + it.set(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE) + it + } + + def allVersions = getAllEntityDescriptorVersions(ed.resourceId, List) + def edv1 = getEntityDescriptorForVersion(ed.resourceId, allVersions.body[0].id, String).body + def tedv2 = getEntityDescriptorForVersion(ed.resourceId, allVersions.body[1].id, EntityDescriptorRepresentation).body + + def aedv1 = new JsonSlurper().parseText(edv1).with { + it.put('version', tedv2.version) + it + }.with { + JsonOutput.toJson(it) + } + + def request = new HttpEntity(aedv1, headers) + def response = this.restTemplate.exchange("/api/EntityDescriptor/${ed.resourceId}", HttpMethod.PUT, request, String) + + then: + response.statusCodeValue != 400 + noExceptionThrown() + } + private getAllEntityDescriptorVersions(String resourceId, responseType) { this.restTemplate.getForEntity(resourceUriFor(ALL_VERSIONS_URI, resourceId), responseType) } diff --git a/backend/src/enversTest/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataResolverControllerVersionEndpointsIntegrationTests.groovy b/backend/src/enversTest/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataResolverControllerVersionEndpointsIntegrationTests.groovy index f23ea333d..2c02ee4b4 100644 --- a/backend/src/enversTest/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataResolverControllerVersionEndpointsIntegrationTests.groovy +++ b/backend/src/enversTest/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataResolverControllerVersionEndpointsIntegrationTests.groovy @@ -1,5 +1,8 @@ package edu.internet2.tier.shibboleth.admin.ui.controller +import edu.internet2.tier.shibboleth.admin.ui.domain.filters.EntityAttributesFilter +import edu.internet2.tier.shibboleth.admin.ui.domain.filters.EntityAttributesFilterTarget +import edu.internet2.tier.shibboleth.admin.ui.domain.filters.EntityRoleWhiteListFilter import edu.internet2.tier.shibboleth.admin.ui.domain.resolvers.DynamicHttpMetadataResolver import edu.internet2.tier.shibboleth.admin.ui.domain.resolvers.FileBackedHttpMetadataResolver import edu.internet2.tier.shibboleth.admin.ui.domain.resolvers.FilesystemMetadataResolver @@ -103,6 +106,54 @@ class MetadataResolverControllerVersionEndpointsIntegrationTests extends Specifi mrv2.body.name == 'resolverUPDATED' } + def "SHIBUI-1386"() { + MetadataResolver mr = new FileBackedHttpMetadataResolver(name: 'testme') + mr = repository.save(mr) + + when: 'add a filter' + // def filterValue = '''{"type":"EntityAttributes","@type":"EntityAttributes","filterEnabled":true,"entityAttributesFilterTarget":{"entityAttributesFilterTargetType":"ENTITY","value":["https://idp.unicon.net/idp/shibboleth"]},"relyingPartyOverrides":{"signAssertion":false,"dontSignResponse":false,"turnOffEncryption":false,"useSha":false,"ignoreAuthenticationMethod":false,"omitNotBefore":false,"nameIdFormats":[],"authenticationMethods":[],"forceAuthn":false},"attributeRelease":[],"name":"Test Filter 1"}''' + def filter = new EntityAttributesFilter( + name: 'testme', + filterEnabled: true + ).with { + it.relyingPartyOverrides = [ + 'signAssertion': true + ] + it.setEntityAttributesFilterTarget(new EntityAttributesFilterTarget().with { + it.entityAttributesFilterTargetType = EntityAttributesFilterTarget.EntityAttributesFilterTargetType.ENTITY + it.value = ['https://testme/sp'] + it + }) + it + } + mr.metadataFilters.add(filter) + mr = repository.save(mr) + + def allVersions = getAllMetadataResolverVersions(mr.resourceId, List) + def mrv1 = getMetadataResolverForVersion(mr.resourceId, allVersions.body[0].id, MetadataResolver) + def mrv2 = getMetadataResolverForVersion(mr.resourceId, allVersions.body[1].id, MetadataResolver) + + then: + noExceptionThrown() + } + + def "SHIBUI-1500"() { + MetadataResolver mr = new FileBackedHttpMetadataResolver(name: 'shibui-1500') + mr = repository.save(mr) + + when: 'add a filter' + def filter = new EntityRoleWhiteListFilter(name: 'shibui-1500', retainedRoles: ['role1']) + mr.addFilter(filter) + mr = repository.save(mr) + + def allVersions = getAllMetadataResolverVersions(mr.resourceId, List) + def mrv1 = getMetadataResolverForVersion(mr.resourceId, allVersions.body[0].id, MetadataResolver) + def mrv2 = getMetadataResolverForVersion(mr.resourceId, allVersions.body[1].id, MetadataResolver) + + then: + (mrv1.getBody() as MetadataResolver).modifiedDate < (mrv2.getBody() as MetadataResolver).modifiedDate + } + private getAllMetadataResolverVersions(String resourceId, responseType) { this.restTemplate.getForEntity(resourceUriFor(ALL_VERSIONS_URI, resourceId), responseType) } diff --git a/backend/src/integration/groovy/edu/internet2/tier/shibboleth/admin/ui/SeleniumSIDETest.groovy b/backend/src/integration/groovy/edu/internet2/tier/shibboleth/admin/ui/SeleniumSIDETest.groovy index b69c49260..51b35a461 100644 --- a/backend/src/integration/groovy/edu/internet2/tier/shibboleth/admin/ui/SeleniumSIDETest.groovy +++ b/backend/src/integration/groovy/edu/internet2/tier/shibboleth/admin/ui/SeleniumSIDETest.groovy @@ -69,6 +69,9 @@ class SeleniumSIDETest extends Specification { } else { it.baseurl = "http://localhost:${this.randomPort}" } + if (System.properties.getProperty('webdriver.headless')) { + it.addCliArgs('--headless') + } it } def runner = new Runner() @@ -83,37 +86,24 @@ class SeleniumSIDETest extends Specification { assert result.level.exitCode == 0 where: - //TODO: Update or delete where necessary - name | file -// 'Create Dynamic HTTP Metadata Resolver' | '/dhmr.side' -// 'Metadata Source Happy Path Save' | '/MetadataSourceHappyPathSAVE.side' -// 'Metadata Provider Happy Path Save' | '/MetadataProviderHappyPathSAVE.side' -// 'Create Filter Entity ID' | '/CreateFilterEntityID.side' -// 'Create Filter REGEX' | '/CreateFilterREGEX.side' -// 'Create Filter Script' | '/CreateFilterScript.side' -// 'Create Metadata Source From XML' | '/CreateMetadataSourceFromXML.side' -// 'Create Metadata Source From Copy' | '/CreateMetadataSourceFromCopy.side' // currently does not populate MDUI before copy (causes 400) -// 'Create Metadata Source from URL' | '/CreateMetadataSourceFromURL.side' -// 'Delete Entity ID Filter' | '/DeleteEntityIDFilter.side' -// 'Delete REGEX Filter' | '/DeleteREGEXFilter.side' -// 'Delete Incomplete Source' | '/DeleteIncompleteSource.side' -// 'Admin Login' | '/SHIBUI-1031_AdminLogin.side' -// 'Delegated Admin: SubmitSource' | '/SHIBUI-1058_DelegatedAdmin_SubmitSource.side' -// 'Create Filesystem Metadata Resolver' | '/CreateFilesystemMetadataResolver.side' -// 'Create Local Dynamic Metadata Resolver' | '/CreateLocalDynamicMetadataResolver.side' -// 'Delete Entity Attributes Script Filter' | '/DeleteScriptFilter.side' -// 'Create and Delete Name ID Format Entity ID Filter' | '/CreateAndDeleteNameIDFormatEntityIDFilter.side' -// 'Create and Delete Name ID Format Regex Filter' | '/CreateAndDeleteNameIDFormatRegexFilter.side' -// 'Create and Delete Name ID Format Script Filter' | '/CreateAndDeleteNameIDFormatScriptFilter.side' -// 'Create and Modify Filter Order' | '/ModifyFilterOrder.side' - 'SHIBUI-1281: Metadata Source Dashboard' | '/SHIBUI-1281.side' - 'SHIBUI-1311: Metadata Provider Dashboard' | '/SHIBUI-1311.side' - 'SHIBUI-950: Metadata Source from XML w/ digest' | '/SHIBUI-950.side' - 'SHIBUI-1352: Create LocalDynamic provider' | '/SHIBUI-1352-1.side' - 'SHIBUI-1352: Create FileSystem provider' | '/SHIBUI-1352-2.side' - 'SHIBUI-1333: Verify metadata source configuration' | '/SHIBUI-1333.side' - 'SHIBUI-1334: Verify metadata source versioning' | '/SHIBUI-1334-1.side' - 'SHIBUI-1334: Verify metadata provider versioning' | '/SHIBUI-1334-2.side' + name | file + 'SHIBUI-1281: Metadata Source Dashboard' | '/SHIBUI-1281.side' + 'SHIBUI-1311: Metadata Provider Dashboard' | '/SHIBUI-1311.side' + 'SHIBUI-950: Metadata Source from XML w/ digest' | '/SHIBUI-950.side' + 'SHIBUI-1352: Create LocalDynamic provider' | '/SHIBUI-1352-1.side' + 'SHIBUI-1352: Create FileSystem provider' | '/SHIBUI-1352-2.side' + 'SHIBUI-1333: Verify metadata source configuration' | '/SHIBUI-1333.side' + 'SHIBUI-1334: Verify metadata source versioning' | '/SHIBUI-1334-1.side' + 'SHIBUI-1334: Verify metadata provider versioning' | '/SHIBUI-1334-2.side' + 'SHIBUI-1335: Verify File Backed HTTP Metadata Provider Filters' | '/SHIBUI-1335-1.side' + 'SHIBUI-1335: Verify Filesystem Metadata Provider Filters' | '/SHIBUI-1335-2.side' + 'SHIBUI-1335: Verify Local Dynamic Metadata Provider Filters' | '/SHIBUI-1335-3.side' + 'SHIBUI-1335: Verify Dynamic HTTP Metadata Provider Filters' | '/SHIBUI-1335-4.side' + 'SHIBUI-1392: Verify provider with script filter is persistable' | '/SHIBUI-1392.side' + 'SHIBUI-1361: Verify dates display in proper format' | '/SHIBUI-1361.side' + 'SHIBUI-1385: Restore a metadata source version' | '/SHIBUI-1385-1.side' + 'SHIBUI-1385: Restore a metadata provider version' | '/SHIBUI-1385-2.side' + 'SHIBUI-1391: Regex Validation' | '/SHIBUI-1391.side' } } diff --git a/backend/src/integration/resources/CreateAndDeleteNameIDFormatEntityIDFilter.side b/backend/src/integration/resources/CreateAndDeleteNameIDFormatEntityIDFilter.side deleted file mode 100644 index a8cfd7aee..000000000 --- a/backend/src/integration/resources/CreateAndDeleteNameIDFormatEntityIDFilter.side +++ /dev/null @@ -1,1150 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "Create Name ID Format Entity ID Filter", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "758bd43d-364e-4860-bc70-824f5e0a2b52", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "21dc44c6-339c-4260-8009-02e8fb3e74c4", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "24b868c1-7f23-4a9a-89f2-ac540605129a", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c8218096-deaf-4171-883e-d210648f2a35", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: " - }, { - "id": "acb5c4a4-082d-498b-bf21-a6a2d65e6b11", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "b3117791-75ff-4a91-9172-28e7b24fc5f2", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "059bcfe7-c42c-4327-9fcd-b53e2671fb75", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "3471a9c3-2176-4e15-a235-0c326b689ad8", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "1bad25ea-6794-44c6-b7e4-8af3c231144c", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "2d873c07-f89b-420a-a77b-d597dbcf4984", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c1e9ed64-7c58-4683-8ac4-8ea70bde4724", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "ID" - }, { - "id": "5b18ebb5-61c5-4b8e-b252-35d401bfd0a3", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "47569c1e-e601-4ef0-a97d-4a7b0ee15a71", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e4351d67-9066-4631-81ad-0c10e9f0d457", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f3fc7654-a454-4a41-9eb3-9d92bed74e76", - "comment": "", - "command": "doubleClick", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c096f1bd-7b01-4202-bbb8-bb141b512147", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/metadata/test.xml" - }, { - "id": "bb1810c2-25e8-4c11-8de1-de1b37664917", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field8-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f16e0633-b5e7-4544-bbeb-c851519178bd", - "comment": "", - "command": "click", - "target": "id=field8__option--0", - "targets": [ - ["id=field8__option--0", "id"], - ["css=#field8__option--0", "css"], - ["css=#field8__option--0", "css:finder"], - ["xpath=//li[@id='field8__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field8__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "df8efb67-d5f5-4080-b2e7-6ec8777956a7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "45642b8d-b691-4527-a137-de4a2f94f10b", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=#field15-container .fa", "css:finder"], - ["xpath=//div[@id='field15-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "062e47c2-75a8-4404-8139-72031ba87187", - "comment": "", - "command": "click", - "target": "id=field15__option--0", - "targets": [ - ["id=field15__option--0", "id"], - ["css=#field15__option--0", "css"], - ["css=#field15__option--0", "css:finder"], - ["xpath=//li[@id='field15__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "0da757a9-98f9-4454-bb3b-da3e4c14906d", - "comment": "", - "command": "click", - "target": "css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field16-container .fa", "css:finder"], - ["xpath=//div[@id='field16-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "7ddee128-01fc-4c93-a17b-46a882acc705", - "comment": "", - "command": "click", - "target": "id=field16__option--3", - "targets": [ - ["id=field16__option--3", "id"], - ["css=#field16__option--3", "css"], - ["css=#field16__option--3", "css:finder"], - ["xpath=//li[@id='field16__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field16__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "70f6828a-7770-4eb3-bb51-2bccdab7aaa5", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=#field15-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field15-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "850dd703-eb10-4487-ad7c-ee7dcc1143b5", - "comment": "", - "command": "click", - "target": "id=field15__option--1", - "targets": [ - ["id=field15__option--1", "id"], - ["css=#field15__option--1", "css"], - ["css=#field15__option--1", "css:finder"], - ["xpath=//li[@id='field15__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "2b404fc4-0ad0-4963-85ae-eebcfc866b71", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.01" - }, { - "id": "ebcb555d-ea24-41fb-a306-fd2072a4fa20", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a0bed117-0336-4ec2-806a-664add40ef94", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ee0a1de9-4573-4188-a7a3-c5512b299cc8", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "81c3814f-26eb-4e8b-8cd2-93c8c3494270", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "fdf1e317-b808-4866-9052-b44bf1571d1e", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.04" - }, { - "id": "183e50b8-7034-47c7-8b6e-a27a982afc6a", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "dce62f7d-a12a-4fc7-b71c-7f387048acd0", - "comment": "", - "command": "mouseOver", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "82f0c49b-cee3-4a65-9410-8af721ec891c", - "comment": "", - "command": "mouseOut", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "97f3d781-4748-4c3b-93e9-d27b04818df6", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field21-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "8c53a716-f551-4ccf-ac31-36f151784858", - "comment": "", - "command": "click", - "target": "id=field21__option--0", - "targets": [ - ["id=field21__option--0", "id"], - ["css=#field21__option--0", "css"], - ["css=#field21__option--0", "css:finder"], - ["xpath=//li[@id='field21__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field21__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "4c2fb2d1-03c9-4e0b-8098-291808964da0", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "699b5bf4-ed62-4b3e-8727-f81d4c9cdfeb", - "comment": "", - "command": "type", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "oh, happy path dagger " - }, { - "id": "62d89667-aa43-4e45-a665-62ab778d2cf7", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "7c421f6a-04b0-46ab-b456-e1355001f517", - "comment": "", - "command": "click", - "target": "id=field29", - "targets": [ - ["id=field29", "id"], - ["name=field29", "name"], - ["css=#field29", "css"], - ["css=#field29", "css:finder"], - ["xpath=//select[@id='field29']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "a589ed87-e431-4f8c-8bb0-a7c36eff5f70", - "comment": "", - "command": "select", - "target": "id=field29", - "targets": [], - "value": "label=SPSSODescriptor" - }, { - "id": "350ae05b-bcec-419f-8b51-7d3877fa6556", - "comment": "", - "command": "click", - "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", - "targets": [ - ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2aa4bc33-2888-466a-9355-2ccf2fdb931b", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "079c5868-915c-4441-8e57-7069ade24285", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "ca597616-fd50-4286-b2a8-23b951bc93cb", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bfddd68a-b6f6-4dbf-bd03-c6aec1b87d70", - "comment": "", - "command": "click", - "target": "css=div.px-2", - "targets": [ - ["css=div.px-2", "css"], - ["css=.px-2", "css:finder"], - ["xpath=//div[2]/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "c3d80754-3e28-4b07-95f6-5bfac82e9a58", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "b8c89883-4999-4429-a4f0-b20f7dbc825c", - "comment": "", - "command": "click", - "target": "css=span.label", - "targets": [ - ["css=span.label", "css"], - ["css=.label", "css:finder"], - ["xpath=//div[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "b116af38-d1a3-4c5d-8fe6-022e7e704182", - "comment": "", - "command": "click", - "target": "css=a.btn.btn-success > translate-i18n", - "targets": [ - ["css=a.btn.btn-success > translate-i18n", "css"], - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div[2]/a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835212", - "comment": "", - "command": "click", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "4a4bc099-6393-48bb-855f-81d26d655d8f", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [], - "value": "label=NameIDFormat" - }, { - "id": "629aa1a3-5240-4642-bbdf-bf628e9316b8", - "comment": "", - "command": "click", - "target": "css=option:nth-child(3)", - "targets": [ - ["css=option:nth-child(3)", "css:finder"], - ["xpath=//option[@value='NameIDFormat']", "xpath:attributes"], - ["xpath=//option[3]", "xpath:position"], - ["xpath=//option[contains(.,'NameIDFormat')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "3be99c0f-ea13-4854-ab45-625b355d0537", - "comment": "", - "command": "click", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "4cb1b6c4-de4e-4e43-8eba-7b17cdafce27", - "comment": "", - "command": "type", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "NIF1" - }, { - "id": "37bd7b76-7975-4ffa-b1b7-ae861e081743", - "comment": "", - "command": "click", - "target": "css=.btn-outline-secondary", - "targets": [ - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "c8c61a64-da4f-473a-950d-feefc3f0e5f8", - "comment": "", - "command": "click", - "target": "css=.show > .dropdown-item:nth-child(1)", - "targets": [ - ["linkText=Entity ID", "linkText"], - ["css=.show > .dropdown-item:nth-child(1)", "css:finder"], - ["xpath=//a[contains(text(),'Entity ID')]", "xpath:link"], - ["xpath=//a[contains(@href, '#')]", "xpath:href"], - ["xpath=//div/div/a", "xpath:position"], - ["xpath=//a[contains(.,'Entity ID')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "fea90b20-4fa7-4a6d-8722-79313481508a", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "d796c8b3-f6d4-4215-8275-3755306b0fe9", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e808aceb-eb93-451f-8a54-81fdd4150c11", - "comment": "", - "command": "type", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "c223fcea-dd04-41d5-8a0c-d4e4b7a09de5", - "comment": "", - "command": "click", - "target": "css=.btn-success:nth-child(1)", - "targets": [ - ["css=.btn-success:nth-child(1)", "css:finder"], - ["xpath=//div[2]/button", "xpath:position"], - ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "9fcd6969-7544-4c19-92f2-7df895e27a5f", - "comment": "", - "command": "click", - "target": "css=div:nth-child(3) .custom-control-label", - "targets": [ - ["css=div:nth-child(3) .custom-control-label", "css:finder"], - ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "89bccba8-da3e-4af2-8387-bbe67542c0bd", - "comment": "", - "command": "click", - "target": "css=div:nth-child(7) .custom-control-label", - "targets": [ - ["css=div:nth-child(7) .custom-control-label", "css:finder"], - ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Remove Existing Formats?')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "6bcdf374-a5b3-4ca3-9245-564f9f05a68f", - "comment": "", - "command": "click", - "target": "css=.array-add-button", - "targets": [ - ["css=.array-add-button", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "16c2e6dd-afe3-43d7-90d8-e58102ca0477", - "comment": "", - "command": "click", - "target": "css=.input-group-append > .btn", - "targets": [ - ["css=.input-group-append > .btn", "css:finder"], - ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], - ["xpath=//div[@id='field41-container']/div/div/button", "xpath:idRelative"], - ["xpath=//auto-complete/div/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "58696a3a-761a-41fa-9f96-51c6e9ef1ca6", - "comment": "", - "command": "click", - "target": "id=field41__option--0", - "targets": [ - ["id=field41__option--0", "id"], - ["css=#field41__option--0", "css:finder"], - ["xpath=//li[@id='field41__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field41__listbox']/li", "xpath:idRelative"], - ["xpath=//datalist-component/div/auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "bc1d7bbd-b6f9-4e11-bea3-399c766f531f", - "comment": "", - "command": "click", - "target": "css=.array-add-button", - "targets": [ - ["css=.array-add-button", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "f958a634-2fc2-459e-905c-2fb8aed94d68", - "comment": "", - "command": "click", - "target": "css=#field42-container .btn", - "targets": [ - ["css=#field42-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], - ["xpath=//div[@id='field42-container']/div/div/button", "xpath:idRelative"], - ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "de06c74c-5d57-46e2-b1c4-418fe453bc72", - "comment": "", - "command": "click", - "target": "id=field42__option--1", - "targets": [ - ["id=field42__option--1", "id"], - ["css=#field42__option--1", "css:finder"], - ["xpath=//li[@id='field42__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field42__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "d1b2394a-7c3b-42d1-9462-131e5e70affc", - "comment": "", - "command": "click", - "target": "css=.array-add-button", - "targets": [ - ["css=.array-add-button", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "929fda84-1405-468d-a6b4-8068784b978f", - "comment": "", - "command": "mouseOver", - "target": "css=.array-add-button", - "targets": [ - ["css=.array-add-button", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "b0aa52a8-9874-4106-b068-1caef073960e", - "comment": "", - "command": "mouseOut", - "target": "css=.array-add-button", - "targets": [ - ["css=.array-add-button", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "86508587-f3d3-4b80-8752-a59d29ff8f8d", - "comment": "", - "command": "click", - "target": "css=#field43-container .btn", - "targets": [ - ["css=#field43-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], - ["xpath=//div[@id='field43-container']/div/div/button", "xpath:idRelative"], - ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "be3e0f9b-63a4-40f6-80b7-8bfb44687cd2", - "comment": "", - "command": "click", - "target": "id=field43__option--2", - "targets": [ - ["id=field43__option--2", "id"], - ["css=#field43__option--2", "css:finder"], - ["xpath=//li[@id='field43__option--2']", "xpath:attributes"], - ["xpath=//ul[@id='field43__listbox']/li[3]", "xpath:idRelative"], - ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] - ], - "value": "" - }, { - "id": "47b2cbcf-46e9-4f39-a9c5-bba6e7e4b3f8", - "comment": "", - "command": "click", - "target": "css=.array-add-button", - "targets": [ - ["css=.array-add-button", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "01faa1c2-ecb8-4086-a4d7-beba65c75018", - "comment": "", - "command": "mouseOver", - "target": "css=.array-add-button", - "targets": [ - ["css=.array-add-button", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "93d09f5b-f1a9-44e2-9dc4-2819a078b54d", - "comment": "", - "command": "mouseOut", - "target": "css=.array-add-button", - "targets": [ - ["css=.array-add-button", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "c7e38dc3-f6ca-47d0-94b5-15b2551c5b64", - "comment": "", - "command": "click", - "target": "css=#field44-container .btn", - "targets": [ - ["css=#field44-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], - ["xpath=//div[@id='field44-container']/div/div/button", "xpath:idRelative"], - ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "0126e85f-d66f-4c66-ba7c-331bafa7fd4f", - "comment": "", - "command": "click", - "target": "id=field44__option--3", - "targets": [ - ["id=field44__option--3", "id"], - ["css=#field44__option--3", "css:finder"], - ["xpath=//li[@id='field44__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field44__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "698105be-a1a1-4f57-82d4-d9315dee10a7", - "comment": "", - "command": "click", - "target": "css=.array-add-button", - "targets": [ - ["css=.array-add-button", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "a397976b-c17e-48e8-964e-7f25b74f996d", - "comment": "", - "command": "mouseOver", - "target": "css=.array-add-button", - "targets": [ - ["css=.array-add-button", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "0e041208-7806-4536-acd6-66bed38e1434", - "comment": "", - "command": "mouseOut", - "target": "css=.array-add-button", - "targets": [ - ["css=.array-add-button", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "64e5be59-164b-4f04-9682-28e430eda4a8", - "comment": "", - "command": "click", - "target": "id=field45", - "targets": [ - ["id=field45", "id"], - ["css=#field45", "css:finder"], - ["xpath=//input[@id='field45']", "xpath:attributes"], - ["xpath=//div[@id='field45-container']/div/input", "xpath:idRelative"], - ["xpath=//li[5]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "391187f8-c863-4073-94f7-395ed9388963", - "comment": "", - "command": "type", - "target": "id=field45", - "targets": [ - ["id=field45", "id"], - ["css=#field45", "css:finder"], - ["xpath=//input[@id='field45']", "xpath:attributes"], - ["xpath=//div[@id='field45-container']/div/input", "xpath:idRelative"], - ["xpath=//li[5]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] - ], - "value": "foo" - }, { - "id": "3d95c234-3085-4564-9ab5-d72977cbfd9a", - "comment": "", - "command": "click", - "target": "css=custom-object > div > .row", - "targets": [ - ["css=custom-object > div > .row", "css:finder"], - ["xpath=//custom-object/div/div", "xpath:position"] - ], - "value": "" - }, { - "id": "3aaec053-cc95-4c51-9ee6-489065bc0e53", - "comment": "", - "command": "click", - "target": "css=.btn-primary", - "targets": [ - ["css=.btn-primary", "css:finder"], - ["xpath=//button[@type='submit']", "xpath:attributes"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "9b0e7b78-ff12-489b-893c-38a5fc18fbce", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [ - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'NIF1')]", "xpath:innerText"] - ], - "value": "3000" - }, { - "id": "33f80fec-39c1-4aba-99b0-226301935143", - "comment": "", - "command": "assertText", - "target": "css=.td-lg:nth-child(3)", - "targets": [], - "value": "NIF1" - }, { - "id": "419f96e0-69fe-43f4-9b61-6230eb3f433f", - "comment": "", - "command": "click", - "target": "css=.td-sm:nth-child(7) > .btn", - "targets": [ - ["css=.td-sm:nth-child(7) > .btn", "css:finder"], - ["xpath=//td[7]/button", "xpath:position"], - ["xpath=//button[contains(.,'Edit')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "d7087786-c963-4f27-a954-c00d41246fc0", - "comment": "", - "command": "click", - "target": "css=.btn-danger", - "targets": [ - ["css=.btn-danger", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'Delete')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "18ffa5dd-3157-40fc-99d3-0450d59dff3b", - "comment": "", - "command": "assertElementNotPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [], - "value": "" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/CreateAndDeleteNameIDFormatRegexFilter.side b/backend/src/integration/resources/CreateAndDeleteNameIDFormatRegexFilter.side deleted file mode 100644 index e7eff30f4..000000000 --- a/backend/src/integration/resources/CreateAndDeleteNameIDFormatRegexFilter.side +++ /dev/null @@ -1,905 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "Create Name ID Format Regex Filter", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "758bd43d-364e-4860-bc70-824f5e0a2b52", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "21dc44c6-339c-4260-8009-02e8fb3e74c4", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "24b868c1-7f23-4a9a-89f2-ac540605129a", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c8218096-deaf-4171-883e-d210648f2a35", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: " - }, { - "id": "acb5c4a4-082d-498b-bf21-a6a2d65e6b11", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "b3117791-75ff-4a91-9172-28e7b24fc5f2", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "059bcfe7-c42c-4327-9fcd-b53e2671fb75", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "3471a9c3-2176-4e15-a235-0c326b689ad8", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "1bad25ea-6794-44c6-b7e4-8af3c231144c", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "2d873c07-f89b-420a-a77b-d597dbcf4984", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c1e9ed64-7c58-4683-8ac4-8ea70bde4724", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "ID" - }, { - "id": "5b18ebb5-61c5-4b8e-b252-35d401bfd0a3", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "47569c1e-e601-4ef0-a97d-4a7b0ee15a71", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e4351d67-9066-4631-81ad-0c10e9f0d457", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f3fc7654-a454-4a41-9eb3-9d92bed74e76", - "comment": "", - "command": "doubleClick", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c096f1bd-7b01-4202-bbb8-bb141b512147", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/metadata/test.xml" - }, { - "id": "bb1810c2-25e8-4c11-8de1-de1b37664917", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field8-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f16e0633-b5e7-4544-bbeb-c851519178bd", - "comment": "", - "command": "click", - "target": "id=field8__option--0", - "targets": [ - ["id=field8__option--0", "id"], - ["css=#field8__option--0", "css"], - ["css=#field8__option--0", "css:finder"], - ["xpath=//li[@id='field8__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field8__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "df8efb67-d5f5-4080-b2e7-6ec8777956a7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "45642b8d-b691-4527-a137-de4a2f94f10b", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=#field15-container .fa", "css:finder"], - ["xpath=//div[@id='field15-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "062e47c2-75a8-4404-8139-72031ba87187", - "comment": "", - "command": "click", - "target": "id=field15__option--0", - "targets": [ - ["id=field15__option--0", "id"], - ["css=#field15__option--0", "css"], - ["css=#field15__option--0", "css:finder"], - ["xpath=//li[@id='field15__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "0da757a9-98f9-4454-bb3b-da3e4c14906d", - "comment": "", - "command": "click", - "target": "css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field16-container .fa", "css:finder"], - ["xpath=//div[@id='field16-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "7ddee128-01fc-4c93-a17b-46a882acc705", - "comment": "", - "command": "click", - "target": "id=field16__option--3", - "targets": [ - ["id=field16__option--3", "id"], - ["css=#field16__option--3", "css"], - ["css=#field16__option--3", "css:finder"], - ["xpath=//li[@id='field16__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field16__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "70f6828a-7770-4eb3-bb51-2bccdab7aaa5", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=#field15-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field15-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "850dd703-eb10-4487-ad7c-ee7dcc1143b5", - "comment": "", - "command": "click", - "target": "id=field15__option--1", - "targets": [ - ["id=field15__option--1", "id"], - ["css=#field15__option--1", "css"], - ["css=#field15__option--1", "css:finder"], - ["xpath=//li[@id='field15__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "2b404fc4-0ad0-4963-85ae-eebcfc866b71", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.01" - }, { - "id": "ebcb555d-ea24-41fb-a306-fd2072a4fa20", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a0bed117-0336-4ec2-806a-664add40ef94", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ee0a1de9-4573-4188-a7a3-c5512b299cc8", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "81c3814f-26eb-4e8b-8cd2-93c8c3494270", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "fdf1e317-b808-4866-9052-b44bf1571d1e", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.04" - }, { - "id": "183e50b8-7034-47c7-8b6e-a27a982afc6a", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "dce62f7d-a12a-4fc7-b71c-7f387048acd0", - "comment": "", - "command": "mouseOver", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "82f0c49b-cee3-4a65-9410-8af721ec891c", - "comment": "", - "command": "mouseOut", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "97f3d781-4748-4c3b-93e9-d27b04818df6", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field21-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "8c53a716-f551-4ccf-ac31-36f151784858", - "comment": "", - "command": "click", - "target": "id=field21__option--0", - "targets": [ - ["id=field21__option--0", "id"], - ["css=#field21__option--0", "css"], - ["css=#field21__option--0", "css:finder"], - ["xpath=//li[@id='field21__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field21__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "4c2fb2d1-03c9-4e0b-8098-291808964da0", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "699b5bf4-ed62-4b3e-8727-f81d4c9cdfeb", - "comment": "", - "command": "type", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "oh, happy path dagger " - }, { - "id": "62d89667-aa43-4e45-a665-62ab778d2cf7", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "7c421f6a-04b0-46ab-b456-e1355001f517", - "comment": "", - "command": "click", - "target": "id=field29", - "targets": [ - ["id=field29", "id"], - ["name=field29", "name"], - ["css=#field29", "css"], - ["css=#field29", "css:finder"], - ["xpath=//select[@id='field29']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "a589ed87-e431-4f8c-8bb0-a7c36eff5f70", - "comment": "", - "command": "select", - "target": "id=field29", - "targets": [], - "value": "label=SPSSODescriptor" - }, { - "id": "350ae05b-bcec-419f-8b51-7d3877fa6556", - "comment": "", - "command": "click", - "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", - "targets": [ - ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2aa4bc33-2888-466a-9355-2ccf2fdb931b", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "079c5868-915c-4441-8e57-7069ade24285", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "ca597616-fd50-4286-b2a8-23b951bc93cb", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bfddd68a-b6f6-4dbf-bd03-c6aec1b87d70", - "comment": "", - "command": "click", - "target": "css=div.px-2", - "targets": [ - ["css=div.px-2", "css"], - ["css=.px-2", "css:finder"], - ["xpath=//div[2]/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "c3d80754-3e28-4b07-95f6-5bfac82e9a58", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "b8c89883-4999-4429-a4f0-b20f7dbc825c", - "comment": "", - "command": "click", - "target": "css=span.label", - "targets": [ - ["css=span.label", "css"], - ["css=.label", "css:finder"], - ["xpath=//div[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "b116af38-d1a3-4c5d-8fe6-022e7e704182", - "comment": "", - "command": "click", - "target": "css=a.btn.btn-success > translate-i18n", - "targets": [ - ["css=a.btn.btn-success > translate-i18n", "css"], - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div[2]/a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835212", - "comment": "", - "command": "click", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "4a4bc099-6393-48bb-855f-81d26d655d8f", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [], - "value": "label=NameIDFormat" - }, { - "id": "629aa1a3-5240-4642-bbdf-bf628e9316b8", - "comment": "", - "command": "click", - "target": "css=option:nth-child(3)", - "targets": [ - ["css=option:nth-child(3)", "css:finder"], - ["xpath=//option[@value='NameIDFormat']", "xpath:attributes"], - ["xpath=//option[3]", "xpath:position"], - ["xpath=//option[contains(.,'NameIDFormat')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "3be99c0f-ea13-4854-ab45-625b355d0537", - "comment": "", - "command": "click", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "4cb1b6c4-de4e-4e43-8eba-7b17cdafce27", - "comment": "", - "command": "type", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "NIF1" - }, { - "id": "586ac0e0-7cce-4705-b681-e34ce1daa5d3", - "comment": "", - "command": "click", - "target": "css=.btn-outline-secondary", - "targets": [ - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "1ae2cde5-f592-4ebe-8b10-3112f56a3b62", - "comment": "", - "command": "click", - "target": "css=.dropdown-item:nth-child(2)", - "targets": [ - ["linkText=Regex", "linkText"], - ["css=.dropdown-item:nth-child(2)", "css:finder"], - ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], - ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], - ["xpath=//div/div/a[2]", "xpath:position"], - ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "0e7a754d-17e7-446d-a4ca-5fdc72f190a5", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c38946d1-f84a-465b-9384-43ff262300a1", - "comment": "", - "command": "type", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "foo.*" - }, { - "id": "94506691-fb76-4f5a-83b0-28488a7a6cd9", - "comment": "", - "command": "click", - "target": "css=div:nth-child(3) .custom-control-label", - "targets": [ - ["css=div:nth-child(3) .custom-control-label", "css:finder"], - ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "f366c7a9-1e78-4663-9348-d88bf403cd12", - "comment": "", - "command": "click", - "target": "css=div:nth-child(7) .custom-control-label", - "targets": [ - ["css=div:nth-child(7) .custom-control-label", "css:finder"], - ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Remove Existing Formats?')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "ab33f879-0892-4ee0-b395-847176ef969b", - "comment": "", - "command": "click", - "target": "css=.btn-success", - "targets": [ - ["css=.btn-success", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "f4132f22-ee84-481e-b810-e7029193c84b", - "comment": "", - "command": "click", - "target": "css=.input-group-append > .btn", - "targets": [ - ["css=.input-group-append > .btn", "css:finder"], - ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], - ["xpath=//div[@id='field41-container']/div/div/button", "xpath:idRelative"], - ["xpath=//auto-complete/div/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "7faab7e4-8304-4f13-a0c8-e328d806e3f9", - "comment": "", - "command": "click", - "target": "id=field41__option--0", - "targets": [ - ["id=field41__option--0", "id"], - ["css=#field41__option--0", "css:finder"], - ["xpath=//li[@id='field41__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field41__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "1772f5b1-10f8-405a-8b14-11053387404c", - "comment": "", - "command": "click", - "target": "css=.btn-primary", - "targets": [ - ["css=.btn-primary", "css:finder"], - ["xpath=//button[@type='submit']", "xpath:attributes"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "8baeb9be-ddb9-43af-b0be-dae5480006a1", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [ - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'NIF1')]", "xpath:innerText"] - ], - "value": "3000" - }, { - "id": "7fdb0e63-f900-47e2-9dad-06e975543366", - "comment": "", - "command": "assertText", - "target": "css=.td-lg:nth-child(3)", - "targets": [], - "value": "NIF1" - }, { - "id": "76f28ed6-5a49-4a3a-9ee1-8e4dc8c00cf7", - "comment": "", - "command": "click", - "target": "css=.td-sm:nth-child(7) > .btn", - "targets": [ - ["css=.td-sm:nth-child(7) > .btn", "css:finder"], - ["xpath=//td[7]/button", "xpath:position"], - ["xpath=//button[contains(.,'Edit')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "3602e378-f414-4b42-a5b6-eaf696b337c7", - "comment": "", - "command": "click", - "target": "css=.btn-danger", - "targets": [ - ["css=.btn-danger", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'Delete')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "f3acd1eb-7e67-42e0-802e-8c983a679239", - "comment": "", - "command": "assertElementNotPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [], - "value": "" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/CreateAndDeleteNameIDFormatScriptFilter.side b/backend/src/integration/resources/CreateAndDeleteNameIDFormatScriptFilter.side deleted file mode 100644 index 0d79c9e7d..000000000 --- a/backend/src/integration/resources/CreateAndDeleteNameIDFormatScriptFilter.side +++ /dev/null @@ -1,911 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "Create Name ID Format Script Filter", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "758bd43d-364e-4860-bc70-824f5e0a2b52", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "21dc44c6-339c-4260-8009-02e8fb3e74c4", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "24b868c1-7f23-4a9a-89f2-ac540605129a", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c8218096-deaf-4171-883e-d210648f2a35", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: " - }, { - "id": "acb5c4a4-082d-498b-bf21-a6a2d65e6b11", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "b3117791-75ff-4a91-9172-28e7b24fc5f2", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "059bcfe7-c42c-4327-9fcd-b53e2671fb75", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "3471a9c3-2176-4e15-a235-0c326b689ad8", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "1bad25ea-6794-44c6-b7e4-8af3c231144c", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "2d873c07-f89b-420a-a77b-d597dbcf4984", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c1e9ed64-7c58-4683-8ac4-8ea70bde4724", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "ID" - }, { - "id": "5b18ebb5-61c5-4b8e-b252-35d401bfd0a3", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "47569c1e-e601-4ef0-a97d-4a7b0ee15a71", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e4351d67-9066-4631-81ad-0c10e9f0d457", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f3fc7654-a454-4a41-9eb3-9d92bed74e76", - "comment": "", - "command": "doubleClick", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c096f1bd-7b01-4202-bbb8-bb141b512147", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/metadata/test.xml" - }, { - "id": "bb1810c2-25e8-4c11-8de1-de1b37664917", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field8-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f16e0633-b5e7-4544-bbeb-c851519178bd", - "comment": "", - "command": "click", - "target": "id=field8__option--0", - "targets": [ - ["id=field8__option--0", "id"], - ["css=#field8__option--0", "css"], - ["css=#field8__option--0", "css:finder"], - ["xpath=//li[@id='field8__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field8__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "df8efb67-d5f5-4080-b2e7-6ec8777956a7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "45642b8d-b691-4527-a137-de4a2f94f10b", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=#field15-container .fa", "css:finder"], - ["xpath=//div[@id='field15-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "062e47c2-75a8-4404-8139-72031ba87187", - "comment": "", - "command": "click", - "target": "id=field15__option--0", - "targets": [ - ["id=field15__option--0", "id"], - ["css=#field15__option--0", "css"], - ["css=#field15__option--0", "css:finder"], - ["xpath=//li[@id='field15__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "0da757a9-98f9-4454-bb3b-da3e4c14906d", - "comment": "", - "command": "click", - "target": "css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field16-container .fa", "css:finder"], - ["xpath=//div[@id='field16-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "7ddee128-01fc-4c93-a17b-46a882acc705", - "comment": "", - "command": "click", - "target": "id=field16__option--3", - "targets": [ - ["id=field16__option--3", "id"], - ["css=#field16__option--3", "css"], - ["css=#field16__option--3", "css:finder"], - ["xpath=//li[@id='field16__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field16__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "70f6828a-7770-4eb3-bb51-2bccdab7aaa5", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=#field15-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field15-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "850dd703-eb10-4487-ad7c-ee7dcc1143b5", - "comment": "", - "command": "click", - "target": "id=field15__option--1", - "targets": [ - ["id=field15__option--1", "id"], - ["css=#field15__option--1", "css"], - ["css=#field15__option--1", "css:finder"], - ["xpath=//li[@id='field15__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "2b404fc4-0ad0-4963-85ae-eebcfc866b71", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.01" - }, { - "id": "ebcb555d-ea24-41fb-a306-fd2072a4fa20", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a0bed117-0336-4ec2-806a-664add40ef94", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ee0a1de9-4573-4188-a7a3-c5512b299cc8", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "81c3814f-26eb-4e8b-8cd2-93c8c3494270", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "fdf1e317-b808-4866-9052-b44bf1571d1e", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.04" - }, { - "id": "183e50b8-7034-47c7-8b6e-a27a982afc6a", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "dce62f7d-a12a-4fc7-b71c-7f387048acd0", - "comment": "", - "command": "mouseOver", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "82f0c49b-cee3-4a65-9410-8af721ec891c", - "comment": "", - "command": "mouseOut", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "97f3d781-4748-4c3b-93e9-d27b04818df6", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field21-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "8c53a716-f551-4ccf-ac31-36f151784858", - "comment": "", - "command": "click", - "target": "id=field21__option--0", - "targets": [ - ["id=field21__option--0", "id"], - ["css=#field21__option--0", "css"], - ["css=#field21__option--0", "css:finder"], - ["xpath=//li[@id='field21__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field21__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "4c2fb2d1-03c9-4e0b-8098-291808964da0", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "699b5bf4-ed62-4b3e-8727-f81d4c9cdfeb", - "comment": "", - "command": "type", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "oh, happy path dagger " - }, { - "id": "62d89667-aa43-4e45-a665-62ab778d2cf7", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "7c421f6a-04b0-46ab-b456-e1355001f517", - "comment": "", - "command": "click", - "target": "id=field29", - "targets": [ - ["id=field29", "id"], - ["name=field29", "name"], - ["css=#field29", "css"], - ["css=#field29", "css:finder"], - ["xpath=//select[@id='field29']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "a589ed87-e431-4f8c-8bb0-a7c36eff5f70", - "comment": "", - "command": "select", - "target": "id=field29", - "targets": [], - "value": "label=SPSSODescriptor" - }, { - "id": "350ae05b-bcec-419f-8b51-7d3877fa6556", - "comment": "", - "command": "click", - "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", - "targets": [ - ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2aa4bc33-2888-466a-9355-2ccf2fdb931b", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "079c5868-915c-4441-8e57-7069ade24285", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "ca597616-fd50-4286-b2a8-23b951bc93cb", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bfddd68a-b6f6-4dbf-bd03-c6aec1b87d70", - "comment": "", - "command": "click", - "target": "css=div.px-2", - "targets": [ - ["css=div.px-2", "css"], - ["css=.px-2", "css:finder"], - ["xpath=//div[2]/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "c3d80754-3e28-4b07-95f6-5bfac82e9a58", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "b8c89883-4999-4429-a4f0-b20f7dbc825c", - "comment": "", - "command": "click", - "target": "css=span.label", - "targets": [ - ["css=span.label", "css"], - ["css=.label", "css:finder"], - ["xpath=//div[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "b116af38-d1a3-4c5d-8fe6-022e7e704182", - "comment": "", - "command": "click", - "target": "css=a.btn.btn-success > translate-i18n", - "targets": [ - ["css=a.btn.btn-success > translate-i18n", "css"], - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div[2]/a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835212", - "comment": "", - "command": "click", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "4a4bc099-6393-48bb-855f-81d26d655d8f", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [], - "value": "label=NameIDFormat" - }, { - "id": "629aa1a3-5240-4642-bbdf-bf628e9316b8", - "comment": "", - "command": "click", - "target": "css=option:nth-child(3)", - "targets": [ - ["css=option:nth-child(3)", "css:finder"], - ["xpath=//option[@value='NameIDFormat']", "xpath:attributes"], - ["xpath=//option[3]", "xpath:position"], - ["xpath=//option[contains(.,'NameIDFormat')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "3be99c0f-ea13-4854-ab45-625b355d0537", - "comment": "", - "command": "click", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "4cb1b6c4-de4e-4e43-8eba-7b17cdafce27", - "comment": "", - "command": "type", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "NIF1" - }, { - "id": "586ac0e0-7cce-4705-b681-e34ce1daa5d3", - "comment": "", - "command": "click", - "target": "css=.btn-outline-secondary", - "targets": [ - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "784afed0-8004-49c4-abaf-ab72274b3c5c", - "comment": "", - "command": "click", - "target": "css=.dropdown-item:nth-child(3)", - "targets": [ - ["linkText=Script", "linkText"], - ["css=.dropdown-item:nth-child(3)", "css:finder"], - ["xpath=//a[contains(text(),'Script')]", "xpath:link"], - ["xpath=(//a[contains(@href, '#')])[3]", "xpath:href"], - ["xpath=//a[3]", "xpath:position"], - ["xpath=//a[contains(.,'Script')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "4e503501-e676-44ed-b637-f6418b9592ea", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//p[@id='targetInput']", "xpath:attributes"], - ["xpath=//p", "xpath:position"] - ], - "value": "" - }, { - "id": "c1d571d6-28a9-4299-aee6-61dd226fb1be", - "comment": "", - "command": "editContent", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//p[@id='targetInput']", "xpath:attributes"], - ["xpath=//p", "xpath:position"], - ["xpath=//p[contains(.,'eval(true);')]", "xpath:innerText"] - ], - "value": "eval(true);" - }, { - "id": "a2b0b593-f78d-42f8-ba3f-6ba66f37d469", - "comment": "", - "command": "type", - "target": "id=targetInput", - "targets": [], - "value": "\n" - }, { - "id": "8f1fd5b4-8b91-4d8e-98b2-b19d16fd34b3", - "comment": "", - "command": "click", - "target": "css=div:nth-child(3) .custom-control-label", - "targets": [ - ["css=div:nth-child(3) .custom-control-label", "css:finder"], - ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "55e8cf1d-adb3-4304-aa93-eaa3e6ae8e4b", - "comment": "", - "command": "click", - "target": "css=div:nth-child(7) .custom-control-label", - "targets": [ - ["css=div:nth-child(7) .custom-control-label", "css:finder"], - ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Remove Existing Formats?')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "5d5b1bf8-cbdb-4800-b1b4-dac272ae8e87", - "comment": "", - "command": "click", - "target": "css=.btn-success", - "targets": [ - ["css=.btn-success", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "37783003-4e81-4bdc-843a-32941f7f0755", - "comment": "", - "command": "click", - "target": "css=.input-group-append > .btn", - "targets": [ - ["css=.input-group-append > .btn", "css:finder"], - ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], - ["xpath=//div[@id='field41-container']/div/div/button", "xpath:idRelative"], - ["xpath=//auto-complete/div/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "4acadf18-73e9-4957-8a0e-174767adf7dd", - "comment": "", - "command": "click", - "target": "id=field41__option--1", - "targets": [ - ["id=field41__option--1", "id"], - ["css=#field41__option--1", "css:finder"], - ["xpath=//li[@id='field41__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field41__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "c8054e78-c34f-4118-833a-d949dafd45b1", - "comment": "", - "command": "click", - "target": "css=.btn-primary", - "targets": [ - ["css=.btn-primary", "css:finder"], - ["xpath=//button[@type='submit']", "xpath:attributes"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "d12b2b38-e1bb-4ec4-856f-348ba6bc6e8c", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [ - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'NIF1')]", "xpath:innerText"] - ], - "value": "3000" - }, { - "id": "57a0cdcb-db99-4bff-812b-a497d22cdf35", - "comment": "", - "command": "assertText", - "target": "css=.td-lg:nth-child(3)", - "targets": [], - "value": "NIF1" - }, { - "id": "7dbf84a3-6391-45c9-ae0e-ac79c3d45b49", - "comment": "", - "command": "click", - "target": "css=.td-sm:nth-child(7) > .btn", - "targets": [ - ["css=.td-sm:nth-child(7) > .btn", "css:finder"], - ["xpath=//td[7]/button", "xpath:position"], - ["xpath=//button[contains(.,'Edit')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "ca7eca2b-ab60-404d-a70c-2cf4ce1af94c", - "comment": "", - "command": "click", - "target": "css=.btn-danger", - "targets": [ - ["css=.btn-danger", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'Delete')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "18168245-5e32-4aa2-9188-23f299be2c98", - "comment": "", - "command": "assertElementNotPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [], - "value": "" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} diff --git a/backend/src/integration/resources/CreateFilesystemMetadataResolver.side b/backend/src/integration/resources/CreateFilesystemMetadataResolver.side deleted file mode 100644 index a4c8ab1ae..000000000 --- a/backend/src/integration/resources/CreateFilesystemMetadataResolver.side +++ /dev/null @@ -1,361 +0,0 @@ -{ - "id": "19653a0b-29cc-41b3-a959-c9921c4f925a", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101", - "tests": [{ - "id": "c7d4a73a-13aa-4a25-be2b-8bb43106710c", - "name": "Create Filesystem Metadata Resolver", - "commands": [{ - "id": "ed5c2ba2-3b4e-4e0a-9c14-67d608a91605", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "5e2757a5-a223-4842-a3bd-d0a43f82f273", - "comment": "", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "d1dd804e-7fd7-4a56-8d26-aa9ee5b98dc6", - "comment": "", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "95518d08-1b46-491a-b63b-979da7482159", - "comment": "", - "command": "sendKeys", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "${KEY_ENTER}" - }, { - "id": "509fb511-d34b-4186-b1e9-1a1156f2d7c2", - "comment": "", - "command": "click", - "target": "id=addNewDropdown", - "targets": [ - ["id=addNewDropdown", "id"], - ["css=#addNewDropdown", "css:finder"], - ["xpath=//button[@id='addNewDropdown']", "xpath:attributes"], - ["xpath=//div[@id='navbar']/ul/li/button", "xpath:idRelative"], - ["xpath=//li/button", "xpath:position"], - ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "f7d67aef-4404-4c78-836f-d9cdbd0f26d9", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Metadata Provider')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "83134971-3636-4f17-86c1-f5ca7a88230c", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "2564cf93-d33b-43fc-932c-0e23422fc46e", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "FMP" - }, { - "id": "720bc703-1ca7-43c4-812c-93c3661fce09", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FilesystemMetadataProvider" - }, { - "id": "a68d77ea-2ffa-4fc6-bb6a-fcbb074cbd92", - "comment": "", - "command": "click", - "target": "css=option:nth-child(3)", - "targets": [ - ["css=option:nth-child(3)", "css:finder"], - ["xpath=//option[@value='2: FilesystemMetadataResolver']", "xpath:attributes"], - ["xpath=//select[@id='field2']/option[3]", "xpath:idRelative"], - ["xpath=//option[3]", "xpath:position"], - ["xpath=//option[contains(.,'FilesystemMetadataProvider')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "d679cd1c-bba1-4019-9220-f0f1e4af3c3e", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[2]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f843fc26-6729-4ccf-8fbb-9fcdc1ba6b52", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "49274009-fa9e-4c8a-95c2-032e2a1e2b23", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "FMP" - }, { - "id": "8cc60944-ded8-42bf-b5db-e32818a2a528", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/foo" - }, { - "id": "e5d129bf-aa8e-46c6-ba23-4185a653119a", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "018faf32-9f65-4973-a8ba-fce42af64ba7", - "comment": "", - "command": "mouseOver", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "3638217f-97fa-472c-a035-43b5d13dee5c", - "comment": "", - "command": "mouseOut", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "286e1a41-99b8-4e0d-b930-dd4a19f22a63", - "comment": "", - "command": "click", - "target": "css=#field9-container .btn", - "targets": [ - ["css=#field9-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field9-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "fd838406-29a3-4cab-9f45-680b54ea48de", - "comment": "", - "command": "click", - "target": "id=field9__option--1", - "targets": [ - ["id=field9__option--1", "id"], - ["css=#field9__option--1", "css:finder"], - ["xpath=//li[@id='field9__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field9__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], - ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "a490de7b-e96c-4d06-826c-441cea7629c8", - "comment": "", - "command": "click", - "target": "css=#field10-container .btn", - "targets": [ - ["css=#field10-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], - ["xpath=//div[@id='field10-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "335eb9d4-e1f2-4033-8db2-94f7fc0269ed", - "comment": "", - "command": "click", - "target": "id=field10__option--2", - "targets": [ - ["id=field10__option--2", "id"], - ["css=#field10__option--2", "css:finder"], - ["xpath=//li[@id='field10__option--2']", "xpath:attributes"], - ["xpath=//ul[@id='field10__listbox']/li[3]", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] - ], - "value": "" - }, { - "id": "95261123-a400-4bc4-a10f-46493e987165", - "comment": "", - "command": "click", - "target": "id=field11", - "targets": [ - ["id=field11", "id"], - ["name=field11", "name"], - ["css=#field11", "css:finder"], - ["xpath=//input[@id='field11']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "002a57dd-a764-497e-aa89-b7caf5e5c03f", - "comment": "", - "command": "type", - "target": "id=field11", - "targets": [ - ["id=field11", "id"], - ["name=field11", "name"], - ["css=#field11", "css:finder"], - ["xpath=//input[@id='field11']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "0.5" - }, { - "id": "faaf0c2d-91c2-4a04-8c16-160d5f65e7b1", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "d52b5131-ee48-488e-8710-f80c3ad05188", - "comment": "", - "command": "click", - "target": "css=.custom-control", - "targets": [ - ["css=.custom-control", "css:finder"], - ["xpath=//checkbox-component/div/div/div", "xpath:position"] - ], - "value": "" - }, { - "id": "d03ec12d-9269-4131-a926-52c587664c72", - "comment": "", - "command": "click", - "target": "css=.custom-control-label", - "targets": [ - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"], - ["xpath=//label[contains(.,'Enable Metadata Provider?')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "92f93315-1e4b-4d39-b059-79eeda18959d", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "552d4a64-9eeb-45f4-81b9-a1d025401cfc", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.fa-caret-right", - "targets": [], - "value": "3000" - }, { - "id": "296972ed-66b3-4118-9455-41b4245733ae", - "comment": "", - "command": "click", - "target": "css=.fa-caret-right", - "targets": [ - ["css=.fa-caret-right", "css:finder"], - ["xpath=//div/i", "xpath:position"] - ], - "value": "" - }, { - "id": "0a65f8f4-dfa6-447d-9625-9d67cf237dab", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(2) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(2) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div[2]/div[2]", "xpath:position"] - ], - "value": "FilesystemMetadataResolver" - }] - }], - "suites": [{ - "id": "7d6efe19-3c3f-457c-8033-af6fcb4fc164", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["c7d4a73a-13aa-4a25-be2b-8bb43106710c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/CreateFilterEntityID.side b/backend/src/integration/resources/CreateFilterEntityID.side deleted file mode 100644 index 33b8c7fc0..000000000 --- a/backend/src/integration/resources/CreateFilterEntityID.side +++ /dev/null @@ -1,990 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "FBHMR - Entity Attributes - Entity ID", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "758bd43d-364e-4860-bc70-824f5e0a2b52", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "21dc44c6-339c-4260-8009-02e8fb3e74c4", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "24b868c1-7f23-4a9a-89f2-ac540605129a", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c8218096-deaf-4171-883e-d210648f2a35", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: " - }, { - "id": "acb5c4a4-082d-498b-bf21-a6a2d65e6b11", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "b3117791-75ff-4a91-9172-28e7b24fc5f2", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "059bcfe7-c42c-4327-9fcd-b53e2671fb75", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "3471a9c3-2176-4e15-a235-0c326b689ad8", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "1bad25ea-6794-44c6-b7e4-8af3c231144c", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "2d873c07-f89b-420a-a77b-d597dbcf4984", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c1e9ed64-7c58-4683-8ac4-8ea70bde4724", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "ID" - }, { - "id": "5b18ebb5-61c5-4b8e-b252-35d401bfd0a3", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "47569c1e-e601-4ef0-a97d-4a7b0ee15a71", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e4351d67-9066-4631-81ad-0c10e9f0d457", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f3fc7654-a454-4a41-9eb3-9d92bed74e76", - "comment": "", - "command": "doubleClick", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c096f1bd-7b01-4202-bbb8-bb141b512147", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/metadata/test.xml" - }, { - "id": "bb1810c2-25e8-4c11-8de1-de1b37664917", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field8-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f16e0633-b5e7-4544-bbeb-c851519178bd", - "comment": "", - "command": "click", - "target": "id=field8__option--0", - "targets": [ - ["id=field8__option--0", "id"], - ["css=#field8__option--0", "css"], - ["css=#field8__option--0", "css:finder"], - ["xpath=//li[@id='field8__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field8__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "df8efb67-d5f5-4080-b2e7-6ec8777956a7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "45642b8d-b691-4527-a137-de4a2f94f10b", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=#field15-container .fa", "css:finder"], - ["xpath=//div[@id='field15-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "062e47c2-75a8-4404-8139-72031ba87187", - "comment": "", - "command": "click", - "target": "id=field15__option--0", - "targets": [ - ["id=field15__option--0", "id"], - ["css=#field15__option--0", "css"], - ["css=#field15__option--0", "css:finder"], - ["xpath=//li[@id='field15__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "0da757a9-98f9-4454-bb3b-da3e4c14906d", - "comment": "", - "command": "click", - "target": "css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field16-container .fa", "css:finder"], - ["xpath=//div[@id='field16-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "7ddee128-01fc-4c93-a17b-46a882acc705", - "comment": "", - "command": "click", - "target": "id=field16__option--3", - "targets": [ - ["id=field16__option--3", "id"], - ["css=#field16__option--3", "css"], - ["css=#field16__option--3", "css:finder"], - ["xpath=//li[@id='field16__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field16__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "70f6828a-7770-4eb3-bb51-2bccdab7aaa5", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=#field15-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field15-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "850dd703-eb10-4487-ad7c-ee7dcc1143b5", - "comment": "", - "command": "click", - "target": "id=field15__option--1", - "targets": [ - ["id=field15__option--1", "id"], - ["css=#field15__option--1", "css"], - ["css=#field15__option--1", "css:finder"], - ["xpath=//li[@id='field15__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "2b404fc4-0ad0-4963-85ae-eebcfc866b71", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.01" - }, { - "id": "ebcb555d-ea24-41fb-a306-fd2072a4fa20", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a0bed117-0336-4ec2-806a-664add40ef94", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ee0a1de9-4573-4188-a7a3-c5512b299cc8", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "81c3814f-26eb-4e8b-8cd2-93c8c3494270", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "fdf1e317-b808-4866-9052-b44bf1571d1e", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.04" - }, { - "id": "183e50b8-7034-47c7-8b6e-a27a982afc6a", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "dce62f7d-a12a-4fc7-b71c-7f387048acd0", - "comment": "", - "command": "mouseOver", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "82f0c49b-cee3-4a65-9410-8af721ec891c", - "comment": "", - "command": "mouseOut", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "97f3d781-4748-4c3b-93e9-d27b04818df6", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field21-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "8c53a716-f551-4ccf-ac31-36f151784858", - "comment": "", - "command": "click", - "target": "id=field21__option--0", - "targets": [ - ["id=field21__option--0", "id"], - ["css=#field21__option--0", "css"], - ["css=#field21__option--0", "css:finder"], - ["xpath=//li[@id='field21__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field21__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "4c2fb2d1-03c9-4e0b-8098-291808964da0", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "699b5bf4-ed62-4b3e-8727-f81d4c9cdfeb", - "comment": "", - "command": "type", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "oh, happy path dagger " - }, { - "id": "62d89667-aa43-4e45-a665-62ab778d2cf7", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "7c421f6a-04b0-46ab-b456-e1355001f517", - "comment": "", - "command": "click", - "target": "id=field29", - "targets": [ - ["id=field29", "id"], - ["name=field29", "name"], - ["css=#field29", "css"], - ["css=#field29", "css:finder"], - ["xpath=//select[@id='field29']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "a589ed87-e431-4f8c-8bb0-a7c36eff5f70", - "comment": "", - "command": "select", - "target": "id=field29", - "targets": [], - "value": "label=SPSSODescriptor" - }, { - "id": "350ae05b-bcec-419f-8b51-7d3877fa6556", - "comment": "", - "command": "click", - "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", - "targets": [ - ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2aa4bc33-2888-466a-9355-2ccf2fdb931b", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "079c5868-915c-4441-8e57-7069ade24285", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "ca597616-fd50-4286-b2a8-23b951bc93cb", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bfddd68a-b6f6-4dbf-bd03-c6aec1b87d70", - "comment": "", - "command": "click", - "target": "css=div.px-2", - "targets": [ - ["css=div.px-2", "css"], - ["css=.px-2", "css:finder"], - ["xpath=//div[2]/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "c3d80754-3e28-4b07-95f6-5bfac82e9a58", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "108a25aa-6b33-4fa2-870d-ee413d7eb986", - "comment": "", - "command": "click", - "target": "css=span.label", - "targets": [ - ["css=span.label", "css"], - ["css=.label", "css:finder"], - ["xpath=//div[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "cd40ffcd-f364-40f2-9876-f490e28e1a84", - "comment": "", - "command": "click", - "target": "css=a.btn.btn-success > translate-i18n", - "targets": [ - ["css=a.btn.btn-success > translate-i18n", "css"], - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div[2]/a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835212", - "comment": "", - "command": "click", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835211", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "label=EntityAttributes" - }, { - "id": "31dca951-b673-41a5-9430-184ed7d8a170", - "comment": "", - "command": "type", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Entity ID" - }, { - "id": "9e4c3fd7-75ff-43bc-878d-12e0f8977d04", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a453edf2-c8c5-47d1-86a2-c59d30d0935f", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ce6087c0-3e43-40cb-ba03-b6b0fc34ea60", - "comment": "", - "command": "type", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "450a6b01-4fbb-4bf0-ab2a-21fc48e7f6db", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-success", - "targets": [ - ["css=button.btn.btn-success", "css"], - ["css=.btn-success:nth-child(1)", "css:finder"], - ["xpath=//div[2]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "ae60ce78-2ef8-40d0-867a-3296eab59bcd", - "comment": "", - "command": "click", - "target": "css=.col:nth-child(1) > div:nth-child(1) > div:nth-child(1) .custom-control-label:nth-child(2)", - "targets": [ - ["css=.col:nth-child(1) > div:nth-child(1) > div:nth-child(1) .custom-control-label:nth-child(2)", "css:finder"], - ["xpath=//custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "9585cbd1-7105-440f-9d89-c0511e1c910c", - "comment": "", - "command": "click", - "target": "id=field46", - "targets": [ - ["id=field46", "id"], - ["name=field46", "name"], - ["css=#field46", "css"], - ["css=#field46", "css:finder"], - ["xpath=//input[@id='field46']", "xpath:attributes"], - ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "2b5e708e-f6c8-4001-b18c-11269a9c7264", - "comment": "", - "command": "type", - "target": "id=field46", - "targets": [ - ["id=field46", "id"], - ["name=field46", "name"], - ["css=#field46", "css"], - ["css=#field46", "css:finder"], - ["xpath=//input[@id='field46']", "xpath:attributes"], - ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Responder ID" - }, { - "id": "4451ac43-b75a-4498-9a25-24ea0f3bd25e", - "comment": "", - "command": "click", - "target": "css=div:nth-child(8) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], - ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "3b12612c-57f0-441b-b489-1ca15e589336", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field51-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "9203ebe0-eb01-4ac3-a77b-bf6cedb5b159", - "comment": "", - "command": "click", - "target": "id=field51__option--0", - "targets": [ - ["id=field51__option--0", "id"], - ["css=#field51__option--0", "css"], - ["css=#field51__option--0", "css:finder"], - ["xpath=//li[@id='field51__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field51__listbox']/li", "xpath:idRelative"], - ["xpath=//datalist-component/div/auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "f03fc4a5-0e9d-46ed-977c-69e2edb3b83a", - "comment": "", - "command": "mouseOver", - "target": "css=div.input-group-append > button.btn.btn-outline-secondary", - "targets": [ - ["css=div.input-group-append > button.btn.btn-outline-secondary", "css"], - ["css=.input-group-append > .btn", "css:finder"], - ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], - ["xpath=//div[@id='field51-container']/div/div/button", "xpath:idRelative"], - ["xpath=//auto-complete/div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "d79a40e6-cde0-4157-b5f1-c093611cd3b2", - "comment": "", - "command": "click", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "dd05591c-1638-4897-83e2-9c5221de52d6", - "comment": "", - "command": "mouseOver", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "82f38f36-772e-4e3f-8a51-6dbeabf0c0eb", - "comment": "", - "command": "mouseOut", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "0cf1c137-dd03-4508-83e3-13f13ded7681", - "comment": "", - "command": "click", - "target": "css=#field52-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field52-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field52-container .fa", "css:finder"], - ["xpath=//div[@id='field52-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "788b0465-8075-41de-ac28-ed827722c5b8", - "comment": "", - "command": "click", - "target": "id=field52__option--2", - "targets": [ - ["id=field52__option--2", "id"], - ["css=#field52__option--2", "css"], - ["css=#field52__option--2", "css:finder"], - ["xpath=//li[@id='field52__option--2']", "xpath:attributes"], - ["xpath=//ul[@id='field52__listbox']/li[3]", "xpath:idRelative"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] - ], - "value": "" - }, { - "id": "2f304361-1742-4466-a756-d5fae0f6faa3", - "comment": "", - "command": "click", - "target": "css=fieldset > div.custom-control.custom-checkbox > label.custom-control-label", - "targets": [ - ["css=fieldset > div.custom-control.custom-checkbox > label.custom-control-label", "css"], - ["css=tr:nth-child(1) .custom-control-label", "css:finder"], - ["xpath=//fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "8a27b871-8dcf-4abd-ac7a-cf0a6ad3052b", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(3) .custom-control-label", - "targets": [ - ["css=tr:nth-child(3) .custom-control-label", "css:finder"], - ["xpath=//tr[3]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "537bad2a-2075-47b6-b03b-a07059d8ad43", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(8) .custom-control-label", - "targets": [ - ["css=tr:nth-child(8) .custom-control-label", "css:finder"], - ["xpath=//tr[8]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2b513cdd-f5aa-4a71-b848-7733f056b5f8", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(10) .custom-control-label", - "targets": [ - ["css=tr:nth-child(10) .custom-control-label", "css:finder"], - ["xpath=//tr[10]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "8a2ac7e8-f3f5-4e4f-aad1-0eaf87e15915", - "comment": "", - "command": "click", - "target": "css=.fa-save", - "targets": [ - ["css=.fa-save", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "0639596d-acef-4dd4-91b1-de12b05f9876", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [], - "value": "3000" - }, { - "id": "77bb14f1-a994-4dcd-880e-16d262762941", - "comment": "", - "command": "assertText", - "target": "css=.td-lg:nth-child(3)", - "targets": [ - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'Entity ID')]", "xpath:innerText"] - ], - "value": "Entity ID" - }, { - "id": "7e890e10-3f49-47ec-b118-25fc28c6563e", - "comment": "", - "command": "assertText", - "target": "css=.td-lg:nth-child(4)", - "targets": [ - ["css=.td-lg:nth-child(4)", "css:finder"], - ["xpath=//td[4]", "xpath:position"], - ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] - ], - "value": "EntityAttributes" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/CreateFilterREGEX.side b/backend/src/integration/resources/CreateFilterREGEX.side deleted file mode 100644 index cd01dbed0..000000000 --- a/backend/src/integration/resources/CreateFilterREGEX.side +++ /dev/null @@ -1,894 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "Create Filter REGEX", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "758bd43d-364e-4860-bc70-824f5e0a2b52", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "21dc44c6-339c-4260-8009-02e8fb3e74c4", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "24b868c1-7f23-4a9a-89f2-ac540605129a", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c8218096-deaf-4171-883e-d210648f2a35", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: " - }, { - "id": "acb5c4a4-082d-498b-bf21-a6a2d65e6b11", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "b3117791-75ff-4a91-9172-28e7b24fc5f2", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "059bcfe7-c42c-4327-9fcd-b53e2671fb75", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "3471a9c3-2176-4e15-a235-0c326b689ad8", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "1bad25ea-6794-44c6-b7e4-8af3c231144c", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "2d873c07-f89b-420a-a77b-d597dbcf4984", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c1e9ed64-7c58-4683-8ac4-8ea70bde4724", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "ID" - }, { - "id": "5b18ebb5-61c5-4b8e-b252-35d401bfd0a3", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "47569c1e-e601-4ef0-a97d-4a7b0ee15a71", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e4351d67-9066-4631-81ad-0c10e9f0d457", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f3fc7654-a454-4a41-9eb3-9d92bed74e76", - "comment": "", - "command": "doubleClick", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c096f1bd-7b01-4202-bbb8-bb141b512147", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/metadata/test.xml" - }, { - "id": "bb1810c2-25e8-4c11-8de1-de1b37664917", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field8-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f16e0633-b5e7-4544-bbeb-c851519178bd", - "comment": "", - "command": "click", - "target": "id=field8__option--0", - "targets": [ - ["id=field8__option--0", "id"], - ["css=#field8__option--0", "css"], - ["css=#field8__option--0", "css:finder"], - ["xpath=//li[@id='field8__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field8__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "df8efb67-d5f5-4080-b2e7-6ec8777956a7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "45642b8d-b691-4527-a137-de4a2f94f10b", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=#field15-container .fa", "css:finder"], - ["xpath=//div[@id='field15-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "062e47c2-75a8-4404-8139-72031ba87187", - "comment": "", - "command": "click", - "target": "id=field15__option--0", - "targets": [ - ["id=field15__option--0", "id"], - ["css=#field15__option--0", "css"], - ["css=#field15__option--0", "css:finder"], - ["xpath=//li[@id='field15__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "0da757a9-98f9-4454-bb3b-da3e4c14906d", - "comment": "", - "command": "click", - "target": "css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field16-container .fa", "css:finder"], - ["xpath=//div[@id='field16-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "7ddee128-01fc-4c93-a17b-46a882acc705", - "comment": "", - "command": "click", - "target": "id=field16__option--3", - "targets": [ - ["id=field16__option--3", "id"], - ["css=#field16__option--3", "css"], - ["css=#field16__option--3", "css:finder"], - ["xpath=//li[@id='field16__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field16__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "70f6828a-7770-4eb3-bb51-2bccdab7aaa5", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=#field15-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field15-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "850dd703-eb10-4487-ad7c-ee7dcc1143b5", - "comment": "", - "command": "click", - "target": "id=field15__option--1", - "targets": [ - ["id=field15__option--1", "id"], - ["css=#field15__option--1", "css"], - ["css=#field15__option--1", "css:finder"], - ["xpath=//li[@id='field15__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "2b404fc4-0ad0-4963-85ae-eebcfc866b71", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.01" - }, { - "id": "ebcb555d-ea24-41fb-a306-fd2072a4fa20", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a0bed117-0336-4ec2-806a-664add40ef94", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ee0a1de9-4573-4188-a7a3-c5512b299cc8", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "81c3814f-26eb-4e8b-8cd2-93c8c3494270", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "fdf1e317-b808-4866-9052-b44bf1571d1e", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.04" - }, { - "id": "183e50b8-7034-47c7-8b6e-a27a982afc6a", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "dce62f7d-a12a-4fc7-b71c-7f387048acd0", - "comment": "", - "command": "mouseOver", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "82f0c49b-cee3-4a65-9410-8af721ec891c", - "comment": "", - "command": "mouseOut", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "97f3d781-4748-4c3b-93e9-d27b04818df6", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field21-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "8c53a716-f551-4ccf-ac31-36f151784858", - "comment": "", - "command": "click", - "target": "id=field21__option--0", - "targets": [ - ["id=field21__option--0", "id"], - ["css=#field21__option--0", "css"], - ["css=#field21__option--0", "css:finder"], - ["xpath=//li[@id='field21__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field21__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "4c2fb2d1-03c9-4e0b-8098-291808964da0", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "699b5bf4-ed62-4b3e-8727-f81d4c9cdfeb", - "comment": "", - "command": "type", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "oh, happy path dagger " - }, { - "id": "62d89667-aa43-4e45-a665-62ab778d2cf7", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "7c421f6a-04b0-46ab-b456-e1355001f517", - "comment": "", - "command": "click", - "target": "id=field29", - "targets": [ - ["id=field29", "id"], - ["name=field29", "name"], - ["css=#field29", "css"], - ["css=#field29", "css:finder"], - ["xpath=//select[@id='field29']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "a589ed87-e431-4f8c-8bb0-a7c36eff5f70", - "comment": "", - "command": "select", - "target": "id=field29", - "targets": [], - "value": "label=SPSSODescriptor" - }, { - "id": "350ae05b-bcec-419f-8b51-7d3877fa6556", - "comment": "", - "command": "click", - "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", - "targets": [ - ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2aa4bc33-2888-466a-9355-2ccf2fdb931b", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "079c5868-915c-4441-8e57-7069ade24285", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "ca597616-fd50-4286-b2a8-23b951bc93cb", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bfddd68a-b6f6-4dbf-bd03-c6aec1b87d70", - "comment": "", - "command": "click", - "target": "css=div.px-2", - "targets": [ - ["css=div.px-2", "css"], - ["css=.px-2", "css:finder"], - ["xpath=//div[2]/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "c3d80754-3e28-4b07-95f6-5bfac82e9a58", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "b8c89883-4999-4429-a4f0-b20f7dbc825c", - "comment": "", - "command": "click", - "target": "css=span.label", - "targets": [ - ["css=span.label", "css"], - ["css=.label", "css:finder"], - ["xpath=//div[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "b116af38-d1a3-4c5d-8fe6-022e7e704182", - "comment": "", - "command": "click", - "target": "css=a.btn.btn-success > translate-i18n", - "targets": [ - ["css=a.btn.btn-success > translate-i18n", "css"], - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div[2]/a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835212", - "comment": "", - "command": "click", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835211", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "label=EntityAttributes" - }, { - "id": "a69166b9-4073-4653-987d-0537702f5dbb", - "comment": "", - "command": "click", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "23fb3205-4f3e-44d0-b4fa-d36763ca03ac", - "comment": "", - "command": "type", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "REGEX" - }, { - "id": "3fafbc55-60df-491b-b3d7-99a9985162f5", - "comment": "", - "command": "click", - "target": "css=.btn-outline-secondary", - "targets": [ - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bcb6b08c-2c96-4662-9615-172c5cca5555", - "comment": "", - "command": "click", - "target": "css=.dropdown-item:nth-child(2)", - "targets": [ - ["linkText=Regex", "linkText"], - ["css=.dropdown-item:nth-child(2)", "css:finder"], - ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], - ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], - ["xpath=//div/div/a[2]", "xpath:position"], - ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "6f4c6778-5f18-43cd-aed4-c4a02eb6fd39", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "90f1da50-f166-46e9-833f-0c3da22a9604", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "6ccfef71-3064-4c43-a715-2623db36d897", - "comment": "", - "command": "doubleClick", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "59d835e5-000e-4570-8048-3b376be2062c", - "comment": "", - "command": "type", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "foo.*" - }, { - "id": "9c0fcb70-83f6-45b5-b5ef-d0ff7bdc80cb", - "comment": "", - "command": "click", - "target": "css=fieldset > div.row", - "targets": [ - ["css=fieldset > div.row", "css"], - ["css=fieldset > .row", "css:finder"], - ["xpath=//filter-target/fieldset/div", "xpath:position"] - ], - "value": "" - }, { - "id": "8c936dc3-f584-4857-bf31-000c1d573b60", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "58d17669-7606-43a6-9ae8-6c0f61586d54", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "2b173ea3-b0aa-4d7b-88bb-2c3c2b900d7d", - "comment": "", - "command": "click", - "target": "css=fieldset > div.row", - "targets": [ - ["css=fieldset > div.row", "css"], - ["css=fieldset > .row", "css:finder"], - ["xpath=//filter-target/fieldset/div", "xpath:position"] - ], - "value": "" - }, { - "id": "de3cd0f1-f56a-4bab-8867-e8bf2a676b9a", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-primary", - "targets": [ - ["css=button.btn.btn-primary", "css"], - ["css=.btn-primary", "css:finder"], - ["xpath=//button[@type='submit']", "xpath:attributes"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "e54836ef-e3ac-41df-9989-ca8abffa0ee5", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [ - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'REGEX')]", "xpath:innerText"] - ], - "value": "3000" - }, { - "id": "8d472caf-2525-4e20-9f14-195e0212f72f", - "comment": "", - "command": "assertText", - "target": "css=.td-lg:nth-child(3)", - "targets": [ - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'REGEX')]", "xpath:innerText"] - ], - "value": "REGEX" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/CreateFilterScript.side b/backend/src/integration/resources/CreateFilterScript.side deleted file mode 100644 index f1cdb090f..000000000 --- a/backend/src/integration/resources/CreateFilterScript.side +++ /dev/null @@ -1,895 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "Create Filter Script", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "758bd43d-364e-4860-bc70-824f5e0a2b52", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "21dc44c6-339c-4260-8009-02e8fb3e74c4", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "24b868c1-7f23-4a9a-89f2-ac540605129a", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c8218096-deaf-4171-883e-d210648f2a35", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: " - }, { - "id": "acb5c4a4-082d-498b-bf21-a6a2d65e6b11", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "b3117791-75ff-4a91-9172-28e7b24fc5f2", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "059bcfe7-c42c-4327-9fcd-b53e2671fb75", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "3471a9c3-2176-4e15-a235-0c326b689ad8", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "1bad25ea-6794-44c6-b7e4-8af3c231144c", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "2d873c07-f89b-420a-a77b-d597dbcf4984", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c1e9ed64-7c58-4683-8ac4-8ea70bde4724", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "ID" - }, { - "id": "5b18ebb5-61c5-4b8e-b252-35d401bfd0a3", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "47569c1e-e601-4ef0-a97d-4a7b0ee15a71", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e4351d67-9066-4631-81ad-0c10e9f0d457", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f3fc7654-a454-4a41-9eb3-9d92bed74e76", - "comment": "", - "command": "doubleClick", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c096f1bd-7b01-4202-bbb8-bb141b512147", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/metadata/test.xml" - }, { - "id": "bb1810c2-25e8-4c11-8de1-de1b37664917", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field8-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f16e0633-b5e7-4544-bbeb-c851519178bd", - "comment": "", - "command": "click", - "target": "id=field8__option--0", - "targets": [ - ["id=field8__option--0", "id"], - ["css=#field8__option--0", "css"], - ["css=#field8__option--0", "css:finder"], - ["xpath=//li[@id='field8__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field8__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "df8efb67-d5f5-4080-b2e7-6ec8777956a7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "45642b8d-b691-4527-a137-de4a2f94f10b", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=#field15-container .fa", "css:finder"], - ["xpath=//div[@id='field15-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "062e47c2-75a8-4404-8139-72031ba87187", - "comment": "", - "command": "click", - "target": "id=field15__option--0", - "targets": [ - ["id=field15__option--0", "id"], - ["css=#field15__option--0", "css"], - ["css=#field15__option--0", "css:finder"], - ["xpath=//li[@id='field15__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "0da757a9-98f9-4454-bb3b-da3e4c14906d", - "comment": "", - "command": "click", - "target": "css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field16-container .fa", "css:finder"], - ["xpath=//div[@id='field16-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "7ddee128-01fc-4c93-a17b-46a882acc705", - "comment": "", - "command": "click", - "target": "id=field16__option--3", - "targets": [ - ["id=field16__option--3", "id"], - ["css=#field16__option--3", "css"], - ["css=#field16__option--3", "css:finder"], - ["xpath=//li[@id='field16__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field16__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "70f6828a-7770-4eb3-bb51-2bccdab7aaa5", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=#field15-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field15-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "850dd703-eb10-4487-ad7c-ee7dcc1143b5", - "comment": "", - "command": "click", - "target": "id=field15__option--1", - "targets": [ - ["id=field15__option--1", "id"], - ["css=#field15__option--1", "css"], - ["css=#field15__option--1", "css:finder"], - ["xpath=//li[@id='field15__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "2b404fc4-0ad0-4963-85ae-eebcfc866b71", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.01" - }, { - "id": "ebcb555d-ea24-41fb-a306-fd2072a4fa20", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a0bed117-0336-4ec2-806a-664add40ef94", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ee0a1de9-4573-4188-a7a3-c5512b299cc8", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "81c3814f-26eb-4e8b-8cd2-93c8c3494270", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "fdf1e317-b808-4866-9052-b44bf1571d1e", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.04" - }, { - "id": "183e50b8-7034-47c7-8b6e-a27a982afc6a", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "dce62f7d-a12a-4fc7-b71c-7f387048acd0", - "comment": "", - "command": "mouseOver", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "82f0c49b-cee3-4a65-9410-8af721ec891c", - "comment": "", - "command": "mouseOut", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "97f3d781-4748-4c3b-93e9-d27b04818df6", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field21-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "8c53a716-f551-4ccf-ac31-36f151784858", - "comment": "", - "command": "click", - "target": "id=field21__option--0", - "targets": [ - ["id=field21__option--0", "id"], - ["css=#field21__option--0", "css"], - ["css=#field21__option--0", "css:finder"], - ["xpath=//li[@id='field21__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field21__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "4c2fb2d1-03c9-4e0b-8098-291808964da0", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "699b5bf4-ed62-4b3e-8727-f81d4c9cdfeb", - "comment": "", - "command": "type", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "oh, happy path dagger " - }, { - "id": "62d89667-aa43-4e45-a665-62ab778d2cf7", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "7c421f6a-04b0-46ab-b456-e1355001f517", - "comment": "", - "command": "click", - "target": "id=field29", - "targets": [ - ["id=field29", "id"], - ["name=field29", "name"], - ["css=#field29", "css"], - ["css=#field29", "css:finder"], - ["xpath=//select[@id='field29']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "a589ed87-e431-4f8c-8bb0-a7c36eff5f70", - "comment": "", - "command": "select", - "target": "id=field29", - "targets": [], - "value": "label=SPSSODescriptor" - }, { - "id": "350ae05b-bcec-419f-8b51-7d3877fa6556", - "comment": "", - "command": "click", - "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", - "targets": [ - ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2aa4bc33-2888-466a-9355-2ccf2fdb931b", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "079c5868-915c-4441-8e57-7069ade24285", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "ca597616-fd50-4286-b2a8-23b951bc93cb", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bfddd68a-b6f6-4dbf-bd03-c6aec1b87d70", - "comment": "", - "command": "click", - "target": "css=div.px-2", - "targets": [ - ["css=div.px-2", "css"], - ["css=.px-2", "css:finder"], - ["xpath=//div[2]/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "c3d80754-3e28-4b07-95f6-5bfac82e9a58", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "9dadc071-16b4-4758-8e21-93933d72e8b5", - "comment": "", - "command": "click", - "target": "css=span.label", - "targets": [ - ["css=span.label", "css"], - ["css=.label", "css:finder"], - ["xpath=//div[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "2a3b3d92-ebef-4466-ba9d-43bf3a4454d0", - "comment": "", - "command": "click", - "target": "css=a.btn.btn-success > translate-i18n", - "targets": [ - ["css=a.btn.btn-success > translate-i18n", "css"], - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div[2]/a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835212", - "comment": "", - "command": "click", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835211", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "label=EntityAttributes" - }, { - "id": "5fc45586-7f56-4cce-927c-986c51eb5fde", - "comment": "", - "command": "click", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "bd69ec1a-99aa-4bc2-a973-f46ffa104ecb", - "comment": "", - "command": "type", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Script" - }, { - "id": "dc8ee0dd-8e03-4389-b0ec-897b81fbb5f6", - "comment": "", - "command": "click", - "target": "css=div.dropdown", - "targets": [ - ["css=div.dropdown", "css"], - ["css=.dropdown:nth-child(2)", "css:finder"], - ["xpath=//div/div/div/div", "xpath:position"] - ], - "value": "" - }, { - "id": "16582c26-d6f2-48ea-9eb3-c71e4ef3d1bd", - "comment": "", - "command": "click", - "target": "css=.btn-outline-secondary", - "targets": [ - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "a42808f2-8ec5-42f7-b74b-ab8487bb1134", - "comment": "", - "command": "click", - "target": "css=.dropdown-item:nth-child(3)", - "targets": [ - ["linkText=Script", "linkText"], - ["css=.dropdown-item:nth-child(3)", "css:finder"], - ["xpath=//a[contains(text(),'Script')]", "xpath:link"], - ["xpath=(//a[contains(@href, '#')])[3]", "xpath:href"], - ["xpath=//a[3]", "xpath:position"] - ], - "value": "" - }, { - "id": "8bfe3d33-1e33-43cb-8903-6aaaa53a32f3", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//p[@id='targetInput']", "xpath:attributes"], - ["xpath=//p", "xpath:position"] - ], - "value": "" - }, { - "id": "0d3f1f64-0a69-4dfe-bc6a-1287a8a3b79f", - "comment": "", - "command": "editContent", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//p[@id='targetInput']", "xpath:attributes"], - ["xpath=//p", "xpath:position"] - ], - "value": "eval(true);" - }, { - "id": "12e67d13-7a7d-4467-940d-11e5a24db0b4", - "comment": "", - "command": "sendKeys", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//p[@id='targetInput']", "xpath:attributes"], - ["xpath=//p", "xpath:position"], - ["xpath=//p[contains(.,'eval(true);')]", "xpath:innerText"] - ], - "value": "\n" - }, { - "id": "38c76223-9080-4938-81b0-2f3c4706e943", - "comment": "", - "command": "click", - "target": "css=fieldset > div.row", - "targets": [ - ["css=fieldset > div.row", "css"], - ["css=fieldset > .row", "css:finder"], - ["xpath=//filter-target/fieldset/div", "xpath:position"] - ], - "value": "" - }, { - "id": "1dcc7fd6-917f-4f0b-aeef-34ace5ec8656", - "comment": "", - "command": "click", - "target": "id=field46", - "targets": [ - ["id=field46", "id"], - ["name=field46", "name"], - ["css=#field46", "css"], - ["css=#field46", "css:finder"], - ["xpath=//input[@id='field46']", "xpath:attributes"], - ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a5cf4ef6-904f-4185-a9dc-cedf97fdc620", - "comment": "", - "command": "type", - "target": "id=field46", - "targets": [ - ["id=field46", "id"], - ["name=field46", "name"], - ["css=#field46", "css"], - ["css=#field46", "css:finder"], - ["xpath=//input[@id='field46']", "xpath:attributes"], - ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Responder ID" - }, { - "id": "f62cc86c-2704-4d0d-bd91-ede7873997d5", - "comment": "", - "command": "click", - "target": "css=fieldset > div.custom-control.custom-checkbox > label.custom-control-label", - "targets": [ - ["css=fieldset > div.custom-control.custom-checkbox > label.custom-control-label", "css"], - ["css=tr:nth-child(1) .custom-control-label", "css:finder"], - ["xpath=//fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "a47ef85d-bd42-4aec-aad5-d7db00d7b335", - "comment": "", - "command": "click", - "target": "css=.fa-save", - "targets": [ - ["css=.fa-save", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "e54836ef-e3ac-41df-9989-ca8abffa0ee5", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [ - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'Script')]", "xpath:innerText"] - ], - "value": "3000" - }, { - "id": "fc850e41-44ec-4775-a64a-9a77a4c4f83b", - "comment": "", - "command": "assertText", - "target": "css=.td-lg:nth-child(3)", - "targets": [ - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'Script')]", "xpath:innerText"] - ], - "value": "Script" - }, { - "id": "05b5bfc3-4867-4243-9941-f74dd149a352", - "comment": "", - "command": "assertText", - "target": "css=.td-lg:nth-child(4)", - "targets": [ - ["css=.td-lg:nth-child(4)", "css:finder"], - ["xpath=//td[4]", "xpath:position"], - ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] - ], - "value": "EntityAttributes" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} diff --git a/backend/src/integration/resources/CreateLocalDynamicMetadataResolver.side b/backend/src/integration/resources/CreateLocalDynamicMetadataResolver.side deleted file mode 100644 index dbd23a9e6..000000000 --- a/backend/src/integration/resources/CreateLocalDynamicMetadataResolver.side +++ /dev/null @@ -1,411 +0,0 @@ -{ - "id": "d200398b-2ef4-44c8-923b-50a23cda76e3", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101", - "tests": [{ - "id": "18e1f78e-8c4f-49c5-9c93-64c584076a7d", - "name": "Create Local Dynamic Metadata Resolver", - "commands": [{ - "id": "e6cf5823-6b77-491b-ad90-7d600df7bdec", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "6fcf4912-2f34-4a5c-91d6-2657cdd77317", - "comment": "", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "e087ea87-046a-4e0d-97f7-2df84de7986f", - "comment": "", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "755e3c95-f8e0-4c30-b914-abbe545b317c", - "comment": "", - "command": "sendKeys", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "${KEY_ENTER}" - }, { - "id": "c0a061e7-a2e2-405d-9869-abebb31f7469", - "comment": "", - "command": "click", - "target": "id=addNewDropdown", - "targets": [ - ["id=addNewDropdown", "id"], - ["css=#addNewDropdown", "css:finder"], - ["xpath=//button[@id='addNewDropdown']", "xpath:attributes"], - ["xpath=//div[@id='navbar']/ul/li/button", "xpath:idRelative"], - ["xpath=//li/button", "xpath:position"], - ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "659851c8-3049-4750-874c-11db5d377bf8", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Metadata Provider')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "6bee6bf1-1983-439d-8ba9-efec6e7827f0", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "20274138-143e-4d3a-9cb8-4b305111e6d9", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "LDMP1" - }, { - "id": "e39a241b-fbcf-46e2-bffb-1ae90dca3ed5", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=LocalDynamicMetadataProvider" - }, { - "id": "3dbf8f65-fa4d-45f5-a26f-de15955e7fd2", - "comment": "", - "command": "click", - "target": "css=option:nth-child(4)", - "targets": [ - ["css=option:nth-child(4)", "css:finder"], - ["xpath=//option[@value='3: LocalDynamicMetadataResolver']", "xpath:attributes"], - ["xpath=//select[@id='field2']/option[4]", "xpath:idRelative"], - ["xpath=//option[4]", "xpath:position"], - ["xpath=//option[contains(.,'LocalDynamicMetadataProvider')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "2ecf07cb-4f4e-4b5a-94ba-72d4f644c0c8", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[2]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f965d926-222b-4fe8-a2f7-73812e835022", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "7b71e1d7-75f9-4794-b62f-dd8749349f13", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "LDMP1" - }, { - "id": "adcdb9ab-4be4-49a8-9fcc-aeed4d59594e", - "comment": "", - "command": "click", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "db438778-4bc6-4f65-8711-c9be7f5548bd", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/foo" - }, { - "id": "ede4b345-88b1-4efa-aac7-9b5eb0fd3843", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "a47a2d65-9bc0-4d93-aa44-9eac1e494047", - "comment": "", - "command": "click", - "target": "id=field8", - "targets": [ - ["id=field8", "id"], - ["name=field8", "name"], - ["css=#field8", "css:finder"], - ["xpath=//input[@id='field8']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "e67813a0-9d4f-4b04-bbdd-b2958b47236e", - "comment": "", - "command": "type", - "target": "id=field8", - "targets": [ - ["id=field8", "id"], - ["name=field8", "name"], - ["css=#field8", "css:finder"], - ["xpath=//input[@id='field8']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "0.5" - }, { - "id": "9a60941c-c544-4105-a003-8a38ff02294f", - "comment": "", - "command": "click", - "target": "css=div > sf-form-element .col", - "targets": [ - ["css=div > sf-form-element .col", "css:finder"], - ["xpath=//div/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset", "xpath:position"] - ], - "value": "" - }, { - "id": "952cbf6d-080d-4ad7-897a-bb436f9e2da2", - "comment": "", - "command": "click", - "target": "css=#field9-container .btn", - "targets": [ - ["css=#field9-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field9-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "5436c7f0-0119-4f4b-9a64-dd2d29952f5b", - "comment": "", - "command": "click", - "target": "id=field9__option--1", - "targets": [ - ["id=field9__option--1", "id"], - ["css=#field9__option--1", "css:finder"], - ["xpath=//li[@id='field9__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field9__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], - ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "0e2928ce-0587-413f-8893-86cb4a0dcb00", - "comment": "", - "command": "mouseOver", - "target": "css=#field10-container .btn", - "targets": [], - "value": "" - }, { - "id": "22e9ed09-a463-45dc-9c58-4766b27f2b24", - "comment": "", - "command": "click", - "target": "css=#field10-container .btn", - "targets": [ - ["css=#field10-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], - ["xpath=//div[@id='field10-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "53e58fcb-71f5-4423-b14b-2be3a9568c48", - "comment": "", - "command": "click", - "target": "id=field10__option--2", - "targets": [ - ["id=field10__option--2", "id"], - ["css=#field10__option--2", "css:finder"], - ["xpath=//li[@id='field10__option--2']", "xpath:attributes"], - ["xpath=//ul[@id='field10__listbox']/li[3]", "xpath:idRelative"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] - ], - "value": "" - }, { - "id": "5af92b06-aac7-41b4-b92d-e7b66f05d06c", - "comment": "", - "command": "click", - "target": "css=#field11-container .btn", - "targets": [ - ["css=#field11-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], - ["xpath=//div[@id='field11-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "81b27e9b-3799-4834-b8a0-f5da9b797433", - "comment": "", - "command": "click", - "target": "id=field11__option--3", - "targets": [ - ["id=field11__option--3", "id"], - ["css=#field11__option--3", "css:finder"], - ["xpath=//li[@id='field11__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field11__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "a6c106be-27ea-433c-8c92-3b2c21f6a40c", - "comment": "", - "command": "click", - "target": "css=#field13-container .btn", - "targets": [ - ["css=#field13-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], - ["xpath=//div[@id='field13-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "d384cc76-4795-4b16-9954-56ad758806e6", - "comment": "", - "command": "click", - "target": "id=field13__option--2", - "targets": [ - ["id=field13__option--2", "id"], - ["css=#field13__option--2", "css:finder"], - ["xpath=//li[@id='field13__option--2']", "xpath:attributes"], - ["xpath=//ul[@id='field13__listbox']/li[3]", "xpath:idRelative"], - ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] - ], - "value": "" - }, { - "id": "df173c00-486a-4b11-a135-0776d4bf4724", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "dfcdebe7-8b3e-4920-bcd6-dc4ee4e58414", - "comment": "", - "command": "click", - "target": "css=.custom-control-label", - "targets": [ - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"], - ["xpath=//label[contains(.,'Enable Metadata Provider?')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "f28ce4c3-383b-4527-912e-6241cf2d1481", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "4f4e44a1-4c1a-42aa-964e-2022a5ab44cc", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.fa-caret-right", - "targets": [], - "value": "3000" - }, { - "id": "33a76454-d131-4149-b4e4-e58ac941e547", - "comment": "", - "command": "click", - "target": "css=.fa-caret-right", - "targets": [ - ["css=.fa-caret-right", "css:finder"], - ["xpath=//div/i", "xpath:position"] - ], - "value": "" - }, { - "id": "ac559e7f-0bca-4996-a6eb-87531a27dfca", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(2) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(2) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div[2]/div[2]", "xpath:position"] - ], - "value": "LocalDynamicMetadataResolver" - }] - }], - "suites": [{ - "id": "7aa33761-6c97-4153-b76f-4560ae060142", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["18e1f78e-8c4f-49c5-9c93-64c584076a7d"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/CreateMetadataSourceFromCopy.side b/backend/src/integration/resources/CreateMetadataSourceFromCopy.side deleted file mode 100644 index a38ffe204..000000000 --- a/backend/src/integration/resources/CreateMetadataSourceFromCopy.side +++ /dev/null @@ -1,1467 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "Create Metadata Source From Copy", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "74c9f446-f0bf-44d1-a133-66e23edec90f", - "comment": "", - "command": "click", - "target": "css=.fa-plus-circle", - "targets": [ - ["css=.fa-plus-circle", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/i", "xpath:idRelative"], - ["xpath=//i", "xpath:position"] - ], - "value": "" - }, { - "id": "5da1ff9f-6932-4039-8abb-b7b3a239c4ac", - "comment": "", - "command": "click", - "target": "css=a.nav-link > translate-i18n", - "targets": [ - ["css=a.nav-link > translate-i18n", "css"], - ["css=.dropdown-menu > .nav-link:nth-child(1) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a/translate-i18n", "xpath:idRelative"], - ["xpath=//a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5c63e88e-dd35-4f57-8a27-695f009ed931", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "544fe0b8-8e3c-494a-bca4-2ca0466acf5d", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "ffc984f5-2ff2-4567-bc38-d76e8b23e638", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//input[@id='field2']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "69c55df1-7a0a-4d42-a9cb-dd9fe40e7a83", - "comment": "", - "command": "type", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//input[@id='field2']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "1a9cd819-1885-407d-b83d-47c8f8914d20", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "0d294c02-bfc6-4707-96fc-2c40d5cb6155", - "comment": "", - "command": "mouseOver", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "5d3ea592-50c0-412a-b349-7f4420cb51e7", - "comment": "", - "command": "mouseOut", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "fd70cab9-c22d-480b-9687-82436d20aa3c", - "comment": "", - "command": "click", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "536c9b0d-0098-4b99-8aa4-6cb95e84e996", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "348fd0cf-0b2c-41a3-a789-90d0833be0cd", - "comment": "", - "command": "click", - "target": "id=field6", - "targets": [ - ["id=field6", "id"], - ["name=field6", "name"], - ["css=#field6", "css"], - ["css=#field6", "css:finder"], - ["xpath=//input[@id='field6']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f4509e3b-cd8f-49bf-b4a1-f6224979d135", - "comment": "", - "command": "type", - "target": "id=field6", - "targets": [ - ["id=field6", "id"], - ["name=field6", "name"], - ["css=#field6", "css"], - ["css=#field6", "css:finder"], - ["xpath=//input[@id='field6']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "dd873939-c6fd-4829-ae8f-eb104889c432", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "4fedf590-04a9-49a4-b650-fd11556dc1db", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "8b0bef15-6b15-458e-b36b-75bed96a251a", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "d61a9fe6-ee3d-4e3f-875b-e6b02628421a", - "comment": "", - "command": "click", - "target": "id=field10", - "targets": [ - ["id=field10", "id"], - ["name=field10", "name"], - ["css=#field10", "css"], - ["css=#field10", "css:finder"], - ["xpath=//input[@id='field10']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "3a5259dc-b427-4c90-aa72-d9e9735e203d", - "comment": "", - "command": "type", - "target": "id=field10", - "targets": [ - ["id=field10", "id"], - ["name=field10", "name"], - ["css=#field10", "css"], - ["css=#field10", "css:finder"], - ["xpath=//input[@id='field10']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "a195f60a-a35a-4ecc-8861-46559bd141a0", - "comment": "", - "command": "click", - "target": "id=field11", - "targets": [ - ["id=field11", "id"], - ["name=field11", "name"], - ["css=#field11", "css"], - ["css=#field11", "css:finder"], - ["xpath=//select[@id='field11']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "f0c212eb-ed1e-4994-adec-e2be2b2361cd", - "comment": "", - "command": "select", - "target": "id=field11", - "targets": [], - "value": "label=Support" - }, { - "id": "a3213eaa-cc00-4f3f-b243-8aaebfc99bd7", - "comment": "", - "command": "click", - "target": "id=field12", - "targets": [ - ["id=field12", "id"], - ["name=field12", "name"], - ["css=#field12", "css"], - ["css=#field12", "css:finder"], - ["xpath=//input[@id='field12']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f03d98d4-298a-40b9-b17f-3730884056a7", - "comment": "", - "command": "type", - "target": "id=field12", - "targets": [ - ["id=field12", "id"], - ["name=field12", "name"], - ["css=#field12", "css"], - ["css=#field12", "css:finder"], - ["xpath=//input[@id='field12']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "b@g.com" - }, { - "id": "c589a1cc-d79c-444c-9c66-85eb97fbf75e", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "5bd5ae5a-2c88-4773-bf44-751d13ed88d3", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "488ac686-1a63-4c8e-94b7-40400e1371af", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//select[@id='field24']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "60143c98-6cd9-432f-92bf-4e4707e7e3d5", - "comment": "", - "command": "select", - "target": "id=field24", - "targets": [], - "value": "label=SAML 2" - }, { - "id": "d6a37621-ece9-4eff-a614-106bcfdc21f2", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-plus", - "targets": [ - ["css=i.fa.fa-plus", "css"], - ["css=.fa-plus", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "21129688-6508-47e2-bc58-4907f1ea59bc", - "comment": "", - "command": "mouseOver", - "target": "css=i.fa.fa-plus", - "targets": [ - ["css=i.fa.fa-plus", "css"], - ["css=.fa-plus", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "66554179-3226-4887-a80a-bdb28c5387e3", - "comment": "", - "command": "mouseOut", - "target": "css=i.fa.fa-plus", - "targets": [ - ["css=i.fa.fa-plus", "css"], - ["css=.fa-plus", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "2df388d8-ba6d-4d74-829d-262f18c8446c", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field26-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f880c62b-74fe-40d1-aa12-4fc563a6e8d9", - "comment": "", - "command": "click", - "target": "id=field26__option--1", - "targets": [ - ["id=field26__option--1", "id"], - ["css=#field26__option--1", "css"], - ["css=#field26__option--1", "css:finder"], - ["xpath=//li[@id='field26__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field26__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "88d4b1f0-5e41-43e1-841e-00f1da69c78e", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bcc70d0a-af51-404e-baf5-8a819438dea8", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-plus", - "targets": [ - ["css=i.fa.fa-plus", "css"], - ["css=.fa-plus", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "cfe8e067-fe86-460b-b7a3-3bb94e57358a", - "comment": "", - "command": "click", - "target": "id=field30", - "targets": [ - ["id=field30", "id"], - ["name=field30", "name"], - ["css=#field30", "css"], - ["css=#field30", "css:finder"], - ["xpath=//input[@id='field30']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "1def2ad1-847c-47b6-ba2d-d161b3349a47", - "comment": "", - "command": "type", - "target": "id=field30", - "targets": [ - ["id=field30", "id"], - ["name=field30", "name"], - ["css=#field30", "css"], - ["css=#field30", "css:finder"], - ["xpath=//input[@id='field30']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "55629eef-6cb9-4e2e-8d73-0cfcb912840e", - "comment": "", - "command": "click", - "target": "id=field31", - "targets": [ - ["id=field31", "id"], - ["name=field31", "name"], - ["css=#field31", "css"], - ["css=#field31", "css:finder"], - ["xpath=//select[@id='field31']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "fd79c8f7-d677-4272-9354-ba0becb7158d", - "comment": "", - "command": "select", - "target": "id=field31", - "targets": [], - "value": "label=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" - }, { - "id": "5147a678-0d3a-4069-b824-633f36d6ac53", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "24ead516-80cc-482d-95d3-c3ab624968b1", - "comment": "", - "command": "mouseOver", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bb8d63b6-e030-43b7-b08f-4c5ab1fdc8b1", - "comment": "", - "command": "mouseOut", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "e20e34e2-6532-4d6d-bf3d-51af159be2b1", - "comment": "", - "command": "click", - "target": "css=label.control-label > translate-i18n", - "targets": [ - ["css=label.control-label > translate-i18n", "css"], - ["css=div:nth-child(1) > sf-form-element > .has-success .form-check:nth-child(3) translate-i18n", "css:finder"], - ["xpath=//label/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "c3290068-67e0-4dee-a626-d2988cdea7f6", - "comment": "", - "command": "mouseOver", - "target": "id=field34-1", - "targets": [ - ["id=field34-1", "id"], - ["css=#field34-1", "css"], - ["css=#field34-1", "css:finder"], - ["xpath=//input[@id='field34-1']", "xpath:attributes"], - ["xpath=//div[2]/label/input", "xpath:position"] - ], - "value": "" - }, { - "id": "239d3e16-9938-45ce-a6da-199071f6385f", - "comment": "", - "command": "click", - "target": "id=field39", - "targets": [ - ["id=field39", "id"], - ["name=field39", "name"], - ["css=#field39", "css"], - ["css=#field39", "css:finder"], - ["xpath=//input[@id='field39']", "xpath:attributes"], - ["xpath=//div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "39a27a5d-de48-4c88-b877-f04bb5efb709", - "comment": "", - "command": "type", - "target": "id=field39", - "targets": [ - ["id=field39", "id"], - ["name=field39", "name"], - ["css=#field39", "css"], - ["css=#field39", "css:finder"], - ["xpath=//input[@id='field39']", "xpath:attributes"], - ["xpath=//div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "72ddb31a-22b1-4b07-9d30-1e653fa2abb2", - "comment": "", - "command": "click", - "target": "id=field40", - "targets": [ - ["id=field40", "id"], - ["name=field40", "name"], - ["css=#field40", "css"], - ["css=.form-check:nth-child(3) > #field40", "css:finder"], - ["xpath=//input[@id='field40']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "1b10758d-e730-4e7f-a79f-d735f1cc1d51", - "comment": "", - "command": "click", - "target": "name=field41", - "targets": [ - ["name=field41", "name"], - ["css=textarea[name=\"field41\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//textarea[@name='field41']", "xpath:attributes"], - ["xpath=//textarea", "xpath:position"] - ], - "value": "" - }, { - "id": "2ccf84d8-25b1-479d-9471-7a2532ec69c6", - "comment": "", - "command": "type", - "target": "name=field41", - "targets": [ - ["name=field41", "name"], - ["css=textarea[name=\"field41\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//textarea[@name='field41']", "xpath:attributes"], - ["xpath=//textarea", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "e03bc6b0-82f0-4a5c-aa5f-2fe2971f279d", - "comment": "", - "command": "mouseDownAt", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "10.515625,14.484375" - }, { - "id": "3fd85e8f-d5a6-4ae8-86ab-a529644ca489", - "comment": "", - "command": "mouseMoveAt", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "10.515625,14.484375" - }, { - "id": "99360385-4ce5-4c95-bc4b-ca274c8ea517", - "comment": "", - "command": "mouseUpAt", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "10.515625,14.484375" - }, { - "id": "5b152fb8-9b13-4f21-adba-fb1dd167806a", - "comment": "", - "command": "click", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "f4d8158e-70b3-4f89-a5b7-6d6b8a4cf831", - "comment": "", - "command": "mouseOver", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "1ac83a17-ffad-46e4-bb55-4994dce80bd3", - "comment": "", - "command": "mouseOut", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "e6766f94-b19f-4b1d-8c54-595e91174501", - "comment": "", - "command": "mouseDownAt", - "target": "css=fieldset.col.col-lg-6", - "targets": [ - ["css=fieldset.col.col-lg-6", "css"], - ["css=.col-lg-6:nth-child(1)", "css:finder"], - ["xpath=//fieldset-object/div/div/fieldset", "xpath:position"] - ], - "value": "439,386" - }, { - "id": "2272b65a-91c1-422a-aee8-940de2da5270", - "comment": "", - "command": "mouseMoveAt", - "target": "css=fieldset.col.col-lg-6", - "targets": [ - ["css=fieldset.col.col-lg-6", "css"], - ["css=.col-lg-6:nth-child(1)", "css:finder"], - ["xpath=//fieldset-object/div/div/fieldset", "xpath:position"] - ], - "value": "439,386" - }, { - "id": "37524c53-9956-4ab1-a848-d82f40359d70", - "comment": "", - "command": "mouseUpAt", - "target": "css=fieldset.col.col-lg-6", - "targets": [ - ["css=fieldset.col.col-lg-6", "css"], - ["css=.col-lg-6:nth-child(1)", "css:finder"], - ["xpath=//fieldset-object/div/div/fieldset", "xpath:position"] - ], - "value": "439,386" - }, { - "id": "d2020061-4771-4a21-b051-6ae021a15de7", - "comment": "", - "command": "click", - "target": "css=fieldset.col.col-lg-6", - "targets": [ - ["css=fieldset.col.col-lg-6", "css"], - ["css=.col-lg-6:nth-child(1)", "css:finder"], - ["xpath=//fieldset-object/div/div/fieldset", "xpath:position"] - ], - "value": "" - }, { - "id": "afb9a4bc-a889-4b79-bd84-e1c43df78c62", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "9b8dd0a5-2906-4b00-aa63-a2442806fedc", - "comment": "", - "command": "click", - "target": "css=.btn-success", - "targets": [ - ["css=.btn-success", "css:finder"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "4f203fc6-4647-4c23-b0f4-f420d0398216", - "comment": "", - "command": "mouseOver", - "target": "css=.btn-success", - "targets": [ - ["css=.btn-success", "css:finder"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "6aea2825-bffc-4999-9626-8f04617c04a7", - "comment": "", - "command": "mouseOut", - "target": "css=.btn-success", - "targets": [ - ["css=.btn-success", "css:finder"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "c4e5cedc-cd78-4f6f-b800-69df8a116182", - "comment": "", - "command": "click", - "target": "id=field45", - "targets": [ - ["id=field45", "id"], - ["name=field45", "name"], - ["css=#field45", "css"], - ["css=#field45", "css:finder"], - ["xpath=//input[@id='field45']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "7358018d-7b67-4e36-a9a6-8f6ba62222ec", - "comment": "", - "command": "type", - "target": "id=field45", - "targets": [ - ["id=field45", "id"], - ["name=field45", "name"], - ["css=#field45", "css"], - ["css=#field45", "css:finder"], - ["xpath=//input[@id='field45']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "63026f63-e74e-4993-89d9-29b91df663ae", - "comment": "", - "command": "click", - "target": "id=field46", - "targets": [ - ["id=field46", "id"], - ["name=field46", "name"], - ["css=#field46", "css"], - ["css=#field46", "css:finder"], - ["xpath=//select[@id='field46']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "9b32a550-7021-498e-b29b-e8dd8147bd64", - "comment": "", - "command": "select", - "target": "id=field46", - "targets": [], - "value": "label=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" - }, { - "id": "8fb44c4e-ac15-4267-89a9-07a04e5cf492", - "comment": "", - "command": "click", - "target": "css=custom-object > div > div.row", - "targets": [ - ["css=custom-object > div > div.row", "css"], - ["css=sf-form-element:nth-child(1) > .has-success > sf-widget-chooser > custom-object > div > .row", "css:finder"], - ["xpath=//custom-object/div/div", "xpath:position"] - ], - "value": "" - }, { - "id": "aa8cfe85-9fe4-4241-828d-de62ffebb610", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "694d5256-ca0c-4f37-86eb-a58c61040708", - "comment": "", - "command": "mouseOver", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "d3a143a9-f25c-4081-8546-a5d726ec139f", - "comment": "", - "command": "mouseOut", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "beeddf58-f7ed-436e-a32d-c94b4afc11a3", - "comment": "", - "command": "click", - "target": "id=field56", - "targets": [ - ["id=field56", "id"], - ["name=field56", "name"], - ["css=#field56", "css"], - ["css=#field56", "css:finder"], - ["xpath=//input[@id='field56']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "1c1f5f24-e7d9-4b95-8719-36189b5f3d6e", - "comment": "", - "command": "type", - "target": "id=field56", - "targets": [ - ["id=field56", "id"], - ["name=field56", "name"], - ["css=#field56", "css"], - ["css=#field56", "css:finder"], - ["xpath=//input[@id='field56']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "ee13acb8-8d50-4a94-9088-ef94f3702e50", - "comment": "", - "command": "click", - "target": "css=div:nth-child(8) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "fec265d4-a90d-4c36-951e-1efd2e02fb8b", - "comment": "", - "command": "mouseOver", - "target": "css=div:nth-child(8) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "c707c255-2c4d-48e3-ab3c-0fddc6fc9716", - "comment": "", - "command": "mouseOut", - "target": "css=div:nth-child(8) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "f277297f-6056-4bb6-8e47-871057c6f9b1", - "comment": "", - "command": "mouseOver", - "target": "css=div:nth-child(8) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f0c75834-a325-49b6-b535-6f1f134f4fb8", - "comment": "", - "command": "mouseOut", - "target": "css=div:nth-child(8) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "642900ab-5d78-4af1-8a09-50014ccdf024", - "comment": "", - "command": "click", - "target": "id=field56", - "targets": [ - ["id=field56", "id"], - ["name=field56", "name"], - ["css=#field56", "css"], - ["css=#field56", "css:finder"], - ["xpath=//input[@id='field56']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "3cbec17c-4f62-47bc-bcf7-8c66edadb816", - "comment": "", - "command": "click", - "target": "id=field56", - "targets": [ - ["id=field56", "id"], - ["name=field56", "name"], - ["css=#field56", "css"], - ["css=#field56", "css:finder"], - ["xpath=//input[@id='field56']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "8666d533-d099-459e-9cfa-364c24913e28", - "comment": "", - "command": "doubleClick", - "target": "id=field56", - "targets": [ - ["id=field56", "id"], - ["name=field56", "name"], - ["css=#field56", "css"], - ["css=#field56", "css:finder"], - ["xpath=//input[@id='field56']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c23f6ddb-1a76-49cd-b3f7-703b7b861e74", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field60-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "cf8a49ca-831a-47b6-af63-923f1aebad94", - "comment": "", - "command": "click", - "target": "id=field60__option--0", - "targets": [ - ["id=field60__option--0", "id"], - ["css=#field60__option--0", "css"], - ["css=#field60__option--0", "css:finder"], - ["xpath=//li[@id='field60__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field60__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "8840891f-e0e1-4b4b-902d-40d6dde44247", - "comment": "", - "command": "click", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "98c034c3-5e9a-4b01-b69c-6517b9dee413", - "comment": "", - "command": "mouseOver", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f9f8ca9c-d905-4d0a-a99f-260682c8b433", - "comment": "", - "command": "mouseOut", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "66ec659a-feb3-4fb8-ac5f-76d3f0147914", - "comment": "", - "command": "mouseOver", - "target": "css=div:nth-child(9) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(9) .btn > translate-i18n", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "29139d97-9469-4843-b445-844b19fbfc57", - "comment": "", - "command": "mouseOut", - "target": "css=div:nth-child(9) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(9) .btn > translate-i18n", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "36369619-50a1-4809-a159-62ee493d4751", - "comment": "", - "command": "click", - "target": "css=#field61-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field61-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field61-container .fa", "css:finder"], - ["xpath=//div[@id='field61-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "589022b1-eb57-4f6c-bdde-7c891ec6c764", - "comment": "", - "command": "click", - "target": "id=field61__option--1", - "targets": [ - ["id=field61__option--1", "id"], - ["css=#field61__option--1", "css"], - ["css=#field61__option--1", "css:finder"], - ["xpath=//li[@id='field61__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field61__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "10a77526-9b6f-4745-beef-5a1afd295da4", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "179a7f48-3581-49f0-aa0c-c2ccb4d7cf47", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=tr:nth-child(1) .custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "1b2f2aee-93d1-40c9-8427-814197535fdd", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "fe9a08b0-b5b8-4160-aab8-78fb07c916ea", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "e8ad713e-e089-4afe-9dd1-f108991763c7", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "fe38eb42-458e-48c2-8de7-dc27835188f7", - "comment": "", - "command": "click", - "target": "css=small.d-block", - "targets": [ - ["css=small.d-block", "css"], - ["css=.d-block", "css:finder"], - ["xpath=//small", "xpath:position"] - ], - "value": "" - }, { - "id": "97ed715c-ad35-4757-ace8-f7eb6942b6af", - "comment": "", - "command": "click", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "930367f7-083e-4c98-bd2b-99d26e8c3b5f", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.col-9 > div:nth-child(2)", "css:finder"], - ["xpath=//div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "42ec39b0-db7b-4f35-9f09-921fb986ed37", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "56b966fe-db5d-4603-ba70-0593fcec6c51", - "comment": "", - "command": "click", - "target": "css=a.nav-link > translate-i18n", - "targets": [ - ["css=a.nav-link > translate-i18n", "css"], - ["css=.dropdown-menu > .nav-link:nth-child(1) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a/translate-i18n", "xpath:idRelative"], - ["xpath=//a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "3976b6d9-dddb-459b-b66a-42b063d87941", - "comment": "", - "command": "click", - "target": "css=.fa-copy", - "targets": [ - ["css=.fa-copy", "css:finder"], - ["xpath=//div[5]/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "c9f83528-79e0-4c18-891e-19039f1cffa4", - "comment": "", - "command": "click", - "target": "id=target__input", - "targets": [ - ["id=target__input", "id"], - ["css=#target__input", "css"], - ["css=#target__input", "css:finder"], - ["xpath=//input[@id='target__input']", "xpath:attributes"], - ["xpath=//div[@id='target-container']/div/input", "xpath:idRelative"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "2d91d0af-18cb-46f1-a58f-9d42b63b6f0d", - "comment": "", - "command": "type", - "target": "id=target__input", - "targets": [ - ["id=target__input", "id"], - ["css=#target__input", "css"], - ["css=#target__input", "css:finder"], - ["xpath=//input[@id='target__input']", "xpath:attributes"], - ["xpath=//div[@id='target-container']/div/input", "xpath:idRelative"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "adf6beb8-fa03-4292-8122-e031f7d0b0f7", - "comment": "", - "command": "click", - "target": "id=serviceProviderName", - "targets": [ - ["id=serviceProviderName", "id"], - ["css=#serviceProviderName", "css"], - ["css=#serviceProviderName", "css:finder"], - ["xpath=//input[@id='serviceProviderName']", "xpath:attributes"], - ["xpath=//div[2]/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f86d441b-e368-4728-a90b-d8fbd5fa62e8", - "comment": "", - "command": "click", - "target": "id=serviceProviderName", - "targets": [ - ["id=serviceProviderName", "id"], - ["css=#serviceProviderName", "css"], - ["css=#serviceProviderName", "css:finder"], - ["xpath=//input[@id='serviceProviderName']", "xpath:attributes"], - ["xpath=//div[2]/input", "xpath:position"] - ], - "value": "" - }, { - "id": "0d51daf0-0aa1-4655-a33d-625479464a7b", - "comment": "", - "command": "type", - "target": "id=serviceProviderName", - "targets": [ - ["id=serviceProviderName", "id"], - ["css=#serviceProviderName", "css"], - ["css=#serviceProviderName", "css:finder"], - ["xpath=//input[@id='serviceProviderName']", "xpath:attributes"], - ["xpath=//div[2]/input", "xpath:position"] - ], - "value": "New Metadata Source from Copy" - }, { - "id": "536214f3-55c9-4b81-9cc4-c373cc8fa2d2", - "comment": "", - "command": "click", - "target": "id=entityId", - "targets": [ - ["id=entityId", "id"], - ["css=#entityId", "css"], - ["css=#entityId", "css:finder"], - ["xpath=//input[@id='entityId']", "xpath:attributes"], - ["xpath=//div[3]/input", "xpath:position"] - ], - "value": "" - }, { - "id": "9aad142c-43a6-4329-b2c2-150f3e6f6ce7", - "comment": "", - "command": "type", - "target": "id=entityId", - "targets": [ - ["id=entityId", "id"], - ["css=#entityId", "css"], - ["css=#entityId", "css:finder"], - ["xpath=//input[@id='entityId']", "xpath:attributes"], - ["xpath=//div[3]/input", "xpath:position"] - ], - "value": "New Metadata Source from Copy" - }, { - "id": "77aa4358-5d96-4c4e-9ba3-93b97da2e5bd", - "comment": "", - "command": "click", - "target": "css=.row:nth-child(3)", - "targets": [ - ["css=.row:nth-child(3)", "css:finder"], - ["xpath=//div[2]/div", "xpath:position"] - ], - "value": "" - }, { - "id": "b47410a0-db5a-47f2-8517-a28dee54eb88", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(1) .custom-control-input", - "targets": [ - ["css=tr:nth-child(1) .custom-control", "css:finder"], - ["xpath=//td[2]/fieldset/div", "xpath:position"] - ], - "value": "" - }, { - "id": "670157c7-d87e-45ad-8989-f4f86c6196e8", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(2) .custom-control-input", - "targets": [ - ["css=tr:nth-child(2) .custom-control-label", "css:finder"], - ["xpath=//tr[2]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "ade20551-aa8a-4910-9c9e-1c19a1a75991", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(3) .custom-control-input", - "targets": [ - ["css=tr:nth-child(3) .custom-control-label", "css:finder"], - ["xpath=//tr[3]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "f880fd51-9737-450a-95a7-4ae2aa7639da", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(4) .custom-control-input", - "targets": [ - ["css=tr:nth-child(4) .custom-control-label", "css:finder"], - ["xpath=//tr[4]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "d509550c-17e1-4f93-88f8-f653b2669a16", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(5) .custom-control-input", - "targets": [ - ["css=tr:nth-child(5) .custom-control-label", "css:finder"], - ["xpath=//tr[5]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "fc2fe574-5d70-4cb7-b1c0-b4d074f0e97a", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(6) .custom-control-input", - "targets": [ - ["css=tr:nth-child(6) .custom-control-label", "css:finder"], - ["xpath=//tr[6]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "20098998-d725-4a7d-9406-9c19842ff0fb", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(7) .custom-control-input", - "targets": [ - ["css=tr:nth-child(7) .custom-control-label", "css:finder"], - ["xpath=//tr[7]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "6f21d5a5-f98b-4295-9fb7-b44dde90dfff", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(8) .custom-control-input", - "targets": [ - ["css=tr:nth-child(8) .custom-control-label", "css:finder"], - ["xpath=//tr[8]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "774eb1e9-37fe-47a1-89c9-48ec55061233", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(9) .custom-control-input", - "targets": [ - ["css=tr:nth-child(9) .custom-control-label", "css:finder"], - ["xpath=//tr[9]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "7767fcd1-8fd0-4442-9b17-a5deaf51548a", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction", "css:finder"], - ["xpath=//span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "f0bae909-040c-4100-b97f-4ec713efb4ab", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "cbdd31b0-1b06-4cc7-b18e-ac2fda5d6cfd", - "comment": "", - "command": "pause", - "target": "", - "targets": [], - "value": "3000" - }, { - "id": "88338e99-dd8d-4c9b-ada6-bb93f612c1ab", - "comment": "", - "command": "click", - "target": "css=.fa-caret-right", - "targets": [ - ["css=.fa-caret-right", "css:finder"], - ["xpath=//li[2]/resolver-item/div/div/div/div/div/i", "xpath:position"] - ], - "value": "" - }, { - "id": "5297a9fe-85c3-4daf-b2a6-c8533c9d5f1c", - "comment": "", - "command": "assertText", - "target": "css=.mt-2 .row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.mt-2 .row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//li[2]/resolver-item/div/div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "New Metadata Source from Copy" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/CreateMetadataSourceFromURL.side b/backend/src/integration/resources/CreateMetadataSourceFromURL.side deleted file mode 100644 index f495e1a14..000000000 --- a/backend/src/integration/resources/CreateMetadataSourceFromURL.side +++ /dev/null @@ -1,252 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "Create Metadata Source from URL", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "a0472c98-d6cb-49ce-919a-d7aaed1acdd5", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "e5eaf3f4-e985-4363-aadb-5ea5a762f93f", - "comment": "", - "command": "click", - "target": "css=a.nav-link > translate-i18n", - "targets": [ - ["css=a.nav-link > translate-i18n", "css"], - ["css=.dropdown-menu > .nav-link:nth-child(1) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a/translate-i18n", "xpath:idRelative"], - ["xpath=//a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "a59a7c8e-b5ca-45f9-8b4e-2f6e131b4ab7", - "comment": "", - "command": "click", - "target": "css=.fa-link", - "targets": [ - ["css=.fa-link", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "0ff58abc-57f1-4799-98bc-f7412aa0de4c", - "comment": "", - "command": "click", - "target": "id=serviceProviderName", - "targets": [ - ["id=serviceProviderName", "id"], - ["css=#serviceProviderName", "css"], - ["css=#serviceProviderName", "css:finder"], - ["xpath=//input[@id='serviceProviderName']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "a4d19eb3-cf59-4d06-bec5-30ceb0b1164e", - "comment": "", - "command": "click", - "target": "id=serviceProviderName", - "targets": [ - ["id=serviceProviderName", "id"], - ["css=#serviceProviderName", "css"], - ["css=#serviceProviderName", "css:finder"], - ["xpath=//input[@id='serviceProviderName']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "8ed491d3-9103-491f-83ba-da5eda0b1260", - "comment": "", - "command": "type", - "target": "id=serviceProviderName", - "targets": [ - ["id=serviceProviderName", "id"], - ["css=#serviceProviderName", "css"], - ["css=#serviceProviderName", "css:finder"], - ["xpath=//input[@id='serviceProviderName']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source from URL" - }, { - "id": "6bf2bd6f-7792-450e-99ad-c7ca56d940c8", - "comment": "", - "command": "click", - "target": "id=url", - "targets": [ - ["id=url", "id"], - ["css=#url", "css"], - ["css=#url", "css:finder"], - ["xpath=//input[@id='url']", "xpath:attributes"], - ["xpath=//div[4]/input", "xpath:position"] - ], - "value": "" - }, { - "id": "1aee9cc9-bb1f-4964-9d3f-2a2351fd710e", - "comment": "", - "command": "type", - "target": "id=url", - "targets": [ - ["id=url", "id"], - ["css=#url", "css"], - ["css=#url", "css:finder"], - ["xpath=//input[@id='url']", "xpath:attributes"], - ["xpath=//div[4]/input", "xpath:position"] - ], - "value": "https://signin.aws.amazon.com/static/saml-metadata.xml" - }, { - "id": "66bd1c28-40dc-42ef-b110-75bbb20954b6", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[2]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "cdd01095-60e4-485f-a799-239ee7750091", - "comment": "", - "command": "click", - "target": "css=.fa-eye", - "targets": [ - ["css=.fa-eye", "css:finder"], - ["xpath=//div[2]/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "ddabaefd-d8ac-4966-af72-3870ce9bbbf8", - "comment": "", - "command": "click", - "target": "css=button.close > span", - "targets": [ - ["css=button.close > span", "css"], - ["css=.close > span", "css:finder"], - ["xpath=//div/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "a5253198-72de-4ed5-b868-f701c02782dc", - "comment": "", - "command": "click", - "target": "css=.fa-edit", - "targets": [ - ["css=.fa-edit", "css:finder"], - ["xpath=//button[2]/i", "xpath:position"] - ], - "value": "" - }, { - "id": "b0ddbc83-6dd0-4831-9914-34667e402c1f", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-secondary > translate-i18n", - "targets": [ - ["css=button.btn.btn-secondary > translate-i18n", "css"], - ["css=.btn-secondary > translate-i18n", "css:finder"], - ["xpath=//button[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "f93bfd80-e300-4431-8bc6-ad81de1e316b", - "comment": "", - "command": "click", - "target": "css=.text-primary", - "targets": [ - ["css=.text-primary", "css:finder"], - ["xpath=//div/i", "xpath:position"] - ], - "value": "" - }, { - "id": "063a098a-3dd3-46ce-90d6-aa84065b2a1b", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Source from URL" - }, { - "id": "3ef55a3a-2c1d-4cc5-bfed-fa13c256c440", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(2) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(2) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div[2]", "xpath:position"] - ], - "value": "urn:amazon:webservices" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/CreateMetadataSourceFromXML.side b/backend/src/integration/resources/CreateMetadataSourceFromXML.side deleted file mode 100644 index 8de279641..000000000 --- a/backend/src/integration/resources/CreateMetadataSourceFromXML.side +++ /dev/null @@ -1,211 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "Create Metadata Source from XML", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "c005f5da-a1c2-4bdc-baf7-2cd71571489a", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "27868854-0792-4406-af61-ffca22ac0ed7", - "comment": "", - "command": "click", - "target": "css=a.nav-link > translate-i18n", - "targets": [ - ["css=a.nav-link > translate-i18n", "css"], - ["css=.dropdown-menu > .nav-link:nth-child(1) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a/translate-i18n", "xpath:idRelative"], - ["xpath=//a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "c3fd3c73-d0db-42b3-9416-49426a1d41ff", - "comment": "", - "command": "click", - "target": "css=.fa-link", - "targets": [ - ["css=.fa-link", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "0a95a29a-aba1-499c-96a4-e39694fc2355", - "comment": "", - "command": "click", - "target": "id=serviceProviderName", - "targets": [ - ["id=serviceProviderName", "id"], - ["css=#serviceProviderName", "css"], - ["css=#serviceProviderName", "css:finder"], - ["xpath=//input[@id='serviceProviderName']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "d9b457ca-1f38-481a-bd56-82bc75972127", - "comment": "", - "command": "click", - "target": "id=serviceProviderName", - "targets": [ - ["id=serviceProviderName", "id"], - ["css=#serviceProviderName", "css"], - ["css=#serviceProviderName", "css:finder"], - ["xpath=//input[@id='serviceProviderName']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "40131321-6cc4-4dde-9bf5-2fb587da0f8c", - "comment": "", - "command": "doubleClick", - "target": "id=serviceProviderName", - "targets": [ - ["id=serviceProviderName", "id"], - ["css=#serviceProviderName", "css"], - ["css=#serviceProviderName", "css:finder"], - ["xpath=//input[@id='serviceProviderName']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "f7b9f9e8-8bf7-4a98-a6bd-0005e3d66d46", - "comment": "", - "command": "type", - "target": "id=serviceProviderName", - "targets": [ - ["id=serviceProviderName", "id"], - ["css=#serviceProviderName", "css"], - ["css=#serviceProviderName", "css:finder"], - ["xpath=//input[@id='serviceProviderName']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source Upload XML" - }, { - "id": "8f268193-87a0-4ae0-b7ba-e7218c6a3728", - "comment": "", - "command": "type", - "target": "id=fileInput", - "targets": [ - ["id=fileInput", "id"], - ["name=file", "name"], - ["css=#fileInput", "css"], - ["css=#fileInput", "css:finder"], - ["xpath=//input[@id='fileInput']", "xpath:attributes"], - ["xpath=//div[2]/div/input", "xpath:position"] - ], - "value": "${xmlUpload}" - }, { - "id": "6c7ea04b-663e-45e4-9358-4db02a69a08f", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[2]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "6d638906-6435-496a-bcee-6a55fa33e95e", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.card-header", - "targets": [ - ["css=.card-header", "css:finder"], - ["xpath=//resolver-item/div/div", "xpath:position"] - ], - "value": "3000" - }, { - "id": "8965fd85-b9b4-49d5-8efe-fcb1ad12b6dd", - "comment": "", - "command": "click", - "target": "css=.text-primary", - "targets": [ - ["css=.text-primary", "css:finder"], - ["xpath=//div/i", "xpath:position"] - ], - "value": "" - }, { - "id": "44ac47d8-7246-4bf6-ae7b-0178f2987cfc", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Source Upload XML" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/DeleteEntityIDFilter.side b/backend/src/integration/resources/DeleteEntityIDFilter.side deleted file mode 100644 index 1bd806cf6..000000000 --- a/backend/src/integration/resources/DeleteEntityIDFilter.side +++ /dev/null @@ -1,1023 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "nada", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "758bd43d-364e-4860-bc70-824f5e0a2b52", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "21dc44c6-339c-4260-8009-02e8fb3e74c4", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "24b868c1-7f23-4a9a-89f2-ac540605129a", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c8218096-deaf-4171-883e-d210648f2a35", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: " - }, { - "id": "acb5c4a4-082d-498b-bf21-a6a2d65e6b11", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "b3117791-75ff-4a91-9172-28e7b24fc5f2", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "059bcfe7-c42c-4327-9fcd-b53e2671fb75", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "3471a9c3-2176-4e15-a235-0c326b689ad8", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "1bad25ea-6794-44c6-b7e4-8af3c231144c", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "2d873c07-f89b-420a-a77b-d597dbcf4984", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c1e9ed64-7c58-4683-8ac4-8ea70bde4724", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "ID" - }, { - "id": "5b18ebb5-61c5-4b8e-b252-35d401bfd0a3", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "47569c1e-e601-4ef0-a97d-4a7b0ee15a71", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e4351d67-9066-4631-81ad-0c10e9f0d457", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f3fc7654-a454-4a41-9eb3-9d92bed74e76", - "comment": "", - "command": "doubleClick", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c096f1bd-7b01-4202-bbb8-bb141b512147", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/metadata/test.xml" - }, { - "id": "bb1810c2-25e8-4c11-8de1-de1b37664917", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field8-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f16e0633-b5e7-4544-bbeb-c851519178bd", - "comment": "", - "command": "click", - "target": "id=field8__option--0", - "targets": [ - ["id=field8__option--0", "id"], - ["css=#field8__option--0", "css"], - ["css=#field8__option--0", "css:finder"], - ["xpath=//li[@id='field8__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field8__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "df8efb67-d5f5-4080-b2e7-6ec8777956a7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "45642b8d-b691-4527-a137-de4a2f94f10b", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=#field15-container .fa", "css:finder"], - ["xpath=//div[@id='field15-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "062e47c2-75a8-4404-8139-72031ba87187", - "comment": "", - "command": "click", - "target": "id=field15__option--0", - "targets": [ - ["id=field15__option--0", "id"], - ["css=#field15__option--0", "css"], - ["css=#field15__option--0", "css:finder"], - ["xpath=//li[@id='field15__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "0da757a9-98f9-4454-bb3b-da3e4c14906d", - "comment": "", - "command": "click", - "target": "css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field16-container .fa", "css:finder"], - ["xpath=//div[@id='field16-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "7ddee128-01fc-4c93-a17b-46a882acc705", - "comment": "", - "command": "click", - "target": "id=field16__option--3", - "targets": [ - ["id=field16__option--3", "id"], - ["css=#field16__option--3", "css"], - ["css=#field16__option--3", "css:finder"], - ["xpath=//li[@id='field16__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field16__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "70f6828a-7770-4eb3-bb51-2bccdab7aaa5", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=#field15-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field15-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "850dd703-eb10-4487-ad7c-ee7dcc1143b5", - "comment": "", - "command": "click", - "target": "id=field15__option--1", - "targets": [ - ["id=field15__option--1", "id"], - ["css=#field15__option--1", "css"], - ["css=#field15__option--1", "css:finder"], - ["xpath=//li[@id='field15__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "2b404fc4-0ad0-4963-85ae-eebcfc866b71", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.01" - }, { - "id": "ebcb555d-ea24-41fb-a306-fd2072a4fa20", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a0bed117-0336-4ec2-806a-664add40ef94", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ee0a1de9-4573-4188-a7a3-c5512b299cc8", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "81c3814f-26eb-4e8b-8cd2-93c8c3494270", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "fdf1e317-b808-4866-9052-b44bf1571d1e", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.04" - }, { - "id": "183e50b8-7034-47c7-8b6e-a27a982afc6a", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "dce62f7d-a12a-4fc7-b71c-7f387048acd0", - "comment": "", - "command": "mouseOver", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "82f0c49b-cee3-4a65-9410-8af721ec891c", - "comment": "", - "command": "mouseOut", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "97f3d781-4748-4c3b-93e9-d27b04818df6", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field21-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "8c53a716-f551-4ccf-ac31-36f151784858", - "comment": "", - "command": "click", - "target": "id=field21__option--0", - "targets": [ - ["id=field21__option--0", "id"], - ["css=#field21__option--0", "css"], - ["css=#field21__option--0", "css:finder"], - ["xpath=//li[@id='field21__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field21__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "4c2fb2d1-03c9-4e0b-8098-291808964da0", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "699b5bf4-ed62-4b3e-8727-f81d4c9cdfeb", - "comment": "", - "command": "type", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "oh, happy path dagger " - }, { - "id": "62d89667-aa43-4e45-a665-62ab778d2cf7", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "7c421f6a-04b0-46ab-b456-e1355001f517", - "comment": "", - "command": "click", - "target": "id=field29", - "targets": [ - ["id=field29", "id"], - ["name=field29", "name"], - ["css=#field29", "css"], - ["css=#field29", "css:finder"], - ["xpath=//select[@id='field29']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "a589ed87-e431-4f8c-8bb0-a7c36eff5f70", - "comment": "", - "command": "select", - "target": "id=field29", - "targets": [], - "value": "label=SPSSODescriptor" - }, { - "id": "350ae05b-bcec-419f-8b51-7d3877fa6556", - "comment": "", - "command": "click", - "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", - "targets": [ - ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2aa4bc33-2888-466a-9355-2ccf2fdb931b", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "079c5868-915c-4441-8e57-7069ade24285", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "ca597616-fd50-4286-b2a8-23b951bc93cb", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bfddd68a-b6f6-4dbf-bd03-c6aec1b87d70", - "comment": "", - "command": "click", - "target": "css=div.px-2", - "targets": [ - ["css=div.px-2", "css"], - ["css=.px-2", "css:finder"], - ["xpath=//div[2]/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "c3d80754-3e28-4b07-95f6-5bfac82e9a58", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "108a25aa-6b33-4fa2-870d-ee413d7eb986", - "comment": "", - "command": "click", - "target": "css=span.label", - "targets": [ - ["css=span.label", "css"], - ["css=.label", "css:finder"], - ["xpath=//div[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "cd40ffcd-f364-40f2-9876-f490e28e1a84", - "comment": "", - "command": "click", - "target": "css=a.btn.btn-success > translate-i18n", - "targets": [ - ["css=a.btn.btn-success > translate-i18n", "css"], - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div[2]/a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835212", - "comment": "", - "command": "click", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835211", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "label=EntityAttributes" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835211", - "comment": "", - "command": "click", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "31dca951-b673-41a5-9430-184ed7d8a170", - "comment": "", - "command": "type", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Entity ID" - }, { - "id": "9e4c3fd7-75ff-43bc-878d-12e0f8977d04", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ce6087c0-3e43-40cb-ba03-b6b0fc34ea60", - "comment": "", - "command": "type", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "450a6b01-4fbb-4bf0-ab2a-21fc48e7f6db", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-success", - "targets": [ - ["css=button.btn.btn-success", "css"], - ["css=.btn-success:nth-child(1)", "css:finder"], - ["xpath=//div[2]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "ae60ce78-2ef8-40d0-867a-3296eab59bcd", - "comment": "", - "command": "click", - "target": "css=.col:nth-child(1) > div:nth-child(1) > div:nth-child(1) .custom-control-label:nth-child(2)", - "targets": [ - ["css=.col:nth-child(1) > div:nth-child(1) > div:nth-child(1) .custom-control-label:nth-child(2)", "css:finder"], - ["xpath=//custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "9585cbd1-7105-440f-9d89-c0511e1c910c", - "comment": "", - "command": "click", - "target": "id=field46", - "targets": [ - ["id=field46", "id"], - ["name=field46", "name"], - ["css=#field46", "css"], - ["css=#field46", "css:finder"], - ["xpath=//input[@id='field46']", "xpath:attributes"], - ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "2b5e708e-f6c8-4001-b18c-11269a9c7264", - "comment": "", - "command": "type", - "target": "id=field46", - "targets": [ - ["id=field46", "id"], - ["name=field46", "name"], - ["css=#field46", "css"], - ["css=#field46", "css:finder"], - ["xpath=//input[@id='field46']", "xpath:attributes"], - ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Responder ID" - }, { - "id": "4451ac43-b75a-4498-9a25-24ea0f3bd25e", - "comment": "", - "command": "click", - "target": "css=div:nth-child(8) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], - ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "3b12612c-57f0-441b-b489-1ca15e589336", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field51-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "9203ebe0-eb01-4ac3-a77b-bf6cedb5b159", - "comment": "", - "command": "click", - "target": "id=field51__option--0", - "targets": [ - ["id=field51__option--0", "id"], - ["css=#field51__option--0", "css"], - ["css=#field51__option--0", "css:finder"], - ["xpath=//li[@id='field51__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field51__listbox']/li", "xpath:idRelative"], - ["xpath=//datalist-component/div/auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "f03fc4a5-0e9d-46ed-977c-69e2edb3b83a", - "comment": "", - "command": "mouseOver", - "target": "css=div.input-group-append > button.btn.btn-outline-secondary", - "targets": [ - ["css=div.input-group-append > button.btn.btn-outline-secondary", "css"], - ["css=.input-group-append > .btn", "css:finder"], - ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], - ["xpath=//div[@id='field51-container']/div/div/button", "xpath:idRelative"], - ["xpath=//auto-complete/div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "d79a40e6-cde0-4157-b5f1-c093611cd3b2", - "comment": "", - "command": "click", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "dd05591c-1638-4897-83e2-9c5221de52d6", - "comment": "", - "command": "mouseOver", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "82f38f36-772e-4e3f-8a51-6dbeabf0c0eb", - "comment": "", - "command": "mouseOut", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "0cf1c137-dd03-4508-83e3-13f13ded7681", - "comment": "", - "command": "click", - "target": "css=#field52-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field52-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field52-container .fa", "css:finder"], - ["xpath=//div[@id='field52-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "788b0465-8075-41de-ac28-ed827722c5b8", - "comment": "", - "command": "click", - "target": "id=field52__option--2", - "targets": [ - ["id=field52__option--2", "id"], - ["css=#field52__option--2", "css"], - ["css=#field52__option--2", "css:finder"], - ["xpath=//li[@id='field52__option--2']", "xpath:attributes"], - ["xpath=//ul[@id='field52__listbox']/li[3]", "xpath:idRelative"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] - ], - "value": "" - }, { - "id": "2f304361-1742-4466-a756-d5fae0f6faa3", - "comment": "", - "command": "click", - "target": "css=fieldset > div.custom-control.custom-checkbox > label.custom-control-label", - "targets": [ - ["css=fieldset > div.custom-control.custom-checkbox > label.custom-control-label", "css"], - ["css=tr:nth-child(1) .custom-control-label", "css:finder"], - ["xpath=//fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "8a27b871-8dcf-4abd-ac7a-cf0a6ad3052b", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(3) .custom-control-label", - "targets": [ - ["css=tr:nth-child(3) .custom-control-label", "css:finder"], - ["xpath=//tr[3]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "537bad2a-2075-47b6-b03b-a07059d8ad43", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(8) .custom-control-label", - "targets": [ - ["css=tr:nth-child(8) .custom-control-label", "css:finder"], - ["xpath=//tr[8]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2b513cdd-f5aa-4a71-b848-7733f056b5f8", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(10) .custom-control-label", - "targets": [ - ["css=tr:nth-child(10) .custom-control-label", "css:finder"], - ["xpath=//tr[10]/td[2]/fieldset/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "387743df-40c1-429c-9fd2-281d771649a9", - "comment": "", - "command": "click", - "target": "css=.btn-primary", - "targets": [ - ["css=.btn-primary", "css:finder"], - ["xpath=//button[@type='submit']", "xpath:attributes"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "ec7223b2-894b-4fa7-ba84-3fee760433d8", - "comment": "", - "command": "waitForElementPresent", - "target": "css=td.td-lg:nth-child(3)", - "targets": [], - "value": "3000" - }, { - "id": "fbf64d47-f36e-40d1-9e0c-cb4c6c979477", - "comment": "", - "command": "assertText", - "target": "css=.td-lg:nth-child(3)", - "targets": [ - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'Entity ID')]", "xpath:innerText"] - ], - "value": "Entity ID" - }, { - "id": "64407839-effe-4785-a75e-328b9dabb2de", - "comment": "", - "command": "assertText", - "target": "css=.td-lg:nth-child(4)", - "targets": [ - ["css=.td-lg:nth-child(4)", "css:finder"], - ["xpath=//td[4]", "xpath:position"], - ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] - ], - "value": "EntityAttributes" - }, { - "id": "42faa1b7-caf1-4924-a6d7-6a02a3d619f2", - "comment": "", - "command": "click", - "target": "css=.td-sm:nth-child(7) > .btn", - "targets": [ - ["css=.td-sm:nth-child(7) > .btn", "css:finder"], - ["xpath=//td[7]/button", "xpath:position"], - ["xpath=//button[contains(.,'Edit')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "1769e089-dd92-475c-b8c0-c5995f304215", - "comment": "", - "command": "click", - "target": "css=.btn-danger", - "targets": [ - ["css=.btn-danger", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'Delete')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "7084d8aa-0173-469e-8198-4c2a7d7a8daa", - "comment": "", - "command": "assertElementNotPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [], - "value": "" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} diff --git a/backend/src/integration/resources/DeleteIncompleteSource.side b/backend/src/integration/resources/DeleteIncompleteSource.side deleted file mode 100644 index 6c16cb795..000000000 --- a/backend/src/integration/resources/DeleteIncompleteSource.side +++ /dev/null @@ -1,310 +0,0 @@ -{ - "id": "e739769f-c748-449b-a112-dc8f0f516c5b", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101", - "tests": [{ - "id": "4d9bc23b-6517-4fe8-b2ed-9c36ada8cf17", - "name": "Delete Incomplete Metadata Source", - "commands": [{ - "id": "e399f7e9-64b9-4602-90eb-d7a2613c694c", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "d8ed27dc-9208-4e87-b356-7086fefbf872", - "comment": "", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "52cf8d84-d441-49fc-8a3d-7ea8f2b9b0be", - "comment": "", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "0012a2a4-1f94-4b45-856a-383e494325cd", - "comment": "", - "command": "sendKeys", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "${KEY_ENTER}" - }, { - "id": "942f4992-b848-438f-925d-1574df1a85ec", - "comment": "", - "command": "click", - "target": "id=addNewDropdown", - "targets": [ - ["id=addNewDropdown", "id"], - ["css=#addNewDropdown", "css:finder"], - ["xpath=//button[@id='addNewDropdown']", "xpath:attributes"], - ["xpath=//div[@id='navbar']/ul/li/button", "xpath:idRelative"], - ["xpath=//li/button", "xpath:position"], - ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "2d0944de-6ec8-4de5-afc2-51f3a785ff5b", - "comment": "", - "command": "click", - "target": "css=.dropdown-menu > .nav-link:nth-child(1) > translate-i18n", - "targets": [ - ["css=.dropdown-menu > .nav-link:nth-child(1) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a/translate-i18n", "xpath:idRelative"], - ["xpath=//a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Metadata Source')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "81735e87-f056-4cff-9c9c-8036a09dcfd0", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "9585e52c-2049-4c66-a4db-4dc58a2f6353", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Incomplete Source" - }, { - "id": "eac80640-33b2-43df-a694-ad1bb1e0c825", - "comment": "", - "command": "type", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css:finder"], - ["xpath=//input[@id='field2']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Incomplete Source" - }, { - "id": "87100227-185f-45b1-8fe7-0b430590fc76", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[2]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "34f16074-4534-4eda-8f41-f19f356fd6ec", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f5f695f3-40e5-45e3-bca4-d81710fb1bce", - "comment": "", - "command": "mouseOver", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "fef2219d-1dc2-4324-ad53-b2d09e0efda7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f51ea52b-4223-4bf5-a862-ac5e38b588d2", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "4e2dad7a-376c-4ddd-99c2-b053dd55a474", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "76e0b202-1c6f-40ac-bfb3-cf1a7b24ee6f", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "0ac6d0ba-a28e-46ca-bbb3-02e5c5e15fee", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "2e8c849d-a320-4be7-9abe-e2a3b0113717", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "7580bb3a-dced-412c-b20c-f44dc4cde330", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "8a266dee-554c-43ba-95f9-e6b1a7dda2fd", - "comment": "", - "command": "click", - "target": "css=.nav-item > .nav-link > translate-i18n", - "targets": [ - ["css=.nav-item > .nav-link > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li[2]/a/translate-i18n", "xpath:idRelative"], - ["xpath=//li[2]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Dashboard')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "e432f5d6-953d-4751-b857-b9fa9beffaab", - "comment": "", - "command": "click", - "target": "css=.btn-primary", - "targets": [ - ["css=.btn-primary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'Finish Later')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "a127c67c-5b91-445a-a2b6-8a043120ded8", - "comment": "", - "command": "waitForElementPresent", - "target": "css=div:nth-child(2) > .badge", - "targets": [], - "value": "3000" - }, { - "id": "70483538-a928-4e76-885f-1bc432e40546", - "comment": "", - "command": "assertText", - "target": "css=div:nth-child(2) > .badge", - "targets": [ - ["css=div:nth-child(2) > .badge", "css:finder"], - ["xpath=//div[2]/span", "xpath:position"], - ["xpath=//span[contains(.,'Incomplete Form')]", "xpath:innerText"] - ], - "value": "Incomplete Form" - }, { - "id": "cca5e05d-9836-491e-92f9-1225c833a394", - "comment": "", - "command": "click", - "target": "css=.text-primary", - "targets": [ - ["css=.text-primary", "css:finder"], - ["xpath=//div/i", "xpath:position"] - ], - "value": "" - }, { - "id": "7643aee7-cdbc-4b7b-94a5-c1b0fb0b2521", - "comment": "", - "command": "click", - "target": "css=.pull-right", - "targets": [ - ["css=.pull-right", "css:finder"], - ["xpath=//div[2]/div/div/div[2]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "8d40f8f6-3a81-4c98-801b-bd63a38653a3", - "comment": "", - "command": "click", - "target": "css=.btn-danger", - "targets": [ - ["css=.btn-danger", "css:finder"], - ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'Delete')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "59a0f4a6-101d-49b6-9fb4-64813db90033", - "comment": "", - "command": "assertElementNotPresent", - "target": "css=dif:nth-child(2) > .badge", - "targets": [], - "value": "" - }] - }], - "suites": [{ - "id": "8d5af712-f2c2-47c0-a6ec-e098a14514c0", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["4d9bc23b-6517-4fe8-b2ed-9c36ada8cf17"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/DeleteREGEXFilter.side b/backend/src/integration/resources/DeleteREGEXFilter.side deleted file mode 100644 index 788696f38..000000000 --- a/backend/src/integration/resources/DeleteREGEXFilter.side +++ /dev/null @@ -1,923 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "Delete Entity REGEX Filter", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "758bd43d-364e-4860-bc70-824f5e0a2b52", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "21dc44c6-339c-4260-8009-02e8fb3e74c4", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "24b868c1-7f23-4a9a-89f2-ac540605129a", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c8218096-deaf-4171-883e-d210648f2a35", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: " - }, { - "id": "acb5c4a4-082d-498b-bf21-a6a2d65e6b11", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "b3117791-75ff-4a91-9172-28e7b24fc5f2", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "059bcfe7-c42c-4327-9fcd-b53e2671fb75", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "3471a9c3-2176-4e15-a235-0c326b689ad8", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "1bad25ea-6794-44c6-b7e4-8af3c231144c", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "2d873c07-f89b-420a-a77b-d597dbcf4984", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c1e9ed64-7c58-4683-8ac4-8ea70bde4724", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "ID" - }, { - "id": "5b18ebb5-61c5-4b8e-b252-35d401bfd0a3", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "47569c1e-e601-4ef0-a97d-4a7b0ee15a71", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e4351d67-9066-4631-81ad-0c10e9f0d457", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f3fc7654-a454-4a41-9eb3-9d92bed74e76", - "comment": "", - "command": "doubleClick", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c096f1bd-7b01-4202-bbb8-bb141b512147", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/metadata/test.xml" - }, { - "id": "bb1810c2-25e8-4c11-8de1-de1b37664917", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field8-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f16e0633-b5e7-4544-bbeb-c851519178bd", - "comment": "", - "command": "click", - "target": "id=field8__option--0", - "targets": [ - ["id=field8__option--0", "id"], - ["css=#field8__option--0", "css"], - ["css=#field8__option--0", "css:finder"], - ["xpath=//li[@id='field8__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field8__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "df8efb67-d5f5-4080-b2e7-6ec8777956a7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "45642b8d-b691-4527-a137-de4a2f94f10b", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=#field15-container .fa", "css:finder"], - ["xpath=//div[@id='field15-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "062e47c2-75a8-4404-8139-72031ba87187", - "comment": "", - "command": "click", - "target": "id=field15__option--0", - "targets": [ - ["id=field15__option--0", "id"], - ["css=#field15__option--0", "css"], - ["css=#field15__option--0", "css:finder"], - ["xpath=//li[@id='field15__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "0da757a9-98f9-4454-bb3b-da3e4c14906d", - "comment": "", - "command": "click", - "target": "css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field16-container .fa", "css:finder"], - ["xpath=//div[@id='field16-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "7ddee128-01fc-4c93-a17b-46a882acc705", - "comment": "", - "command": "click", - "target": "id=field16__option--3", - "targets": [ - ["id=field16__option--3", "id"], - ["css=#field16__option--3", "css"], - ["css=#field16__option--3", "css:finder"], - ["xpath=//li[@id='field16__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field16__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "70f6828a-7770-4eb3-bb51-2bccdab7aaa5", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=#field15-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field15-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "850dd703-eb10-4487-ad7c-ee7dcc1143b5", - "comment": "", - "command": "click", - "target": "id=field15__option--1", - "targets": [ - ["id=field15__option--1", "id"], - ["css=#field15__option--1", "css"], - ["css=#field15__option--1", "css:finder"], - ["xpath=//li[@id='field15__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "2b404fc4-0ad0-4963-85ae-eebcfc866b71", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.01" - }, { - "id": "ebcb555d-ea24-41fb-a306-fd2072a4fa20", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a0bed117-0336-4ec2-806a-664add40ef94", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ee0a1de9-4573-4188-a7a3-c5512b299cc8", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "81c3814f-26eb-4e8b-8cd2-93c8c3494270", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "fdf1e317-b808-4866-9052-b44bf1571d1e", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.04" - }, { - "id": "183e50b8-7034-47c7-8b6e-a27a982afc6a", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "dce62f7d-a12a-4fc7-b71c-7f387048acd0", - "comment": "", - "command": "mouseOver", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "82f0c49b-cee3-4a65-9410-8af721ec891c", - "comment": "", - "command": "mouseOut", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "97f3d781-4748-4c3b-93e9-d27b04818df6", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field21-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "8c53a716-f551-4ccf-ac31-36f151784858", - "comment": "", - "command": "click", - "target": "id=field21__option--0", - "targets": [ - ["id=field21__option--0", "id"], - ["css=#field21__option--0", "css"], - ["css=#field21__option--0", "css:finder"], - ["xpath=//li[@id='field21__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field21__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "4c2fb2d1-03c9-4e0b-8098-291808964da0", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "699b5bf4-ed62-4b3e-8727-f81d4c9cdfeb", - "comment": "", - "command": "type", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "oh, happy path dagger " - }, { - "id": "62d89667-aa43-4e45-a665-62ab778d2cf7", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "7c421f6a-04b0-46ab-b456-e1355001f517", - "comment": "", - "command": "click", - "target": "id=field29", - "targets": [ - ["id=field29", "id"], - ["name=field29", "name"], - ["css=#field29", "css"], - ["css=#field29", "css:finder"], - ["xpath=//select[@id='field29']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "a589ed87-e431-4f8c-8bb0-a7c36eff5f70", - "comment": "", - "command": "select", - "target": "id=field29", - "targets": [], - "value": "label=SPSSODescriptor" - }, { - "id": "350ae05b-bcec-419f-8b51-7d3877fa6556", - "comment": "", - "command": "click", - "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", - "targets": [ - ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2aa4bc33-2888-466a-9355-2ccf2fdb931b", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "079c5868-915c-4441-8e57-7069ade24285", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "ca597616-fd50-4286-b2a8-23b951bc93cb", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bfddd68a-b6f6-4dbf-bd03-c6aec1b87d70", - "comment": "", - "command": "click", - "target": "css=div.px-2", - "targets": [ - ["css=div.px-2", "css"], - ["css=.px-2", "css:finder"], - ["xpath=//div[2]/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "c3d80754-3e28-4b07-95f6-5bfac82e9a58", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "b8c89883-4999-4429-a4f0-b20f7dbc825c", - "comment": "", - "command": "click", - "target": "css=span.label", - "targets": [ - ["css=span.label", "css"], - ["css=.label", "css:finder"], - ["xpath=//div[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "b116af38-d1a3-4c5d-8fe6-022e7e704182", - "comment": "", - "command": "click", - "target": "css=a.btn.btn-success > translate-i18n", - "targets": [ - ["css=a.btn.btn-success > translate-i18n", "css"], - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div[2]/a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835212", - "comment": "", - "command": "click", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835211", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "label=EntityAttributes" - }, { - "id": "a69166b9-4073-4653-987d-0537702f5dbb", - "comment": "", - "command": "click", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "23fb3205-4f3e-44d0-b4fa-d36763ca03ac", - "comment": "", - "command": "type", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "REGEX" - }, { - "id": "3fafbc55-60df-491b-b3d7-99a9985162f5", - "comment": "", - "command": "click", - "target": "css=.btn-outline-secondary", - "targets": [ - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bcb6b08c-2c96-4662-9615-172c5cca5555", - "comment": "", - "command": "click", - "target": "css=.dropdown-item:nth-child(2)", - "targets": [ - ["linkText=Regex", "linkText"], - ["css=.dropdown-item:nth-child(2)", "css:finder"], - ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], - ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], - ["xpath=//div/div/a[2]", "xpath:position"], - ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "6f4c6778-5f18-43cd-aed4-c4a02eb6fd39", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "90f1da50-f166-46e9-833f-0c3da22a9604", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "6ccfef71-3064-4c43-a715-2623db36d897", - "comment": "", - "command": "doubleClick", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "59d835e5-000e-4570-8048-3b376be2062c", - "comment": "", - "command": "type", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "foo.*" - }, { - "id": "9c0fcb70-83f6-45b5-b5ef-d0ff7bdc80cb", - "comment": "", - "command": "click", - "target": "css=fieldset > div.row", - "targets": [ - ["css=fieldset > div.row", "css"], - ["css=fieldset > .row", "css:finder"], - ["xpath=//filter-target/fieldset/div", "xpath:position"] - ], - "value": "" - }, { - "id": "8c936dc3-f584-4857-bf31-000c1d573b60", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "58d17669-7606-43a6-9ae8-6c0f61586d54", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["name=script", "name"], - ["css=#targetInput", "css"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "2b173ea3-b0aa-4d7b-88bb-2c3c2b900d7d", - "comment": "", - "command": "click", - "target": "css=fieldset > div.row", - "targets": [ - ["css=fieldset > div.row", "css"], - ["css=fieldset > .row", "css:finder"], - ["xpath=//filter-target/fieldset/div", "xpath:position"] - ], - "value": "" - }, { - "id": "de3cd0f1-f56a-4bab-8867-e8bf2a676b9a", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-primary", - "targets": [ - ["css=button.btn.btn-primary", "css"], - ["css=.btn-primary", "css:finder"], - ["xpath=//button[@type='submit']", "xpath:attributes"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "ec7223b2-894b-4fa7-ba84-3fee760433d8", - "comment": "", - "command": "waitForElementPresent", - "target": "css=td.td-lg", - "targets": [], - "value": "3000" - }, { - "id": "8d472caf-2525-4e20-9f14-195e0212f72f", - "comment": "", - "command": "assertText", - "target": "css=td.td-lg", - "targets": [ - ["css=td.td-lg", "css"], - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"] - ], - "value": "REGEX" - }, { - "id": "2e7df1d1-aaf0-4029-a037-a33b779759a7", - "comment": "", - "command": "click", - "target": "css=.td-sm:nth-child(7) > .btn", - "targets": [ - ["css=.td-sm:nth-child(7) > .btn", "css:finder"], - ["xpath=//td[7]/button", "xpath:position"], - ["xpath=//button[contains(.,'Edit')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "44080c2f-a9f9-41b0-ae6c-799574dfebb6", - "comment": "", - "command": "click", - "target": "css=.btn-danger", - "targets": [ - ["css=.btn-danger", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'Delete')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "a67c3c17-33ec-473b-bb54-fc8bdd1eb522", - "comment": "", - "command": "assertElementNotPresent", - "target": "css=td.td-lg", - "targets": [ - ["css=.align-items-start", "css:finder"], - ["xpath=//footer/div/div/div", "xpath:position"] - ], - "value": "" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/DeleteScriptFilter.side b/backend/src/integration/resources/DeleteScriptFilter.side deleted file mode 100644 index b2fd79399..000000000 --- a/backend/src/integration/resources/DeleteScriptFilter.side +++ /dev/null @@ -1,860 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "Delete Entity Script Filter", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "758bd43d-364e-4860-bc70-824f5e0a2b52", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "21dc44c6-339c-4260-8009-02e8fb3e74c4", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "24b868c1-7f23-4a9a-89f2-ac540605129a", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c8218096-deaf-4171-883e-d210648f2a35", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: " - }, { - "id": "acb5c4a4-082d-498b-bf21-a6a2d65e6b11", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "b3117791-75ff-4a91-9172-28e7b24fc5f2", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "059bcfe7-c42c-4327-9fcd-b53e2671fb75", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "3471a9c3-2176-4e15-a235-0c326b689ad8", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "1bad25ea-6794-44c6-b7e4-8af3c231144c", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "2d873c07-f89b-420a-a77b-d597dbcf4984", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c1e9ed64-7c58-4683-8ac4-8ea70bde4724", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "ID" - }, { - "id": "5b18ebb5-61c5-4b8e-b252-35d401bfd0a3", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "47569c1e-e601-4ef0-a97d-4a7b0ee15a71", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e4351d67-9066-4631-81ad-0c10e9f0d457", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f3fc7654-a454-4a41-9eb3-9d92bed74e76", - "comment": "", - "command": "doubleClick", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c096f1bd-7b01-4202-bbb8-bb141b512147", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/metadata/test.xml" - }, { - "id": "bb1810c2-25e8-4c11-8de1-de1b37664917", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field8-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f16e0633-b5e7-4544-bbeb-c851519178bd", - "comment": "", - "command": "click", - "target": "id=field8__option--0", - "targets": [ - ["id=field8__option--0", "id"], - ["css=#field8__option--0", "css"], - ["css=#field8__option--0", "css:finder"], - ["xpath=//li[@id='field8__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field8__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "df8efb67-d5f5-4080-b2e7-6ec8777956a7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "45642b8d-b691-4527-a137-de4a2f94f10b", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=#field15-container .fa", "css:finder"], - ["xpath=//div[@id='field15-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "062e47c2-75a8-4404-8139-72031ba87187", - "comment": "", - "command": "click", - "target": "id=field15__option--0", - "targets": [ - ["id=field15__option--0", "id"], - ["css=#field15__option--0", "css"], - ["css=#field15__option--0", "css:finder"], - ["xpath=//li[@id='field15__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "0da757a9-98f9-4454-bb3b-da3e4c14906d", - "comment": "", - "command": "click", - "target": "css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field16-container .fa", "css:finder"], - ["xpath=//div[@id='field16-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "7ddee128-01fc-4c93-a17b-46a882acc705", - "comment": "", - "command": "click", - "target": "id=field16__option--3", - "targets": [ - ["id=field16__option--3", "id"], - ["css=#field16__option--3", "css"], - ["css=#field16__option--3", "css:finder"], - ["xpath=//li[@id='field16__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field16__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "70f6828a-7770-4eb3-bb51-2bccdab7aaa5", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=#field15-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field15-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "850dd703-eb10-4487-ad7c-ee7dcc1143b5", - "comment": "", - "command": "click", - "target": "id=field15__option--1", - "targets": [ - ["id=field15__option--1", "id"], - ["css=#field15__option--1", "css"], - ["css=#field15__option--1", "css:finder"], - ["xpath=//li[@id='field15__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "2b404fc4-0ad0-4963-85ae-eebcfc866b71", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.01" - }, { - "id": "ebcb555d-ea24-41fb-a306-fd2072a4fa20", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a0bed117-0336-4ec2-806a-664add40ef94", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ee0a1de9-4573-4188-a7a3-c5512b299cc8", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "81c3814f-26eb-4e8b-8cd2-93c8c3494270", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "fdf1e317-b808-4866-9052-b44bf1571d1e", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.04" - }, { - "id": "183e50b8-7034-47c7-8b6e-a27a982afc6a", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "dce62f7d-a12a-4fc7-b71c-7f387048acd0", - "comment": "", - "command": "mouseOver", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "82f0c49b-cee3-4a65-9410-8af721ec891c", - "comment": "", - "command": "mouseOut", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "97f3d781-4748-4c3b-93e9-d27b04818df6", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field21-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "8c53a716-f551-4ccf-ac31-36f151784858", - "comment": "", - "command": "click", - "target": "id=field21__option--0", - "targets": [ - ["id=field21__option--0", "id"], - ["css=#field21__option--0", "css"], - ["css=#field21__option--0", "css:finder"], - ["xpath=//li[@id='field21__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field21__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "4c2fb2d1-03c9-4e0b-8098-291808964da0", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "699b5bf4-ed62-4b3e-8727-f81d4c9cdfeb", - "comment": "", - "command": "type", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "oh, happy path dagger " - }, { - "id": "62d89667-aa43-4e45-a665-62ab778d2cf7", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "7c421f6a-04b0-46ab-b456-e1355001f517", - "comment": "", - "command": "click", - "target": "id=field29", - "targets": [ - ["id=field29", "id"], - ["name=field29", "name"], - ["css=#field29", "css"], - ["css=#field29", "css:finder"], - ["xpath=//select[@id='field29']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "a589ed87-e431-4f8c-8bb0-a7c36eff5f70", - "comment": "", - "command": "select", - "target": "id=field29", - "targets": [], - "value": "label=SPSSODescriptor" - }, { - "id": "350ae05b-bcec-419f-8b51-7d3877fa6556", - "comment": "", - "command": "click", - "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", - "targets": [ - ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2aa4bc33-2888-466a-9355-2ccf2fdb931b", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "079c5868-915c-4441-8e57-7069ade24285", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "ca597616-fd50-4286-b2a8-23b951bc93cb", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bfddd68a-b6f6-4dbf-bd03-c6aec1b87d70", - "comment": "", - "command": "click", - "target": "css=div.px-2", - "targets": [ - ["css=div.px-2", "css"], - ["css=.px-2", "css:finder"], - ["xpath=//div[2]/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "c3d80754-3e28-4b07-95f6-5bfac82e9a58", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "b8c89883-4999-4429-a4f0-b20f7dbc825c", - "comment": "", - "command": "click", - "target": "css=span.label", - "targets": [ - ["css=span.label", "css"], - ["css=.label", "css:finder"], - ["xpath=//div[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "b116af38-d1a3-4c5d-8fe6-022e7e704182", - "comment": "", - "command": "click", - "target": "css=a.btn.btn-success > translate-i18n", - "targets": [ - ["css=a.btn.btn-success > translate-i18n", "css"], - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div[2]/a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835212", - "comment": "", - "command": "click", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "5693bc4b-80b7-41e3-885b-0911a4835211", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [ - ["name=type", "name"], - ["css=.is-valid", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "label=EntityAttributes" - }, { - "id": "1bd260d1-8200-4a13-8450-64c9b009711e", - "comment": "", - "command": "click", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "4cbf2dbd-0625-4616-b84e-60efa8e6ee70", - "comment": "", - "command": "type", - "target": "id=field33", - "targets": [ - ["id=field33", "id"], - ["name=field33", "name"], - ["css=#field33", "css:finder"], - ["xpath=//input[@id='field33']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "EAF1" - }, { - "id": "668eac60-1b37-4e4f-8cfd-6bba646b8522", - "comment": "", - "command": "click", - "target": "css=.btn-outline-secondary", - "targets": [ - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "27d40d50-2c4e-4449-883f-0078ecb82e23", - "comment": "", - "command": "click", - "target": "css=.dropdown-item:nth-child(3)", - "targets": [ - ["linkText=Script", "linkText"], - ["css=.dropdown-item:nth-child(3)", "css:finder"], - ["xpath=//a[contains(text(),'Script')]", "xpath:link"], - ["xpath=(//a[contains(@href, '#')])[3]", "xpath:href"], - ["xpath=//a[3]", "xpath:position"], - ["xpath=//a[contains(.,'Script')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "835aaf4f-9ae9-464a-bfea-64a4419b5101", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//p[@id='targetInput']", "xpath:attributes"], - ["xpath=//p", "xpath:position"] - ], - "value": "" - }, { - "id": "51aaaf85-34c2-46f3-b8cd-8256a5004912", - "comment": "", - "command": "editContent", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//p[@id='targetInput']", "xpath:attributes"], - ["xpath=//p", "xpath:position"], - ["xpath=//p[contains(.,'eval(true);')]", "xpath:innerText"] - ], - "value": "eval(true);" - }, { - "id": "13c6e4ad-56b1-4f92-9c42-204834d6d0e5", - "comment": "", - "command": "type", - "target": "id=targetInput", - "targets": [], - "value": " " - }, { - "id": "22a50d98-206c-44e9-80e0-53e9a7e6df20", - "comment": "", - "command": "click", - "target": "css=.text-success", - "targets": [ - ["css=.text-success", "css:finder"], - ["xpath=//td[2]/button", "xpath:position"], - ["xpath=//button[contains(.,'Check All Attributes')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "6ca9e42c-fb24-4db3-9903-c8d16cfdaa41", - "comment": "", - "command": "click", - "target": "css=.col:nth-child(2) > div:nth-child(1) > div:nth-child(1) .custom-control-label:nth-child(2)", - "targets": [ - ["css=.col:nth-child(2) > div:nth-child(1) > div:nth-child(1) .custom-control-label:nth-child(2)", "css:finder"], - ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "0efbc767-45e7-4728-8106-e583c599c953", - "comment": "", - "command": "click", - "target": "css=.btn-primary", - "targets": [ - ["css=.btn-primary", "css:finder"], - ["xpath=//button[@type='submit']", "xpath:attributes"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "1ff1a43d-1714-4eb3-ab08-3b301ba1a1eb", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [ - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'EAF1')]", "xpath:innerText"] - ], - "value": "3000" - }, { - "id": "3a81081a-e97e-4bf8-ab23-ccf1d5a01cb9", - "comment": "", - "command": "assertText", - "target": "css=.td-lg:nth-child(3)", - "targets": [], - "value": "EAF1" - }, { - "id": "f13d4acc-30c5-4f1a-9560-a59aff989ab0", - "comment": "", - "command": "click", - "target": "css=.td-sm:nth-child(7) > .btn", - "targets": [ - ["css=.td-sm:nth-child(7) > .btn", "css:finder"], - ["xpath=//td[7]/button", "xpath:position"], - ["xpath=//button[contains(.,'Edit')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "0ca13752-0d0a-4377-a61a-d9d8c035f285", - "comment": "", - "command": "click", - "target": "css=.btn-danger", - "targets": [ - ["css=.btn-danger", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'Delete')]", "xpath:innerText"] - ], - "value": "" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} diff --git a/backend/src/integration/resources/MetadataProviderHappyPathSAVE.side b/backend/src/integration/resources/MetadataProviderHappyPathSAVE.side deleted file mode 100644 index f89c45be0..000000000 --- a/backend/src/integration/resources/MetadataProviderHappyPathSAVE.side +++ /dev/null @@ -1,589 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "FBHMP Happy Path Save", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "758bd43d-364e-4860-bc70-824f5e0a2b52", - "comment": "", - "command": "click", - "target": "css=translate-i18n", - "targets": [ - ["css=translate-i18n", "css"], - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "21dc44c6-339c-4260-8009-02e8fb3e74c4", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "24b868c1-7f23-4a9a-89f2-ac540605129a", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c8218096-deaf-4171-883e-d210648f2a35", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: " - }, { - "id": "acb5c4a4-082d-498b-bf21-a6a2d65e6b11", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "b3117791-75ff-4a91-9172-28e7b24fc5f2", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "059bcfe7-c42c-4327-9fcd-b53e2671fb75", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "3471a9c3-2176-4e15-a235-0c326b689ad8", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }, { - "id": "1bad25ea-6794-44c6-b7e4-8af3c231144c", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "2d873c07-f89b-420a-a77b-d597dbcf4984", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "c1e9ed64-7c58-4683-8ac4-8ea70bde4724", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "ID" - }, { - "id": "5b18ebb5-61c5-4b8e-b252-35d401bfd0a3", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "47569c1e-e601-4ef0-a97d-4a7b0ee15a71", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e4351d67-9066-4631-81ad-0c10e9f0d457", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f3fc7654-a454-4a41-9eb3-9d92bed74e76", - "comment": "", - "command": "doubleClick", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c096f1bd-7b01-4202-bbb8-bb141b512147", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/metadata/test.xml" - }, { - "id": "bb1810c2-25e8-4c11-8de1-de1b37664917", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field8-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f16e0633-b5e7-4544-bbeb-c851519178bd", - "comment": "", - "command": "click", - "target": "id=field8__option--0", - "targets": [ - ["id=field8__option--0", "id"], - ["css=#field8__option--0", "css"], - ["css=#field8__option--0", "css:finder"], - ["xpath=//li[@id='field8__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field8__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "df8efb67-d5f5-4080-b2e7-6ec8777956a7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "45642b8d-b691-4527-a137-de4a2f94f10b", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=#field15-container .fa", "css:finder"], - ["xpath=//div[@id='field15-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "062e47c2-75a8-4404-8139-72031ba87187", - "comment": "", - "command": "click", - "target": "id=field15__option--0", - "targets": [ - ["id=field15__option--0", "id"], - ["css=#field15__option--0", "css"], - ["css=#field15__option--0", "css:finder"], - ["xpath=//li[@id='field15__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "0da757a9-98f9-4454-bb3b-da3e4c14906d", - "comment": "", - "command": "click", - "target": "css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field16-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field16-container .fa", "css:finder"], - ["xpath=//div[@id='field16-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "7ddee128-01fc-4c93-a17b-46a882acc705", - "comment": "", - "command": "click", - "target": "id=field16__option--3", - "targets": [ - ["id=field16__option--3", "id"], - ["css=#field16__option--3", "css"], - ["css=#field16__option--3", "css:finder"], - ["xpath=//li[@id='field16__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field16__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] - ], - "value": "" - }, { - "id": "70f6828a-7770-4eb3-bb51-2bccdab7aaa5", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=#field15-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field15-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "850dd703-eb10-4487-ad7c-ee7dcc1143b5", - "comment": "", - "command": "click", - "target": "id=field15__option--1", - "targets": [ - ["id=field15__option--1", "id"], - ["css=#field15__option--1", "css"], - ["css=#field15__option--1", "css:finder"], - ["xpath=//li[@id='field15__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field15__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "fdf1e317-b808-4866-9052-b44bf1571d1e", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=input[name=\"field17\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//input[@name='field17']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "0.04" - }, { - "id": "183e50b8-7034-47c7-8b6e-a27a982afc6a", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "dce62f7d-a12a-4fc7-b71c-7f387048acd0", - "comment": "", - "command": "mouseOver", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "82f0c49b-cee3-4a65-9410-8af721ec891c", - "comment": "", - "command": "mouseOut", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "97f3d781-4748-4c3b-93e9-d27b04818df6", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field21-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "8c53a716-f551-4ccf-ac31-36f151784858", - "comment": "", - "command": "click", - "target": "id=field21__option--0", - "targets": [ - ["id=field21__option--0", "id"], - ["css=#field21__option--0", "css"], - ["css=#field21__option--0", "css:finder"], - ["xpath=//li[@id='field21__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field21__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "4c2fb2d1-03c9-4e0b-8098-291808964da0", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "699b5bf4-ed62-4b3e-8727-f81d4c9cdfeb", - "comment": "", - "command": "type", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//input[@id='field24']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "oh, happy path dagger " - }, { - "id": "62d89667-aa43-4e45-a665-62ab778d2cf7", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "7c421f6a-04b0-46ab-b456-e1355001f517", - "comment": "", - "command": "click", - "target": "id=field29", - "targets": [ - ["id=field29", "id"], - ["name=field29", "name"], - ["css=#field29", "css"], - ["css=#field29", "css:finder"], - ["xpath=//select[@id='field29']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "a589ed87-e431-4f8c-8bb0-a7c36eff5f70", - "comment": "", - "command": "select", - "target": "id=field29", - "targets": [], - "value": "label=SPSSODescriptor" - }, { - "id": "350ae05b-bcec-419f-8b51-7d3877fa6556", - "comment": "", - "command": "click", - "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", - "targets": [ - ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "2aa4bc33-2888-466a-9355-2ccf2fdb931b", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "079c5868-915c-4441-8e57-7069ade24285", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "ca597616-fd50-4286-b2a8-23b951bc93cb", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bfddd68a-b6f6-4dbf-bd03-c6aec1b87d70", - "comment": "", - "command": "click", - "target": "css=div.px-2", - "targets": [ - ["css=.px-2", "css:finder"], - ["xpath=//div[2]/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "c3d80754-3e28-4b07-95f6-5bfac82e9a58", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Provider: FBHMP" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/MetadataSourceHappyPathSAVE.side b/backend/src/integration/resources/MetadataSourceHappyPathSAVE.side deleted file mode 100644 index 55d2cf06b..000000000 --- a/backend/src/integration/resources/MetadataSourceHappyPathSAVE.side +++ /dev/null @@ -1,1339 +0,0 @@ -{ - "id": "16b5f41b-30c1-4cc1-9c9e-bc15e40d1318", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101/", - "tests": [{ - "id": "daacdb81-2f14-49f3-8d15-da5f5d52586c", - "name": "Metadata Source Happy Path till Death", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "effbf04c-a1fa-411e-a47f-0b71acfbf4b2", - "comment": "", - "command": "open", - "target": "/", - "targets": [], - "value": "" - }, { - "id": "74c9f446-f0bf-44d1-a133-66e23edec90f", - "comment": "", - "command": "click", - "target": "css=.fa-plus-circle", - "targets": [ - ["css=.fa-plus-circle", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/i", "xpath:idRelative"], - ["xpath=//i", "xpath:position"] - ], - "value": "" - }, { - "id": "5da1ff9f-6932-4039-8abb-b7b3a239c4ac", - "comment": "", - "command": "click", - "target": "css=a.nav-link > translate-i18n", - "targets": [ - ["css=a.nav-link > translate-i18n", "css"], - ["css=.dropdown-menu > .nav-link:nth-child(1) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a/translate-i18n", "xpath:idRelative"], - ["xpath=//a/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5c63e88e-dd35-4f57-8a27-695f009ed931", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "544fe0b8-8e3c-494a-bca4-2ca0466acf5d", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "ffc984f5-2ff2-4567-bc38-d76e8b23e638", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//input[@id='field2']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "69c55df1-7a0a-4d42-a9cb-dd9fe40e7a83", - "comment": "", - "command": "type", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//input[@id='field2']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "1a9cd819-1885-407d-b83d-47c8f8914d20", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "0d294c02-bfc6-4707-96fc-2c40d5cb6155", - "comment": "", - "command": "mouseOver", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "5d3ea592-50c0-412a-b349-7f4420cb51e7", - "comment": "", - "command": "mouseOut", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "fd70cab9-c22d-480b-9687-82436d20aa3c", - "comment": "", - "command": "click", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "536c9b0d-0098-4b99-8aa4-6cb95e84e996", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "348fd0cf-0b2c-41a3-a789-90d0833be0cd", - "comment": "", - "command": "click", - "target": "id=field6", - "targets": [ - ["id=field6", "id"], - ["name=field6", "name"], - ["css=#field6", "css"], - ["css=#field6", "css:finder"], - ["xpath=//input[@id='field6']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f4509e3b-cd8f-49bf-b4a1-f6224979d135", - "comment": "", - "command": "type", - "target": "id=field6", - "targets": [ - ["id=field6", "id"], - ["name=field6", "name"], - ["css=#field6", "css"], - ["css=#field6", "css:finder"], - ["xpath=//input[@id='field6']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "dd873939-c6fd-4829-ae8f-eb104889c432", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "4fedf590-04a9-49a4-b650-fd11556dc1db", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "8b0bef15-6b15-458e-b36b-75bed96a251a", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "d61a9fe6-ee3d-4e3f-875b-e6b02628421a", - "comment": "", - "command": "click", - "target": "id=field10", - "targets": [ - ["id=field10", "id"], - ["name=field10", "name"], - ["css=#field10", "css"], - ["css=#field10", "css:finder"], - ["xpath=//input[@id='field10']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "3a5259dc-b427-4c90-aa72-d9e9735e203d", - "comment": "", - "command": "type", - "target": "id=field10", - "targets": [ - ["id=field10", "id"], - ["name=field10", "name"], - ["css=#field10", "css"], - ["css=#field10", "css:finder"], - ["xpath=//input[@id='field10']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "a195f60a-a35a-4ecc-8861-46559bd141a0", - "comment": "", - "command": "click", - "target": "id=field11", - "targets": [ - ["id=field11", "id"], - ["name=field11", "name"], - ["css=#field11", "css"], - ["css=#field11", "css:finder"], - ["xpath=//select[@id='field11']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "f0c212eb-ed1e-4994-adec-e2be2b2361cd", - "comment": "", - "command": "select", - "target": "id=field11", - "targets": [], - "value": "label=Support" - }, { - "id": "a3213eaa-cc00-4f3f-b243-8aaebfc99bd7", - "comment": "", - "command": "click", - "target": "id=field12", - "targets": [ - ["id=field12", "id"], - ["name=field12", "name"], - ["css=#field12", "css"], - ["css=#field12", "css:finder"], - ["xpath=//input[@id='field12']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f03d98d4-298a-40b9-b17f-3730884056a7", - "comment": "", - "command": "type", - "target": "id=field12", - "targets": [ - ["id=field12", "id"], - ["name=field12", "name"], - ["css=#field12", "css"], - ["css=#field12", "css:finder"], - ["xpath=//input[@id='field12']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "b@g.com" - }, { - "id": "c589a1cc-d79c-444c-9c66-85eb97fbf75e", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "069f0972-4b43-4a12-a485-542831bba9d3", - "comment": "", - "command": "click", - "target": "id=field15", - "targets": [ - ["id=field15", "id"], - ["name=field15", "name"], - ["css=#field15", "css"], - ["css=#field15", "css:finder"], - ["xpath=//input[@id='field15']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "74879229-2f35-458b-8bc2-fe53b40abc16", - "comment": "", - "command": "type", - "target": "id=field15", - "targets": [ - ["id=field15", "id"], - ["name=field15", "name"], - ["css=#field15", "css"], - ["css=#field15", "css:finder"], - ["xpath=//input[@id='field15']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "1c4fcf3d-9316-4816-b80a-3151bd71e9e2", - "comment": "", - "command": "click", - "target": "id=field19", - "targets": [ - ["id=field19", "id"], - ["name=field19", "name"], - ["css=#field19", "css"], - ["css=#field19", "css:finder"], - ["xpath=//input[@id='field19']", "xpath:attributes"], - ["xpath=//fieldset[2]/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "79efad4e-9936-4637-a86b-e34be03a833e", - "comment": "", - "command": "type", - "target": "id=field19", - "targets": [ - ["id=field19", "id"], - ["name=field19", "name"], - ["css=#field19", "css"], - ["css=#field19", "css:finder"], - ["xpath=//input[@id='field19']", "xpath:attributes"], - ["xpath=//fieldset[2]/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "bcce1997-56cd-432c-8e8e-fa7cdfab4ff7", - "comment": "", - "command": "mouseDownAt", - "target": "name=field20", - "targets": [ - ["name=field20", "name"], - ["css=input[name=\"field20\"]", "css"], - ["css=div:nth-child(3) > sf-form-element integer-component .text-widget", "css:finder"], - ["xpath=//input[@name='field20']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "18.046875,20.5625" - }, { - "id": "dc5a59a9-cdb0-4811-9665-2518b540bc96", - "comment": "", - "command": "mouseMoveAt", - "target": "name=field20", - "targets": [ - ["name=field20", "name"], - ["css=input[name=\"field20\"]", "css"], - ["css=div:nth-child(3) > sf-form-element integer-component .text-widget", "css:finder"], - ["xpath=//input[@name='field20']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "18.046875,20.5625" - }, { - "id": "5f6e4eda-266a-4dec-9966-e59579197b57", - "comment": "", - "command": "mouseUpAt", - "target": "name=field20", - "targets": [ - ["name=field20", "name"], - ["css=input[name=\"field20\"]", "css"], - ["css=div:nth-child(3) > sf-form-element integer-component .text-widget", "css:finder"], - ["xpath=//input[@name='field20']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "18.046875,20.5625" - }, { - "id": "fafee973-6b99-4213-abbe-cd19c2a301fc", - "comment": "", - "command": "click", - "target": "name=field20", - "targets": [ - ["name=field20", "name"], - ["css=input[name=\"field20\"]", "css"], - ["css=div:nth-child(3) > sf-form-element integer-component .text-widget", "css:finder"], - ["xpath=//input[@name='field20']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "d2685a5b-b963-4087-9cb3-a16e284b8eec", - "comment": "", - "command": "type", - "target": "name=field20", - "targets": [ - ["name=field20", "name"], - ["css=input[name=\"field20\"]", "css"], - ["css=integer-component .ng-dirty", "css:finder"], - ["xpath=//input[@name='field20']", "xpath:attributes"], - ["xpath=//integer-component/div/input", "xpath:position"] - ], - "value": "22" - }, { - "id": "33780c34-5a30-44e0-b717-324d8dc1d39f", - "comment": "", - "command": "click", - "target": "name=field21", - "targets": [ - ["name=field21", "name"], - ["css=input[name=\"field21\"]", "css"], - ["css=integer-component .ng-untouched", "css:finder"], - ["xpath=//input[@name='field21']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/integer-component/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "5d61c087-2035-4d19-a861-3709711f27d5", - "comment": "", - "command": "type", - "target": "name=field21", - "targets": [ - ["name=field21", "name"], - ["css=input[name=\"field21\"]", "css"], - ["css=integer-component .ng-untouched", "css:finder"], - ["xpath=//input[@name='field21']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/integer-component/div/input", "xpath:position"] - ], - "value": "22" - }, { - "id": "5bd5ae5a-2c88-4773-bf44-751d13ed88d3", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "488ac686-1a63-4c8e-94b7-40400e1371af", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css"], - ["css=#field24", "css:finder"], - ["xpath=//select[@id='field24']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "60143c98-6cd9-432f-92bf-4e4707e7e3d5", - "comment": "", - "command": "select", - "target": "id=field24", - "targets": [], - "value": "label=SAML 2" - }, { - "id": "d6a37621-ece9-4eff-a614-106bcfdc21f2", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-plus", - "targets": [ - ["css=i.fa.fa-plus", "css"], - ["css=.fa-plus", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "21129688-6508-47e2-bc58-4907f1ea59bc", - "comment": "", - "command": "mouseOver", - "target": "css=i.fa.fa-plus", - "targets": [ - ["css=i.fa.fa-plus", "css"], - ["css=.fa-plus", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "66554179-3226-4887-a80a-bdb28c5387e3", - "comment": "", - "command": "mouseOut", - "target": "css=i.fa.fa-plus", - "targets": [ - ["css=i.fa.fa-plus", "css"], - ["css=.fa-plus", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "2df388d8-ba6d-4d74-829d-262f18c8446c", - "comment": "", - "command": "click", - "target": "css=button.btn.btn-outline-secondary", - "targets": [ - ["css=button.btn.btn-outline-secondary", "css"], - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field26-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f880c62b-74fe-40d1-aa12-4fc563a6e8d9", - "comment": "", - "command": "click", - "target": "id=field26__option--1", - "targets": [ - ["id=field26__option--1", "id"], - ["css=#field26__option--1", "css"], - ["css=#field26__option--1", "css:finder"], - ["xpath=//li[@id='field26__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field26__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "88d4b1f0-5e41-43e1-841e-00f1da69c78e", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bcc70d0a-af51-404e-baf5-8a819438dea8", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-plus", - "targets": [ - ["css=i.fa.fa-plus", "css"], - ["css=.fa-plus", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "cfe8e067-fe86-460b-b7a3-3bb94e57358a", - "comment": "", - "command": "click", - "target": "id=field30", - "targets": [ - ["id=field30", "id"], - ["name=field30", "name"], - ["css=#field30", "css"], - ["css=#field30", "css:finder"], - ["xpath=//input[@id='field30']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "1def2ad1-847c-47b6-ba2d-d161b3349a47", - "comment": "", - "command": "type", - "target": "id=field30", - "targets": [ - ["id=field30", "id"], - ["name=field30", "name"], - ["css=#field30", "css"], - ["css=#field30", "css:finder"], - ["xpath=//input[@id='field30']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "55629eef-6cb9-4e2e-8d73-0cfcb912840e", - "comment": "", - "command": "click", - "target": "id=field31", - "targets": [ - ["id=field31", "id"], - ["name=field31", "name"], - ["css=#field31", "css"], - ["css=#field31", "css:finder"], - ["xpath=//select[@id='field31']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "fd79c8f7-d677-4272-9354-ba0becb7158d", - "comment": "", - "command": "select", - "target": "id=field31", - "targets": [], - "value": "label=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" - }, { - "id": "5147a678-0d3a-4069-b824-633f36d6ac53", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "24ead516-80cc-482d-95d3-c3ab624968b1", - "comment": "", - "command": "mouseOver", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bb8d63b6-e030-43b7-b08f-4c5ab1fdc8b1", - "comment": "", - "command": "mouseOut", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "e20e34e2-6532-4d6d-bf3d-51af159be2b1", - "comment": "", - "command": "click", - "target": "css=label.control-label > translate-i18n", - "targets": [ - ["css=label.control-label > translate-i18n", "css"], - ["css=div:nth-child(1) > sf-form-element > .has-success .form-check:nth-child(3) translate-i18n", "css:finder"], - ["xpath=//label/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "c3290068-67e0-4dee-a626-d2988cdea7f6", - "comment": "", - "command": "mouseOver", - "target": "id=field34-1", - "targets": [ - ["id=field34-1", "id"], - ["css=#field34-1", "css"], - ["css=#field34-1", "css:finder"], - ["xpath=//input[@id='field34-1']", "xpath:attributes"], - ["xpath=//div[2]/label/input", "xpath:position"] - ], - "value": "" - }, { - "id": "239d3e16-9938-45ce-a6da-199071f6385f", - "comment": "", - "command": "click", - "target": "id=field39", - "targets": [ - ["id=field39", "id"], - ["name=field39", "name"], - ["css=#field39", "css"], - ["css=#field39", "css:finder"], - ["xpath=//input[@id='field39']", "xpath:attributes"], - ["xpath=//div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "39a27a5d-de48-4c88-b877-f04bb5efb709", - "comment": "", - "command": "type", - "target": "id=field39", - "targets": [ - ["id=field39", "id"], - ["name=field39", "name"], - ["css=#field39", "css"], - ["css=#field39", "css:finder"], - ["xpath=//input[@id='field39']", "xpath:attributes"], - ["xpath=//div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "72ddb31a-22b1-4b07-9d30-1e653fa2abb2", - "comment": "", - "command": "click", - "target": "id=field40", - "targets": [ - ["id=field40", "id"], - ["name=field40", "name"], - ["css=#field40", "css"], - ["css=.form-check:nth-child(3) > #field40", "css:finder"], - ["xpath=//input[@id='field40']", "xpath:attributes"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "1b10758d-e730-4e7f-a79f-d735f1cc1d51", - "comment": "", - "command": "click", - "target": "name=field41", - "targets": [ - ["name=field41", "name"], - ["css=textarea[name=\"field41\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//textarea[@name='field41']", "xpath:attributes"], - ["xpath=//textarea", "xpath:position"] - ], - "value": "" - }, { - "id": "2ccf84d8-25b1-479d-9471-7a2532ec69c6", - "comment": "", - "command": "type", - "target": "name=field41", - "targets": [ - ["name=field41", "name"], - ["css=textarea[name=\"field41\"]", "css"], - ["css=.text-widget", "css:finder"], - ["xpath=//textarea[@name='field41']", "xpath:attributes"], - ["xpath=//textarea", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "e03bc6b0-82f0-4a5c-aa5f-2fe2971f279d", - "comment": "", - "command": "mouseDownAt", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "10.515625,14.484375" - }, { - "id": "3fd85e8f-d5a6-4ae8-86ab-a529644ca489", - "comment": "", - "command": "mouseMoveAt", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "10.515625,14.484375" - }, { - "id": "99360385-4ce5-4c95-bc4b-ca274c8ea517", - "comment": "", - "command": "mouseUpAt", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "10.515625,14.484375" - }, { - "id": "5b152fb8-9b13-4f21-adba-fb1dd167806a", - "comment": "", - "command": "click", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "f4d8158e-70b3-4f89-a5b7-6d6b8a4cf831", - "comment": "", - "command": "mouseOver", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "1ac83a17-ffad-46e4-bb55-4994dce80bd3", - "comment": "", - "command": "mouseOut", - "target": "css=textarea-component .btn > .fa", - "targets": [ - ["css=textarea-component .btn > .fa", "css:finder"], - ["xpath=//textarea-component/div/label/span[2]/info-icon/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "e6766f94-b19f-4b1d-8c54-595e91174501", - "comment": "", - "command": "mouseDownAt", - "target": "css=fieldset.col.col-lg-6", - "targets": [ - ["css=fieldset.col.col-lg-6", "css"], - ["css=.col-lg-6:nth-child(1)", "css:finder"], - ["xpath=//fieldset-object/div/div/fieldset", "xpath:position"] - ], - "value": "439,386" - }, { - "id": "2272b65a-91c1-422a-aee8-940de2da5270", - "comment": "", - "command": "mouseMoveAt", - "target": "css=fieldset.col.col-lg-6", - "targets": [ - ["css=fieldset.col.col-lg-6", "css"], - ["css=.col-lg-6:nth-child(1)", "css:finder"], - ["xpath=//fieldset-object/div/div/fieldset", "xpath:position"] - ], - "value": "439,386" - }, { - "id": "37524c53-9956-4ab1-a848-d82f40359d70", - "comment": "", - "command": "mouseUpAt", - "target": "css=fieldset.col.col-lg-6", - "targets": [ - ["css=fieldset.col.col-lg-6", "css"], - ["css=.col-lg-6:nth-child(1)", "css:finder"], - ["xpath=//fieldset-object/div/div/fieldset", "xpath:position"] - ], - "value": "439,386" - }, { - "id": "d2020061-4771-4a21-b051-6ae021a15de7", - "comment": "", - "command": "click", - "target": "css=fieldset.col.col-lg-6", - "targets": [ - ["css=fieldset.col.col-lg-6", "css"], - ["css=.col-lg-6:nth-child(1)", "css:finder"], - ["xpath=//fieldset-object/div/div/fieldset", "xpath:position"] - ], - "value": "" - }, { - "id": "afb9a4bc-a889-4b79-bd84-e1c43df78c62", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "9b8dd0a5-2906-4b00-aa63-a2442806fedc", - "comment": "", - "command": "click", - "target": "css=.btn-success", - "targets": [ - ["css=.btn-success", "css:finder"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "4f203fc6-4647-4c23-b0f4-f420d0398216", - "comment": "", - "command": "mouseOver", - "target": "css=.btn-success", - "targets": [ - ["css=.btn-success", "css:finder"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "6aea2825-bffc-4999-9626-8f04617c04a7", - "comment": "", - "command": "mouseOut", - "target": "css=.btn-success", - "targets": [ - ["css=.btn-success", "css:finder"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "c4e5cedc-cd78-4f6f-b800-69df8a116182", - "comment": "", - "command": "click", - "target": "id=field45", - "targets": [ - ["id=field45", "id"], - ["name=field45", "name"], - ["css=#field45", "css"], - ["css=#field45", "css:finder"], - ["xpath=//input[@id='field45']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "7358018d-7b67-4e36-a9a6-8f6ba62222ec", - "comment": "", - "command": "type", - "target": "id=field45", - "targets": [ - ["id=field45", "id"], - ["name=field45", "name"], - ["css=#field45", "css"], - ["css=#field45", "css:finder"], - ["xpath=//input[@id='field45']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "63026f63-e74e-4993-89d9-29b91df663ae", - "comment": "", - "command": "click", - "target": "id=field46", - "targets": [ - ["id=field46", "id"], - ["name=field46", "name"], - ["css=#field46", "css"], - ["css=#field46", "css:finder"], - ["xpath=//select[@id='field46']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "9b32a550-7021-498e-b29b-e8dd8147bd64", - "comment": "", - "command": "select", - "target": "id=field46", - "targets": [], - "value": "label=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" - }, { - "id": "8fb44c4e-ac15-4267-89a9-07a04e5cf492", - "comment": "", - "command": "click", - "target": "css=custom-object > div > div.row", - "targets": [ - ["css=custom-object > div > div.row", "css"], - ["css=sf-form-element:nth-child(1) > .has-success > sf-widget-chooser > custom-object > div > .row", "css:finder"], - ["xpath=//custom-object/div/div", "xpath:position"] - ], - "value": "" - }, { - "id": "aa8cfe85-9fe4-4241-828d-de62ffebb610", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "694d5256-ca0c-4f37-86eb-a58c61040708", - "comment": "", - "command": "mouseOver", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "d3a143a9-f25c-4081-8546-a5d726ec139f", - "comment": "", - "command": "mouseOut", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "beeddf58-f7ed-436e-a32d-c94b4afc11a3", - "comment": "", - "command": "click", - "target": "id=field56", - "targets": [ - ["id=field56", "id"], - ["name=field56", "name"], - ["css=#field56", "css"], - ["css=#field56", "css:finder"], - ["xpath=//input[@id='field56']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "1c1f5f24-e7d9-4b95-8719-36189b5f3d6e", - "comment": "", - "command": "type", - "target": "id=field56", - "targets": [ - ["id=field56", "id"], - ["name=field56", "name"], - ["css=#field56", "css"], - ["css=#field56", "css:finder"], - ["xpath=//input[@id='field56']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }, { - "id": "ee13acb8-8d50-4a94-9088-ef94f3702e50", - "comment": "", - "command": "click", - "target": "css=div:nth-child(8) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "fec265d4-a90d-4c36-951e-1efd2e02fb8b", - "comment": "", - "command": "mouseOver", - "target": "css=div:nth-child(8) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "c707c255-2c4d-48e3-ab3c-0fddc6fc9716", - "comment": "", - "command": "mouseOut", - "target": "css=div:nth-child(8) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "f277297f-6056-4bb6-8e47-871057c6f9b1", - "comment": "", - "command": "mouseOver", - "target": "css=div:nth-child(8) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f0c75834-a325-49b6-b535-6f1f134f4fb8", - "comment": "", - "command": "mouseOut", - "target": "css=div:nth-child(8) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], - ["xpath=//div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "642900ab-5d78-4af1-8a09-50014ccdf024", - "comment": "", - "command": "click", - "target": "id=field56", - "targets": [ - ["id=field56", "id"], - ["name=field56", "name"], - ["css=#field56", "css"], - ["css=#field56", "css:finder"], - ["xpath=//input[@id='field56']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "3cbec17c-4f62-47bc-bcf7-8c66edadb816", - "comment": "", - "command": "click", - "target": "id=field56", - "targets": [ - ["id=field56", "id"], - ["name=field56", "name"], - ["css=#field56", "css"], - ["css=#field56", "css:finder"], - ["xpath=//input[@id='field56']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "8666d533-d099-459e-9cfa-364c24913e28", - "comment": "", - "command": "doubleClick", - "target": "id=field56", - "targets": [ - ["id=field56", "id"], - ["name=field56", "name"], - ["css=#field56", "css"], - ["css=#field56", "css:finder"], - ["xpath=//input[@id='field56']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "c23f6ddb-1a76-49cd-b3f7-703b7b861e74", - "comment": "", - "command": "click", - "target": "css=i.fa.fa-caret-down", - "targets": [ - ["css=i.fa.fa-caret-down", "css"], - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field60-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "cf8a49ca-831a-47b6-af63-923f1aebad94", - "comment": "", - "command": "click", - "target": "id=field60__option--0", - "targets": [ - ["id=field60__option--0", "id"], - ["css=#field60__option--0", "css"], - ["css=#field60__option--0", "css:finder"], - ["xpath=//li[@id='field60__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='field60__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"] - ], - "value": "" - }, { - "id": "8840891f-e0e1-4b4b-902d-40d6dde44247", - "comment": "", - "command": "click", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "98c034c3-5e9a-4b01-b69c-6517b9dee413", - "comment": "", - "command": "mouseOver", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f9f8ca9c-d905-4d0a-a99f-260682c8b433", - "comment": "", - "command": "mouseOut", - "target": "css=div:nth-child(9) .d-flex > .btn", - "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] - ], - "value": "" - }, { - "id": "66ec659a-feb3-4fb8-ac5f-76d3f0147914", - "comment": "", - "command": "mouseOver", - "target": "css=div:nth-child(9) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(9) .btn > translate-i18n", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "29139d97-9469-4843-b445-844b19fbfc57", - "comment": "", - "command": "mouseOut", - "target": "css=div:nth-child(9) .btn > translate-i18n", - "targets": [ - ["css=div:nth-child(9) .btn > translate-i18n", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "36369619-50a1-4809-a159-62ee493d4751", - "comment": "", - "command": "click", - "target": "css=#field61-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", - "targets": [ - ["css=#field61-container > div.input-group > div.input-group-append > button.btn.btn-outline-secondary > i.fa.fa-caret-down", "css"], - ["css=#field61-container .fa", "css:finder"], - ["xpath=//div[@id='field61-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "589022b1-eb57-4f6c-bdde-7c891ec6c764", - "comment": "", - "command": "click", - "target": "id=field61__option--1", - "targets": [ - ["id=field61__option--1", "id"], - ["css=#field61__option--1", "css"], - ["css=#field61__option--1", "css:finder"], - ["xpath=//li[@id='field61__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field61__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "10a77526-9b6f-4745-beef-5a1afd295da4", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "179a7f48-3581-49f0-aa0c-c2ccb4d7cf47", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=tr:nth-child(1) .custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "1b2f2aee-93d1-40c9-8427-814197535fdd", - "comment": "", - "command": "click", - "target": "css=span.label.pull-left", - "targets": [ - ["css=span.label.pull-left", "css"], - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "fe9a08b0-b5b8-4160-aab8-78fb07c916ea", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "e8ad713e-e089-4afe-9dd1-f108991763c7", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "fe38eb42-458e-48c2-8de7-dc27835188f7", - "comment": "", - "command": "click", - "target": "css=small.d-block", - "targets": [ - ["css=small.d-block", "css"], - ["css=.d-block", "css:finder"], - ["xpath=//small", "xpath:position"] - ], - "value": "" - }, { - "id": "97ed715c-ad35-4757-ace8-f7eb6942b6af", - "comment": "", - "command": "click", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "930367f7-083e-4c98-bd2b-99d26e8c3b5f", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.col-9 > div:nth-child(2)", "css:finder"], - ["xpath=//div/div/div/div/div[2]", "xpath:position"] - ], - "value": "Metadata Source Happy Path" - }] - }], - "suites": [{ - "id": "68463b12-6739-4224-895c-8108557af99e", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["daacdb81-2f14-49f3-8d15-da5f5d52586c"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/ModifyFilterOrder.side b/backend/src/integration/resources/ModifyFilterOrder.side deleted file mode 100644 index fe210243c..000000000 --- a/backend/src/integration/resources/ModifyFilterOrder.side +++ /dev/null @@ -1,752 +0,0 @@ -{ - "id": "a302bf75-606b-4a91-90c3-7dfae2b01607", - "version": "2.0", - "name": "ShibUI", - "url": "http://localhost:10101", - "tests": [{ - "id": "20555719-09cf-4606-9e2d-055fd6612094", - "name": "Filter Order", - "commands": [{ - "id": "fa91c3c0-7f5b-4c62-a269-30bfaf47032e", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "b0701297-a626-43c3-99b3-5139384a8c19", - "comment": "", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "31e95b44-37ab-471b-af42-e217b9e148f2", - "comment": "", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "49713072-473e-4a97-b004-5a0bdada2867", - "comment": "", - "command": "sendKeys", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "${KEY_ENTER}" - }, { - "id": "0c15bd31-cc54-4431-bbe5-dbbc7bdf760c", - "comment": "", - "command": "click", - "target": "id=addNewDropdown", - "targets": [ - ["id=addNewDropdown", "id"], - ["css=#addNewDropdown", "css:finder"], - ["xpath=//button[@id='addNewDropdown']", "xpath:attributes"], - ["xpath=//div[@id='navbar']/ul/li/button", "xpath:idRelative"], - ["xpath=//li/button", "xpath:position"], - ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "0a58f0b4-fead-491f-b27e-ac27c1db8841", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Metadata Provider')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "307af5d3-5b6c-4ab0-924c-37ab2d9d81c6", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "9f5a40d2-52a2-4956-834d-e2f0a9723506", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "193e72cf-48a8-4a54-9102-def2bddfffaf", - "comment": "", - "command": "click", - "target": "css=option:nth-child(2)", - "targets": [ - ["css=option:nth-child(2)", "css:finder"], - ["xpath=//option[@value='1: FileBackedHttpMetadataResolver']", "xpath:attributes"], - ["xpath=//select[@id='field2']/option[2]", "xpath:idRelative"], - ["xpath=//option[2]", "xpath:position"], - ["xpath=//option[contains(.,'FileBackedHttpMetadataProvider')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "5e8a8dca-2a65-436b-b487-9971204ca96e", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "80ad763d-d2fd-4569-bc79-ed73ff0b9054", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "FBHMP" - }, { - "id": "f1a0baef-0250-4a03-9703-017fe7326bd8", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[2]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "da0b08e2-d5a1-4a41-8417-02f9c8376c83", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "014f0593-c19a-44df-86ae-25741255d201", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "FBHMP" - }, { - "id": "c7fe4823-18bf-4775-99de-68b4c75a656c", - "comment": "", - "command": "click", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "2d478d07-3e7b-4cd4-bbe2-20b37559d1f3", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "09b4715c-13db-43ce-a358-5812e589e71c", - "comment": "", - "command": "click", - "target": "id=field6-1", - "targets": [ - ["id=field6-1", "id"], - ["css=#field6-1", "css:finder"], - ["xpath=//input[@id='field6-1']", "xpath:attributes"], - ["xpath=//div[2]/label/input", "xpath:position"] - ], - "value": "" - }, { - "id": "436e5eda-f4a3-4757-8cbb-ad5fbd9b4c87", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "321650ac-b730-4718-85bc-0a9190484418", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "%{idp.home}/foo" - }, { - "id": "f50cc46d-1b53-43ab-b538-1e17c14ad7b4", - "comment": "", - "command": "click", - "target": "css=.btn-outline-secondary", - "targets": [ - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field8-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "da09d033-c708-441b-adc6-44c5394b2f4e", - "comment": "", - "command": "click", - "target": "id=field8__option--1", - "targets": [ - ["id=field8__option--1", "id"], - ["css=#field8__option--1", "css:finder"], - ["xpath=//li[@id='field8__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field8__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], - ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "d7f7b876-4395-4634-8dd6-b0c89d79a136", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "da944045-5eb1-4034-9d6e-27349ab38fd3", - "comment": "", - "command": "click", - "target": "css=.section-body > .container-fluid", - "targets": [ - ["css=.section-body > .container-fluid", "css:finder"], - ["xpath=//div[2]/div", "xpath:position"] - ], - "value": "" - }, { - "id": "a16306ab-d4f0-4d88-a006-3ab0afe4c0d7", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "9caa1b01-6689-49d4-ae14-73455666bad0", - "comment": "", - "command": "click", - "target": "css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", - "targets": [ - ["css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", "css:finder"], - ["xpath=//div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Require Signed Root')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "414336d2-29a0-4931-9920-eafc9829f019", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "add38561-0696-4090-a56b-02f3a8b8f548", - "comment": "", - "command": "click", - "target": "css=.custom-control-label", - "targets": [ - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"], - ["xpath=//label[contains(.,'Enable Metadata Provider?')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "70266886-05ec-40bc-86f6-92c72102d08d", - "comment": "", - "command": "click", - "target": "css=.save", - "targets": [ - ["css=.save", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "65bf9359-d502-4ec9-986b-7fcaf815c433", - "comment": "", - "command": "click", - "target": "css=.btn-primary", - "targets": [ - ["css=.btn-primary", "css:finder"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'  Manage Filters')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "2636c27c-5630-405b-9757-999063ff791f", - "comment": "", - "command": "click", - "target": "css=.btn-success", - "targets": [ - ["linkText=Add Filter", "linkText"], - ["css=.btn-success", "css:finder"], - ["xpath=//a[contains(@href, '/metadata/provider/c94d1a42-915e-4bf7-bee3-d2f9df71910e/filter/new')]", "xpath:href"], - ["xpath=//div[2]/a", "xpath:position"], - ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "f4177bd2-eba7-4c7f-b6cd-cb4c2e660ff0", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [], - "value": "label=EntityAttributes" - }, { - "id": "e60499b9-5587-45f0-8133-a6e67db3f849", - "comment": "", - "command": "click", - "target": "css=option:nth-child(2)", - "targets": [ - ["css=option:nth-child(2)", "css:finder"], - ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], - ["xpath=//option[2]", "xpath:position"], - ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "424ba908-5448-4c11-a668-bffac719ee3c", - "comment": "", - "command": "click", - "target": "id=field32", - "targets": [ - ["id=field32", "id"], - ["name=field32", "name"], - ["css=#field32", "css:finder"], - ["xpath=//input[@id='field32']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "28af38e8-4be4-4c9c-b6d2-d73e24b8ceff", - "comment": "", - "command": "type", - "target": "id=field32", - "targets": [ - ["id=field32", "id"], - ["name=field32", "name"], - ["css=#field32", "css:finder"], - ["xpath=//input[@id='field32']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Filter 1" - }, { - "id": "fc295711-9193-4a3c-a8b8-a7f79b23547d", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "1f17d43e-105a-4c63-8303-c5ec007d7e1f", - "comment": "", - "command": "type", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "ec155a3d-6ff2-45be-87ac-a037fe6be665", - "comment": "", - "command": "click", - "target": "css=.btn-success:nth-child(1)", - "targets": [ - ["css=.btn-success:nth-child(1)", "css:finder"], - ["xpath=//div[2]/button", "xpath:position"], - ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "3e5453f3-a20f-4403-b2b0-3a38ecc86b50", - "comment": "", - "command": "click", - "target": "css=.btn-primary", - "targets": [ - ["css=.btn-primary", "css:finder"], - ["xpath=//button[@type='submit']", "xpath:attributes"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "b2d73ca9-ea51-4b7a-bd0a-85efe121cadc", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.td-lg:nth-child(3)", - "targets": [ - ["css=.td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'Filter 1')]", "xpath:innerText"] - ], - "value": "3000" - }, { - "id": "7621eb3c-a2e3-4b6e-b3fc-a9cd5595b4da", - "comment": "", - "command": "click", - "target": "css=.btn-success", - "targets": [ - ["linkText=Add Filter", "linkText"], - ["css=.btn-success", "css:finder"], - ["xpath=//a[contains(@href, '/metadata/provider/9c96121f-6de1-4f10-b0b6-ea52c450d25d/filter/new')]", "xpath:href"], - ["xpath=//div[2]/a", "xpath:position"], - ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "085ff5d0-c252-4564-b895-69825c4846cf", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [], - "value": "label=EntityAttributes" - }, { - "id": "e695d40a-c2d5-4634-a04d-e4c08e500345", - "comment": "", - "command": "click", - "target": "css=option:nth-child(2)", - "targets": [ - ["css=option:nth-child(2)", "css:finder"], - ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], - ["xpath=//option[2]", "xpath:position"], - ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "76a35911-c32f-4e4a-9131-9ba10f0ac543", - "comment": "", - "command": "click", - "target": "id=field51", - "targets": [ - ["id=field51", "id"], - ["name=field51", "name"], - ["css=#field51", "css:finder"], - ["xpath=//input[@id='field51']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "482920a6-0182-4e1c-9239-42bf76597887", - "comment": "", - "command": "type", - "target": "id=field51", - "targets": [ - ["id=field51", "id"], - ["name=field51", "name"], - ["css=#field51", "css:finder"], - ["xpath=//input[@id='field51']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Filter 2" - }, { - "id": "c37717ff-ed1f-4909-854f-6dfea3dfb6ef", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ec5e13ef-174b-4ecd-9768-0c1b3da5e411", - "comment": "", - "command": "type", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "91f13763-009f-44c4-ac52-4a038905c013", - "comment": "", - "command": "click", - "target": "css=.btn-success:nth-child(1)", - "targets": [ - ["css=.btn-success:nth-child(1)", "css:finder"], - ["xpath=//div[2]/button", "xpath:position"], - ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "e5ca7908-1fae-4d04-a184-3984b8ad8c89", - "comment": "", - "command": "click", - "target": "css=.btn-primary", - "targets": [ - ["css=.btn-primary", "css:finder"], - ["xpath=//button[@type='submit']", "xpath:attributes"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "be0515a6-749d-4b1e-943d-301fe881a7aa", - "comment": "", - "command": "waitForElementPresent", - "target": "css=tr:nth-child(2) > .td-lg:nth-child(3)", - "targets": [ - ["css=tr:nth-child(2) > .td-lg:nth-child(3)", "css:finder"], - ["xpath=//tr[2]/td[3]", "xpath:position"], - ["xpath=//td[contains(.,'Filter 2')]", "xpath:innerText"] - ], - "value": "3000" - }, { - "id": "7aa96f66-86da-4a54-a222-bd3a3fd28a67", - "comment": "", - "command": "click", - "target": "css=.btn-success", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div[2]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Add Filter')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "5b0f693a-3f9b-4903-8fbd-62970d845be3", - "comment": "", - "command": "select", - "target": "name=type", - "targets": [], - "value": "label=EntityAttributes" - }, { - "id": "040c1a7b-9bd6-42c3-a2b9-2b550e62f25e", - "comment": "", - "command": "click", - "target": "css=option:nth-child(2)", - "targets": [ - ["css=option:nth-child(2)", "css:finder"], - ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], - ["xpath=//option[2]", "xpath:position"], - ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "c51f2f62-d13a-46f8-97bf-656940116d1f", - "comment": "", - "command": "click", - "target": "id=field70", - "targets": [ - ["id=field70", "id"], - ["name=field70", "name"], - ["css=#field70", "css:finder"], - ["xpath=//input[@id='field70']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "b458dcd0-54d9-4fe3-8887-250715cc1381", - "comment": "", - "command": "type", - "target": "id=field70", - "targets": [ - ["id=field70", "id"], - ["name=field70", "name"], - ["css=#field70", "css:finder"], - ["xpath=//input[@id='field70']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "Filter 3" - }, { - "id": "3ca69886-a1f6-41af-bf3e-d3d17e305850", - "comment": "", - "command": "click", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "5e9a96b4-d6da-4055-a739-d4ca6e4bfd16", - "comment": "", - "command": "type", - "target": "id=targetInput", - "targets": [ - ["id=targetInput", "id"], - ["css=#targetInput", "css:finder"], - ["xpath=//input[@id='targetInput']", "xpath:attributes"], - ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "https://idp.unicon.net/idp/shibboleth" - }, { - "id": "c73a6a3f-5f97-4c0f-9c72-40ccda5e06a8", - "comment": "", - "command": "click", - "target": "css=.btn-success:nth-child(1)", - "targets": [ - ["css=.btn-success:nth-child(1)", "css:finder"], - ["xpath=//div[2]/button", "xpath:position"], - ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "bd3d7733-0d0a-4d6c-8e6a-34f7fc53599f", - "comment": "", - "command": "click", - "target": "css=.btn-primary", - "targets": [ - ["css=.btn-primary", "css:finder"], - ["xpath=//button[@type='submit']", "xpath:attributes"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "ada60944-aeed-40e1-b89e-f9a318efb338", - "comment": "", - "command": "waitForElementPresent", - "target": "css=tr:nth-child(3) > .td-lg:nth-child(3)", - "targets": [], - "value": "3000" - }, { - "id": "85946455-9105-4f2d-a46b-7e3115921b1d", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(3) > .td-sm:nth-child(1) > button.btn:nth-child(1)", - "targets": [ - ["css=tr:nth-child(3) > .td-sm:nth-child(1) > .btn:nth-child(1)", "css:finder"], - ["xpath=//tr[3]/td/button", "xpath:position"] - ], - "value": "" - }, { - "id": "1e4a00eb-bd15-4388-baa8-2f75af3036d7", - "comment": "", - "command": "pause", - "target": "3000", - "targets": [], - "value": "3000" - }, { - "id": "289bef0b-1994-45d3-9181-e23129dfcd47", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(2) > .td-sm:nth-child(1) > button.btn:nth-child(1)", - "targets": [ - ["css=tr:nth-child(2) > .td-sm:nth-child(1) > .btn:nth-child(1)", "css:finder"], - ["xpath=//tr[2]/td/button", "xpath:position"] - ], - "value": "" - }, { - "id": "481f0ccd-b9a8-4c5f-9c0d-f5ab0f4abd10", - "comment": "", - "command": "pause", - "target": "3000", - "targets": [], - "value": "3000" - }, { - "id": "3e1cee0d-f573-4879-9f11-ba0de1a7fe66", - "comment": "", - "command": "assertText", - "target": "css=tr:nth-child(1) > .td-lg:nth-child(3)", - "targets": [ - ["css=tr:nth-child(1) > .td-lg:nth-child(3)", "css:finder"], - ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'Filter 1')]", "xpath:innerText"] - ], - "value": "Filter 3" - }] - }], - "suites": [{ - "id": "5a970a4f-ed27-49c6-9bd2-1155faebe1a9", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["20555719-09cf-4606-9e2d-055fd6612094"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1031_AdminLogin.side b/backend/src/integration/resources/SHIBUI-1031_AdminLogin.side deleted file mode 100644 index 6d6ce66c1..000000000 --- a/backend/src/integration/resources/SHIBUI-1031_AdminLogin.side +++ /dev/null @@ -1,355 +0,0 @@ -{ - "id": "6653e19b-f0fa-4ad4-87ac-16d71bb6e7f0", - "version": "2.0", - "name": "Admin Login", - "url": "http://localhost:10101", - "tests": [{ - "id": "81a4cee1-5eb2-424d-bce0-48ff68f40f9b", - "name": "Admin Login", - "commands": [{ - "id": "e9d3ff8f-91c3-4257-ba3f-32486b915635", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "66de25cf-18cb-4ea4-8008-847001eda1e2", - "comment": "Use Administrator Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "403895d9-204e-4f15-b9e7-476799c96675", - "comment": "Use Administrator Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "b87ee258-968f-46cf-946b-0073e1e94fa8", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "1b22c386-98df-45bd-a08c-d721ac355ded", - "comment": "", - "command": "click", - "target": "css=.nav-link > translate-i18n:nth-child(1)", - "targets": [ - ["css=.nav-link > translate-i18n:nth-child(1)", "css:finder"], - ["xpath=//li[4]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Action Required')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "4020f0f4-b790-47d4-9b0d-1b3eb3dfc558", - "comment": "", - "command": "click", - "target": "css=.nav-item:nth-child(3) > .nav-link", - "targets": [ - ["linkText=Admin", "linkText"], - ["css=.nav-item:nth-child(3) > .nav-link", "css:finder"], - ["xpath=//a[contains(text(),'Admin')]", "xpath:link"], - ["xpath=//a[contains(@href, '/dashboard/admin/management')]", "xpath:href"], - ["xpath=//dashboard-page/div/ul/li[3]/a", "xpath:position"], - ["xpath=//a[contains(.,'Admin')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "0ec6189e-2d7c-4fe4-aba9-523b18ba1e32", - "comment": "", - "command": "select", - "target": "css=tr:nth-child(3) .form-control", - "targets": [ - ["css=tr:nth-child(3) .form-control", "css:finder"], - ["xpath=//tr[3]/td[3]/select", "xpath:position"] - ], - "value": "label=ROLE_USER" - }, { - "id": "9a81800e-3957-4c9d-a45e-ae4b325878f0", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(3) .fa", - "targets": [ - ["css=tr:nth-child(3) .fa", "css:finder"], - ["xpath=//tr[3]/td[4]/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "a294f0d1-1258-4bda-b5d4-e3058005f2db", - "comment": "", - "command": "click", - "target": "css=.btn-danger", - "targets": [ - ["css=.btn-danger", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'Delete')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "f51d306a-dd36-4bbb-bbe2-879365a39552", - "comment": "", - "command": "click", - "target": "css=.nav-link > translate-i18n:nth-child(1)", - "targets": [ - ["css=.nav-link > translate-i18n:nth-child(1)", "css:finder"], - ["xpath=//li[4]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Action Required')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "fee73468-5163-48b6-95f9-171f47448d6b", - "comment": "", - "command": "assertText", - "target": "css=.text-center", - "targets": [ - ["css=.text-center", "css:finder"], - ["xpath=//p", "xpath:position"], - ["xpath=//p[contains(.,'There are no new user requests at this time.')]", "xpath:innerText"] - ], - "value": "There are no new user requests at this time." - }, { - "id": "113938c7-c365-4edc-8f79-68d97deb9148", - "comment": "", - "command": "click", - "target": "css=.nav-item:nth-child(3) > .nav-link", - "targets": [ - ["linkText=Admin", "linkText"], - ["css=.nav-item:nth-child(3) > .nav-link", "css:finder"], - ["xpath=//a[contains(text(),'Admin')]", "xpath:link"], - ["xpath=//a[contains(@href, '/dashboard/admin/management')]", "xpath:href"], - ["xpath=//dashboard-page/div/ul/li[3]/a", "xpath:position"], - ["xpath=//a[contains(.,'Admin')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "25389c11-fded-46c0-9c29-b0cc5bd21fdf", - "comment": "", - "command": "click", - "target": "css=tr:nth-child(2) .fa", - "targets": [ - ["css=tr:nth-child(2) .fa", "css:finder"], - ["xpath=//td[4]/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "5b5b550a-a28b-4048-8488-8e2598e3c929", - "comment": "", - "command": "click", - "target": "css=.btn-danger", - "targets": [ - ["css=.btn-danger", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'Delete')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "e5299276-d01e-4caf-8249-2c0699b2092c", - "comment": "", - "command": "click", - "target": "css=.fa-trash", - "targets": [ - ["css=.fa-trash", "css:finder"], - ["xpath=//td[4]/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "91ae1a7c-b785-4b76-926b-52b524cccb73", - "comment": "", - "command": "click", - "target": "css=.btn-danger", - "targets": [ - ["css=.btn-danger", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[3]/button", "xpath:position"], - ["xpath=//button[contains(.,'Delete')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "e7c704ed-2dcf-4768-9357-89e27a364a2f", - "comment": "", - "command": "click", - "target": "css=li:nth-child(3) > .nav-link > translate-i18n", - "targets": [ - ["css=li:nth-child(3) > .nav-link > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li[3]/a/translate-i18n", "xpath:idRelative"], - ["xpath=//li[3]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Logout')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "77a69514-3350-4304-99a9-7a1bf5a4c481", - "comment": "", - "command": "click", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "5ea9fe02-0b45-4cd9-a046-4e2b57d5ca6d", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "user" - }, { - "id": "e971c9e3-1ae0-4646-b6a3-a7052132ed08", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "userpass" - }, { - "id": "793f5f29-4057-483c-b95c-c938832af57f", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "17c1cec0-c7f2-40d1-bb37-a038506bb230", - "comment": "Use None Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "none" - }, { - "id": "ea9d200a-048b-4bac-9fd1-af4cf8d2d886", - "comment": "Use None Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "nonepass" - }, { - "id": "95329bae-3a7a-4d77-af80-2115a2dc584f", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "4442e5ab-5e8b-4571-92ff-adfef2a9aaa5", - "comment": "Use Admin Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "46ead687-de88-4ee6-8e15-025adc911470", - "comment": "Use Admin Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "001a7c20-2211-4682-82e5-552a4de70cbb", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "6e1eb3bc-7780-4fb7-bcd6-a9ab297359c6", - "comment": "", - "command": "click", - "target": "css=.nav-link > translate-i18n:nth-child(1)", - "targets": [ - ["css=.nav-link > translate-i18n:nth-child(1)", "css:finder"], - ["xpath=//li[4]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Action Required')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "4024075a-c1b5-4c05-a494-2197366b0672", - "comment": "", - "command": "assertText", - "target": "css=.text-center", - "targets": [ - ["css=.text-center", "css:finder"], - ["xpath=//p", "xpath:position"], - ["xpath=//p[contains(.,'There are no new user requests at this time.')]", "xpath:innerText"] - ], - "value": "There are no new user requests at this time." - }] - }], - "suites": [{ - "id": "91a2972f-f7cd-4a9b-9db2-28141211be12", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["81a4cee1-5eb2-424d-bce0-48ff68f40f9b"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1058_DelegatedAdmin_SubmitSource.side b/backend/src/integration/resources/SHIBUI-1058_DelegatedAdmin_SubmitSource.side deleted file mode 100644 index 0880d4c01..000000000 --- a/backend/src/integration/resources/SHIBUI-1058_DelegatedAdmin_SubmitSource.side +++ /dev/null @@ -1,1262 +0,0 @@ -{ - "id": "bc0c938d-13d1-42db-a237-f3a78123a102", - "version": "2.0", - "name": "Delegated Admin", - "url": "http://localhost:10101", - "tests": [{ - "id": "82f72571-0fae-43c3-870f-dacab39c2c40", - "name": "DelegatedAdmin - SubmitSourceWithError", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "user" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "userpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "e754435f-914f-4785-a326-b0d08b099d42", - "comment": "", - "command": "click", - "target": "css=#addNewDropdown > translate-i18n", - "targets": [ - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "d73d494e-cf05-4322-9d6e-40c417c00a4c", - "comment": "", - "command": "click", - "target": "css=.dropdown-menu translate-i18n", - "targets": [ - ["css=.dropdown-menu translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a/translate-i18n", "xpath:idRelative"], - ["xpath=//a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Metadata Source')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "cfecda46-37bf-4033-8601-44bd34b5e78d", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "bc34acf9-9035-40d0-a5af-bf1853507919", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "b10f4831-5c89-4f29-9ff1-388eab7376fe", - "comment": "", - "command": "type", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css:finder"], - ["xpath=//input[@id='field2']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "188b58b3-7be6-4ab3-87b8-7c3ba83839eb", - "comment": "", - "command": "click", - "target": "css=.col-xl-6", - "targets": [ - ["css=.col-xl-6", "css:finder"], - ["xpath=//div[2]/div/div", "xpath:position"] - ], - "value": "" - }, { - "id": "bd3b7ae2-dfe8-449d-b997-776478ed50ca", - "comment": "", - "command": "click", - "target": "css=.label", - "targets": [ - ["css=.label", "css:finder"], - ["xpath=//li[2]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "8d487876-0418-424d-aee6-3a6a00580a34", - "comment": "", - "command": "mouseOver", - "target": "css=.label:nth-child(1)", - "targets": [ - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "b618b64a-a1d5-4f92-afcd-0b883417c606", - "comment": "", - "command": "mouseOut", - "target": "css=.label:nth-child(1)", - "targets": [ - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "751c3d64-cc58-4c71-bc1d-9b5183084cc0", - "comment": "", - "command": "click", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "2e856060-3bf1-431f-ba9d-09fdfff2fe43", - "comment": "", - "command": "type", - "target": "id=field5", - "targets": [ - ["id=field5", "id"], - ["name=field5", "name"], - ["css=#field5", "css:finder"], - ["xpath=//input[@id='field5']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "67fd9235-2f60-49c6-91ee-e3b201ab8313", - "comment": "", - "command": "click", - "target": "id=field6", - "targets": [ - ["id=field6", "id"], - ["name=field6", "name"], - ["css=#field6", "css:finder"], - ["xpath=//input[@id='field6']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "0531d694-a62d-4e0c-a4d3-58acfe3823eb", - "comment": "", - "command": "type", - "target": "id=field6", - "targets": [ - ["id=field6", "id"], - ["name=field6", "name"], - ["css=#field6", "css:finder"], - ["xpath=//input[@id='field6']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "c1bbbf8f-683f-4df7-81fd-58b5fafcc01e", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "769395e4-5931-4574-8790-dff675e13b4b", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "501b3372-6343-4f38-bd5b-26e34d77f1a7", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "74a9e89a-b560-4148-9188-1beb62d7c790", - "comment": "", - "command": "mouseOver", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "447e568c-4de6-4680-8d0e-16646a8af85a", - "comment": "", - "command": "mouseOut", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "d70af1f4-f896-44ae-87e9-924657e6f96e", - "comment": "", - "command": "click", - "target": "id=field10", - "targets": [ - ["id=field10", "id"], - ["name=field10", "name"], - ["css=#field10", "css:finder"], - ["xpath=//input[@id='field10']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "d25fcb11-533c-4f8b-b57a-743ca64d3b91", - "comment": "", - "command": "type", - "target": "id=field10", - "targets": [ - ["id=field10", "id"], - ["name=field10", "name"], - ["css=#field10", "css:finder"], - ["xpath=//input[@id='field10']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "67dfcad1-f12a-4e95-a8e6-0686d9584125", - "comment": "", - "command": "click", - "target": "id=field11", - "targets": [ - ["id=field11", "id"], - ["name=field11", "name"], - ["css=#field11", "css:finder"], - ["xpath=//select[@id='field11']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "0acc380c-24c9-4af8-bc2a-1c260bebd00a", - "comment": "", - "command": "select", - "target": "id=field11", - "targets": [], - "value": "label=Administrative" - }, { - "id": "68a74215-9bcb-46fd-8d4f-415894485429", - "comment": "", - "command": "click", - "target": "id=field12", - "targets": [ - ["id=field12", "id"], - ["name=field12", "name"], - ["css=#field12", "css:finder"], - ["xpath=//input[@id='field12']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "f660a99c-a9e0-4063-b1a7-659763358d85", - "comment": "", - "command": "type", - "target": "id=field12", - "targets": [ - ["id=field12", "id"], - ["name=field12", "name"], - ["css=#field12", "css:finder"], - ["xpath=//input[@id='field12']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "DelegatedAdmin@g.com" - }, { - "id": "b8ac73cc-6756-4e14-a8fd-545aa716f84b", - "comment": "", - "command": "click", - "target": "css=.label:nth-child(1)", - "targets": [ - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "80ab15a4-e1b4-4b86-ba78-e9e205214840", - "comment": "", - "command": "click", - "target": "id=field15", - "targets": [ - ["id=field15", "id"], - ["name=field15", "name"], - ["css=#field15", "css:finder"], - ["xpath=//input[@id='field15']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "17db2593-e257-4308-927c-fad5a32e6d8b", - "comment": "", - "command": "type", - "target": "id=field15", - "targets": [ - ["id=field15", "id"], - ["name=field15", "name"], - ["css=#field15", "css:finder"], - ["xpath=//input[@id='field15']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "372858f0-47ea-4a76-aba7-75a9db09dd12", - "comment": "", - "command": "click", - "target": "id=field16", - "targets": [ - ["id=field16", "id"], - ["name=field16", "name"], - ["css=#field16", "css:finder"], - ["xpath=//input[@id='field16']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "5fcf6bb5-3c2d-44be-89b5-d05937e74ae7", - "comment": "", - "command": "type", - "target": "id=field16", - "targets": [ - ["id=field16", "id"], - ["name=field16", "name"], - ["css=#field16", "css:finder"], - ["xpath=//input[@id='field16']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "8f1dd2b8-d8a8-44a0-a82f-e97145a76049", - "comment": "", - "command": "click", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=.textarea-widget", "css:finder"], - ["xpath=//textarea[@name='field17']", "xpath:attributes"], - ["xpath=//textarea", "xpath:position"] - ], - "value": "" - }, { - "id": "4131e777-4ef6-47d8-8b58-03a8c8ecebbf", - "comment": "", - "command": "type", - "target": "name=field17", - "targets": [ - ["name=field17", "name"], - ["css=.textarea-widget", "css:finder"], - ["xpath=//textarea[@name='field17']", "xpath:attributes"], - ["xpath=//textarea", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "03c5281a-7d3b-45ca-b922-52b714308741", - "comment": "", - "command": "click", - "target": "id=field18", - "targets": [ - ["id=field18", "id"], - ["name=field18", "name"], - ["css=#field18", "css:finder"], - ["xpath=//input[@id='field18']", "xpath:attributes"], - ["xpath=//fieldset[2]/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "680f9705-eb73-4265-a0ec-71faf0e47a37", - "comment": "", - "command": "type", - "target": "id=field18", - "targets": [ - ["id=field18", "id"], - ["name=field18", "name"], - ["css=#field18", "css:finder"], - ["xpath=//input[@id='field18']", "xpath:attributes"], - ["xpath=//fieldset[2]/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "f13abee5-2cf7-4286-8722-39dc002118ec", - "comment": "", - "command": "click", - "target": "id=field19", - "targets": [ - ["id=field19", "id"], - ["name=field19", "name"], - ["css=#field19", "css:finder"], - ["xpath=//input[@id='field19']", "xpath:attributes"], - ["xpath=//fieldset[2]/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "a06a57ea-22e6-4370-bfe0-85cf0fb2dcfc", - "comment": "", - "command": "type", - "target": "id=field19", - "targets": [ - ["id=field19", "id"], - ["name=field19", "name"], - ["css=#field19", "css:finder"], - ["xpath=//input[@id='field19']", "xpath:attributes"], - ["xpath=//fieldset[2]/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "d542d27e-686c-43d4-bd8d-00b2b6d67078", - "comment": "", - "command": "click", - "target": "css=.label:nth-child(1)", - "targets": [ - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "df748cd9-9472-4cd9-a17a-043162ac1db9", - "comment": "", - "command": "click", - "target": "id=field24", - "targets": [ - ["id=field24", "id"], - ["name=field24", "name"], - ["css=#field24", "css:finder"], - ["xpath=//select[@id='field24']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "dd206e07-39aa-4b35-9b74-b13fe62fff00", - "comment": "", - "command": "select", - "target": "id=field24", - "targets": [], - "value": "label=SAML 1.1" - }, { - "id": "095c2e57-5930-4fa6-b360-78ace9a8f98c", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "10f62eb1-abf4-4c0c-b287-0f2fe06ed30c", - "comment": "", - "command": "mouseOver", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "f41d134d-3bbe-423e-bfce-cc576e8b445b", - "comment": "", - "command": "mouseOut", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "431021d8-5443-406b-9780-05ce856bd87c", - "comment": "", - "command": "click", - "target": "id=field26", - "targets": [ - ["id=field26", "id"], - ["css=#field26", "css:finder"], - ["xpath=//input[@id='field26']", "xpath:attributes"], - ["xpath=//div[@id='field26-container']/div/input", "xpath:idRelative"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "944576d7-149e-4bdc-b198-792d95c7bd26", - "comment": "", - "command": "type", - "target": "id=field26", - "targets": [ - ["id=field26", "id"], - ["css=#field26", "css:finder"], - ["xpath=//input[@id='field26']", "xpath:attributes"], - ["xpath=//div[@id='field26-container']/div/input", "xpath:idRelative"], - ["xpath=//input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "4e56e1aa-7bbc-440e-909d-ef4fa7ecc828", - "comment": "", - "command": "click", - "target": "css=.container-fluid > .row", - "targets": [ - ["css=.container-fluid > .row", "css:finder"], - ["xpath=//fieldset-object/div/div", "xpath:position"] - ], - "value": "" - }, { - "id": "868c972c-f225-4844-ab21-07a609d7a9fb", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "81fb2703-af5b-4f4c-a910-b36b329bf20e", - "comment": "", - "command": "click", - "target": "css=.fa-plus", - "targets": [ - ["css=.fa-plus", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] - ], - "value": "" - }, { - "id": "194e02db-b940-4830-bf8e-badad7bb3131", - "comment": "", - "command": "click", - "target": "id=field30", - "targets": [ - ["id=field30", "id"], - ["name=field30", "name"], - ["css=#field30", "css:finder"], - ["xpath=//input[@id='field30']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "44ec1a17-9d9c-479a-bc42-6f1398ceb566", - "comment": "", - "command": "type", - "target": "id=field30", - "targets": [ - ["id=field30", "id"], - ["name=field30", "name"], - ["css=#field30", "css:finder"], - ["xpath=//input[@id='field30']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "471b7011-f6b7-4db6-a000-ddd2925d77aa", - "comment": "", - "command": "click", - "target": "id=field31", - "targets": [ - ["id=field31", "id"], - ["name=field31", "name"], - ["css=#field31", "css:finder"], - ["xpath=//select[@id='field31']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "71935c5a-67da-45ed-9a8c-b38f45727838", - "comment": "", - "command": "select", - "target": "id=field31", - "targets": [], - "value": "label=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" - }, { - "id": "56666bf4-a355-4740-acc6-bc175afd4ef3", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "5e8e95da-96ff-4e5f-81d4-853b669c627d", - "comment": "", - "command": "mouseOver", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f3fd85f8-8e6a-43e2-82ba-ded8a705a9cd", - "comment": "", - "command": "mouseOut", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "162003d6-b14a-4ebe-b440-706476ebbfd8", - "comment": "", - "command": "click", - "target": "css=div:nth-child(1) > sf-form-element > .has-success .form-check:nth-child(3) translate-i18n", - "targets": [ - ["css=div:nth-child(1) > sf-form-element > .has-success .form-check:nth-child(3) translate-i18n", "css:finder"], - ["xpath=//label/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'True')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "780fc904-c5b7-4015-9aec-41a6a9017fcb", - "comment": "", - "command": "click", - "target": "css=div:nth-child(2) > sf-form-element .form-check:nth-child(3) translate-i18n", - "targets": [ - ["css=div:nth-child(2) > sf-form-element .form-check:nth-child(3) translate-i18n", "css:finder"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div/label/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "7c198b04-82cb-47a0-8347-2832a4eb2de1", - "comment": "", - "command": "click", - "target": "css=div:nth-child(3) > sf-form-element .form-check:nth-child(3) translate-i18n", - "targets": [ - ["css=div:nth-child(3) > sf-form-element .form-check:nth-child(3) translate-i18n", "css:finder"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div/label/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "0558cb93-ed4c-463a-aaf0-a94eb091512b", - "comment": "", - "command": "click", - "target": "id=field39", - "targets": [ - ["id=field39", "id"], - ["name=field39", "name"], - ["css=#field39", "css:finder"], - ["xpath=//input[@id='field39']", "xpath:attributes"], - ["xpath=//div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "2f724fe6-5e2d-41bc-9434-83ce187dbcd2", - "comment": "", - "command": "type", - "target": "id=field39", - "targets": [ - ["id=field39", "id"], - ["name=field39", "name"], - ["css=#field39", "css:finder"], - ["xpath=//input[@id='field39']", "xpath:attributes"], - ["xpath=//div/input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "c1720dd9-8a5c-4680-9d01-ed288886bd84", - "comment": "", - "command": "click", - "target": "name=field41", - "targets": [ - ["name=field41", "name"], - ["css=.text-widget", "css:finder"], - ["xpath=//textarea[@name='field41']", "xpath:attributes"], - ["xpath=//textarea", "xpath:position"] - ], - "value": "" - }, { - "id": "ae52f665-36c0-4876-85cc-673f6ed6678c", - "comment": "", - "command": "type", - "target": "name=field41", - "targets": [ - ["name=field41", "name"], - ["css=.text-widget", "css:finder"], - ["xpath=//textarea[@name='field41']", "xpath:attributes"], - ["xpath=//textarea", "xpath:position"] - ], - "value": "DelegatedAdmin DelegatedAdmin DelegatedAdmin DelegatedAdmin DelegatedAdmin DelegatedAdmin DelegatedAdmin DelegatedAdmin DelegatedAdmin" - }, { - "id": "d65a60d4-b606-4313-bde9-afe44995981c", - "comment": "", - "command": "click", - "target": "css=.label:nth-child(1)", - "targets": [ - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "0f76b5a8-6af0-422a-9ab5-f836572c3708", - "comment": "", - "command": "click", - "target": "css=.col", - "targets": [ - ["css=.col", "css:finder"], - ["xpath=//fieldset", "xpath:position"] - ], - "value": "" - }, { - "id": "005d35e5-e005-483f-95ab-3d33d2c49a7b", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "5a3c6bd2-a4a3-45e5-98db-38a81e61e8aa", - "comment": "", - "command": "mouseOver", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "a166de0f-4fc8-4224-b75a-36de2c71c45d", - "comment": "", - "command": "mouseOut", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "8192d181-5be9-464d-a882-7502b25f0858", - "comment": "", - "command": "click", - "target": "id=field45", - "targets": [ - ["id=field45", "id"], - ["name=field45", "name"], - ["css=#field45", "css:finder"], - ["xpath=//input[@id='field45']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "53782b90-fc44-4e7b-9a24-bce12ce1caa1", - "comment": "", - "command": "type", - "target": "id=field45", - "targets": [ - ["id=field45", "id"], - ["name=field45", "name"], - ["css=#field45", "css:finder"], - ["xpath=//input[@id='field45']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "5f7448b5-e033-4bfb-bb12-8b4f69e804cd", - "comment": "", - "command": "click", - "target": "id=field46", - "targets": [ - ["id=field46", "id"], - ["name=field46", "name"], - ["css=#field46", "css:finder"], - ["xpath=//select[@id='field46']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "c186b224-4164-404b-81ff-c70c7709b3ef", - "comment": "", - "command": "select", - "target": "id=field46", - "targets": [], - "value": "label=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" - }, { - "id": "61b09781-456e-4154-b6d0-55c752a4baaf", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "3f5c82ba-8e83-4425-ba80-46e24b442eb3", - "comment": "", - "command": "mouseOver", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "e9a3c720-a13b-41fe-b5d5-1fdf0fa064cc", - "comment": "", - "command": "mouseOut", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "c4f78a49-5b8a-4e76-bc67-42e90b8810f6", - "comment": "", - "command": "click", - "target": "id=field49", - "targets": [ - ["id=field49", "id"], - ["name=field49", "name"], - ["css=#field49", "css:finder"], - ["xpath=//input[@id='field49']", "xpath:attributes"], - ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ebebd692-7aea-4783-a9ba-5772684e876f", - "comment": "", - "command": "type", - "target": "id=field49", - "targets": [ - ["id=field49", "id"], - ["name=field49", "name"], - ["css=#field49", "css:finder"], - ["xpath=//input[@id='field49']", "xpath:attributes"], - ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "DelegatedAdminDelegatedAdmin" - }, { - "id": "e39b6388-5213-4db8-b536-bf34fa47aaaf", - "comment": "", - "command": "click", - "target": "id=field50", - "targets": [ - ["id=field50", "id"], - ["name=field50", "name"], - ["css=#field50", "css:finder"], - ["xpath=//select[@id='field50']", "xpath:attributes"], - ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[2]/sf-form-element/div/sf-widget-chooser/select-component/div/select", "xpath:position"] - ], - "value": "" - }, { - "id": "ccd7c1fe-8d1b-4f99-8a78-343c470aa924", - "comment": "", - "command": "select", - "target": "id=field50", - "targets": [], - "value": "label=urn:oasis:names:tc:SAML:1.0:profiles:browser-post" - }, { - "id": "41a178a4-b1aa-4afa-bd43-9976e76d525e", - "comment": "", - "command": "click", - "target": "css=.label:nth-child(1)", - "targets": [ - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], - "value": "" - }, { - "id": "a526ff82-7c37-4484-ba1c-5c9d78484acc", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "f1b12548-3f36-42ea-acdf-198e7bbf94fb", - "comment": "", - "command": "click", - "target": "css=.direction:nth-child(2)", - "targets": [ - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"], - ["xpath=//span[contains(.,'Next')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "961c7f2d-1263-42ab-a0f9-c1e550f463d4", - "comment": "", - "command": "click", - "target": "css=.label:nth-child(1)", - "targets": [ - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"], - ["xpath=//span[contains(.,'Save')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "97665960-5a38-4eed-8418-cc6c73ec2174", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.card-header", - "targets": [], - "value": "3000" - }, { - "id": "133bd8cc-5c3f-4105-af76-294f055b2e30", - "comment": "", - "command": "click", - "target": "css=.card-header", - "targets": [ - ["css=.card-header", "css:finder"], - ["xpath=//resolver-item/div/div", "xpath:position"] - ], - "value": "" - }, { - "id": "c4ae7489-c591-483d-ab7a-8829e6ebd036", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "DelegatedAdmin" - }, { - "id": "67d9770e-1f18-46c1-b492-6e8ef7cb45f8", - "comment": "", - "command": "assertText", - "target": "css=.col > span", - "targets": [ - ["css=.col > span", "css:finder"], - ["xpath=//div[4]/span", "xpath:position"], - ["xpath=//span[contains(.,'Disabled')]", "xpath:innerText"] - ], - "value": "Disabled" - }, { - "id": "bf8f56ff-b9c1-4c73-a41b-9edcf282d0be", - "comment": "", - "command": "click", - "target": "css=li:nth-child(3) > .nav-link", - "targets": [ - ["css=li:nth-child(3) > .nav-link > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li[3]/a/translate-i18n", "xpath:idRelative"], - ["xpath=//li[3]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Logout')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "a7de6603-7fd5-4af3-87fc-127f414e1a3c", - "comment": "", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "ace65781-9a01-4629-a62e-c646003204d9", - "comment": "", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "b27b3bc5-4a75-4079-bf27-84d074271d52", - "comment": "", - "command": "sendKeys", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "${KEY_ENTER}" - }, { - "id": "801c2367-e22b-46d6-aa21-c6ee1e268dce", - "comment": "", - "command": "click", - "target": "css=a[href$='/dashboard/admin/actions']", - "targets": [ - ["css=.nav-link > translate-i18n:nth-child(1)", "css:finder"], - ["xpath=//li[4]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Action Required')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "49cbb664-0971-4fcb-bfb8-2d97163bc2c2", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.nav-link > translate-i18n:nth-child(1)", - "targets": [ - ["css=.nav-link > translate-i18n:nth-child(1)", "css:finder"], - ["xpath=//li[4]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Action Required')]", "xpath:innerText"] - ], - "value": "3000" - }, { - "id": "a4d68e0d-29a0-4f47-9b3c-e90bb8bf0511", - "comment": "", - "command": "click", - "target": "css=.fa-edit", - "targets": [ - ["css=.fa-edit", "css:finder"], - ["xpath=//button[3]/i", "xpath:position"] - ], - "value": "" - }, { - "id": "523d43a5-97f5-4f3e-b389-24f100e863a1", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "bc01a778-eb05-4292-895f-46f2f49a3df7", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "DelegatedAdmin Edited" - }, { - "id": "79d16410-90d4-4592-9f6d-2f181e62fb30", - "comment": "", - "command": "click", - "target": "css=.btn-info", - "targets": [ - ["css=.btn-info", "css:finder"], - ["xpath=//div[2]/button", "xpath:position"], - ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "2a48d614-53d6-4633-b695-ab8be01bbd4d", - "comment": "", - "command": "click", - "target": "css=.nav-link > translate-i18n:nth-child(1)", - "targets": [ - ["css=.nav-link > translate-i18n:nth-child(1)", "css:finder"], - ["xpath=//li[4]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Action Required')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "c8b6df66-6f13-4e06-ae53-e674e8ea8223", - "comment": "", - "command": "click", - "target": "css=.text-primary", - "targets": [ - ["css=.text-primary", "css:finder"], - ["xpath=//div/i", "xpath:position"] - ], - "value": "" - }, { - "id": "629884ea-0b8f-430a-aa63-ae0ff52fef9f", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "3000" - }, { - "id": "b7a32967-1305-41ac-af15-d9b4c21a2a10", - "comment": "", - "command": "click", - "target": "css=.col-8 > div:nth-child(2)", - "targets": [ - ["css=.col-8 > div:nth-child(2)", "css:finder"], - ["xpath=//div/div/div/div/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "38b54b65-e3cb-4711-9914-11947ff491e6", - "comment": "", - "command": "assertText", - "target": "css=.col-8 > div:nth-child(2)", - "targets": [ - ["css=.col-8 > div:nth-child(2)", "css:finder"], - ["xpath=//div/div/div[2]", "xpath:position"] - ], - "value": "DelegatedAdmin Edited DelegatedAdmin" - }, { - "id": "169d0a06-e822-476a-b3b8-6d6af0c4fe36", - "comment": "", - "command": "click", - "target": "css=.nav-link > translate-i18n:nth-child(1)", - "targets": [ - ["css=.nav-link > translate-i18n:nth-child(1)", "css:finder"], - ["xpath=//li[4]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Action Required')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "f08049e7-7b4e-452c-8091-a7d67e0e1b81", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.text-capitalize", - "targets": [ - ["css=.text-capitalize", "css:finder"], - ["xpath=//div[2]/button", "xpath:position"], - ["xpath=//button[contains(.,'Enable')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "f08049e7-7b4e-452c-8091-a7d67e0e1b82", - "comment": "", - "command": "click", - "target": "css=.text-capitalize", - "targets": [ - ["css=.text-capitalize", "css:finder"], - ["xpath=//div[2]/button", "xpath:position"], - ["xpath=//button[contains(.,'Enable')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "be9cdeb0-01b8-4faa-af74-d68402c86f2c", - "comment": "", - "command": "waitForElementNotPresent", - "target": "css=.card", - "targets": [], - "value": "3000" - }, { - "id": "91c48c31-cfbc-40cb-92d2-5dc8124759bc", - "comment": "", - "command": "click", - "target": "css=.nav-item:nth-child(1) > .nav-link", - "targets": [ - ["linkText=Metadata Sources", "linkText"], - ["css=.nav-item:nth-child(1) > .nav-link", "css:finder"], - ["xpath=//a[contains(text(),'Metadata Sources')]", "xpath:link"], - ["xpath=//a[contains(@href, '/dashboard/metadata/manager/resolvers')]", "xpath:href"], - ["xpath=//dashboard-page/div/ul/li/a", "xpath:position"], - ["xpath=//a[contains(.,'Metadata Sources')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "0383aa75-506c-4309-b074-b28e3ada6c3f", - "comment": "", - "command": "waitForElementPresent", - "target": "css=.col-8 > div:nth-child(2)", - "targets": [ - ["css=.col-8 > div:nth-child(2)", "css:finder"], - ["xpath=//div/div/div/div/div[2]", "xpath:position"] - ], - "value": "3000" - }, { - "id": "5341ba03-b351-4a8c-9d8a-50130868f7e7", - "comment": "", - "command": "click", - "target": "css=.text-primary", - "targets": [ - ["css=.text-primary", "css:finder"], - ["xpath=//div/i", "xpath:position"] - ], - "value": "" - }, { - "id": "937fd019-c985-47c7-9416-097cd1c0c54d", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "DelegatedAdmin Edited" - }] - }], - "suites": [{ - "id": "46b1ce42-deb8-4ab7-9d12-0f3ba88292ab", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["82f72571-0fae-43c3-870f-dacab39c2c40"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} diff --git a/backend/src/integration/resources/SHIBUI-1062.side b/backend/src/integration/resources/SHIBUI-1062.side deleted file mode 100644 index b85710e5d..000000000 --- a/backend/src/integration/resources/SHIBUI-1062.side +++ /dev/null @@ -1,293 +0,0 @@ -{ - "id": "6653e19b-f0fa-4ad4-87ac-16d71bb6e7f0", - "version": "2.0", - "name": "Admin Login", - "url": "http://localhost:10101", - "tests": [{ - "id": "81a4cee1-5eb2-424d-bce0-48ff68f40f9b", - "name": "Admin Login", - "commands": [{ - "id": "e9d3ff8f-91c3-4257-ba3f-32486b915635", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "4f642cbc-26e4-4562-805b-5dde812f3c55", - "comment": "", - "command": "setWindowSize", - "target": "1200x983", - "targets": [], - "value": "" - }, { - "id": "66de25cf-18cb-4ea4-8008-847001eda1e2", - "comment": "Use Admin Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "403895d9-204e-4f15-b9e7-476799c96675", - "comment": "Use Admin Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "" - }, { - "id": "b87ee258-968f-46cf-946b-0073e1e94fa8", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "748d9455-6be6-4e89-aab7-e33a0fff4b2d", - "comment": "", - "command": "click", - "target": "css=.nav-link > translate-i18n:nth-child(1)", - "targets": [ - ["css=.nav-link > translate-i18n:nth-child(1)", "css:finder"], - ["xpath=//li[4]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Action Required')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "c587efc2-2879-4ba3-9fe0-16d6b1b37e1b", - "comment": "", - "command": "mouseOver", - "target": "css=.nav-link > translate-i18n:nth-child(1)", - "targets": [ - ["css=.nav-link > translate-i18n:nth-child(1)", "css:finder"], - ["xpath=//li[4]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Action Required')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "586eac94-751b-4dd3-9983-9db38cb62b35", - "comment": "", - "command": "mouseOut", - "target": "css=.nav-link > translate-i18n:nth-child(1)", - "targets": [ - ["css=.nav-link > translate-i18n:nth-child(1)", "css:finder"], - ["xpath=//li[4]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Action Required')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "2ae631cc-8f4c-4201-a3ec-a60e6fdd6ecb", - "comment": "", - "command": "assertText", - "target": "css=.badge", - "targets": [ - ["css=.badge", "css:finder"], - ["xpath=//li[4]/a/span", "xpath:position"], - ["xpath=//span[contains(.,'1')]", "xpath:innerText"] - ], - "value": "1" - }, { - "id": "0fda5a6a-6f3f-472e-83f4-3e8d2cb04961", - "comment": "", - "command": "click", - "target": "id=role-0", - "targets": [ - ["id=role-0", "id"], - ["css=#role-0", "css:finder"], - ["xpath=//select[@id='role-0']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "7317c31e-678d-4410-bd75-fa5bdde37865", - "comment": "", - "command": "select", - "target": "id=role-0", - "targets": [], - "value": "label=ROLE_USER" - }, { - "id": "8825ec78-cf41-404b-beba-dac801ad46af", - "comment": "", - "command": "click", - "target": "linkText=Admin", - "targets": [ - ["linkText=Admin", "linkText"], - ["css=.nav-item:nth-child(3) > .nav-link", "css:finder"], - ["xpath=//a[contains(text(),'Admin')]", "xpath:link"], - ["xpath=//a[contains(@href, '/dashboard/admin/management')]", "xpath:href"], - ["xpath=//dashboard-page/div/ul/li[3]/a", "xpath:position"], - ["xpath=//a[contains(.,'Admin')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "662c0fe6-05ae-48ff-a895-c2d253a8837f", - "comment": "", - "command": "click", - "target": "css=.nav-link > translate-i18n:nth-child(1)", - "targets": [ - ["css=.nav-link > translate-i18n:nth-child(1)", "css:finder"], - ["xpath=//li[4]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Action Required')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "31878c2a-ec9e-47a3-b735-973a61292e4e", - "comment": "", - "command": "click", - "target": "linkText=Admin", - "targets": [ - ["linkText=Admin", "linkText"], - ["css=.nav-item:nth-child(3) > .nav-link", "css:finder"], - ["xpath=//a[contains(text(),'Admin')]", "xpath:link"], - ["xpath=//a[contains(@href, '/dashboard/admin/management')]", "xpath:href"], - ["xpath=//dashboard-page/div/ul/li[3]/a", "xpath:position"], - ["xpath=//a[contains(.,'Admin')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "eb34e37e-3e94-4fdf-a0ff-426c33d7d8b2", - "comment": "", - "command": "click", - "target": "css=li:nth-child(3) > .nav-link > translate-i18n", - "targets": [ - ["css=li:nth-child(3) > .nav-link > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li[3]/a/translate-i18n", "xpath:idRelative"], - ["xpath=//li[3]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Logout')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "dde86641-e6a1-406f-add3-cbe5abc9b980", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "8743d4b9-6e74-41ee-b901-d56476fd5c66", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "" - }, { - "id": "47a8b4d2-1513-49bf-8931-e7fcacf1c47d", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "880a6021-1d40-46a4-94d4-ea73613faf6f", - "comment": "", - "command": "click", - "target": "css=.active > translate-i18n", - "targets": [ - ["css=.active > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li[2]/a/translate-i18n", "xpath:idRelative"], - ["xpath=//li[2]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Dashboard')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "9a44d5fe-7316-4076-bfd6-bfa57b0004f9", - "comment": "", - "command": "click", - "target": "css=#addNewDropdown > translate-i18n", - "targets": [ - ["css=#addNewDropdown > translate-i18n", "css:finder"], - ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], - ["xpath=//translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "499015d0-9485-4bae-b103-7c6fe911b18e", - "comment": "", - "command": "click", - "target": "css=li:nth-child(3) > .nav-link > translate-i18n", - "targets": [ - ["css=li:nth-child(3) > .nav-link > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li[3]/a/translate-i18n", "xpath:idRelative"], - ["xpath=//li[3]/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Logout')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "e7244234-e24a-4439-acaf-6e061e14e146", - "comment": "Use Admin Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "f4461f3f-aa73-4f99-9e1e-6ce0676199c4", - "comment": "Use Admin Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "" - }, { - "id": "5092c7f6-6e7c-4a32-8b4f-0b2e9cb01233", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }] - }], - "suites": [{ - "id": "91a2972f-f7cd-4a9b-9db2-28141211be12", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["81a4cee1-5eb2-424d-bce0-48ff68f40f9b"] - }], - "urls": ["http://localhost:10101/"], - "plugins": [] -} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1281.side b/backend/src/integration/resources/SHIBUI-1281.side index d10036ae0..00502648f 100644 --- a/backend/src/integration/resources/SHIBUI-1281.side +++ b/backend/src/integration/resources/SHIBUI-1281.side @@ -520,6 +520,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "8a9bef2c-566b-4911-b05c-a335952d7be6", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "a0102f51-f1d8-4c38-9170-482022ea7397", "comment": "", @@ -533,6 +540,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "06668dc1-ec69-4363-8935-f27e80b5fc90", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "9033e5ad-4255-4aa7-a878-c7beab69ee8e", "comment": "", @@ -556,6 +570,13 @@ ["xpath=//div/button/translate-i18n", "xpath:position"] ], "value": "" + }, { + "id": "0691340f-95ec-4289-9449-a5e4210e64ce", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "c1534880-c4e5-4fbd-b200-c28f9f556ab9", "comment": "", @@ -568,6 +589,13 @@ ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "c6b43283-411e-47f0-8f1b-62c7092a137f", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "d07b2d83-3699-4f48-90e8-6fc883d3a02a", "comment": "", @@ -592,6 +620,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "5e1ca47b-ae4a-4d85-bba6-c78f5b1a69c0", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "97a98737-862d-4567-8b20-c5c991444ed0", "comment": "", @@ -604,6 +639,13 @@ ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "3d47de6e-6cb9-47bc-b95e-33adccd48335", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "686e004c-2b0f-4308-8622-b04bc05a50a9", "comment": "", @@ -628,6 +670,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "d13c75f8-9843-4732-b3f6-9fe568c3c68a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "e2e8d5d4-8b6a-42d5-9fe7-abb8a84216e3", "comment": "", @@ -640,6 +689,13 @@ ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "ade81589-7fa9-4cfc-9114-bbf843fa7302", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "b6ac5230-772b-44bc-b9d1-6ae8a58e0368", "comment": "", @@ -1249,6 +1305,13 @@ ["xpath=//div/button/translate-i18n", "xpath:position"] ], "value": "" + }, { + "id": "94cd4815-7417-40ef-a07a-5e1fd4fd697c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "2a91666b-5453-4064-8923-c3384835b6fd", "comment": "", @@ -1262,6 +1325,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "6fe62627-3568-48f0-a49c-ddb562b3aba2", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "6e8718ef-e053-48d8-91e5-f5128e371f56", "comment": "", @@ -1286,6 +1356,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "ae91c905-fb35-4e10-bb74-06595cfb6489", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "fd33610c-dbca-410d-b2a4-117a1b2b6a79", "comment": "", @@ -1298,6 +1375,13 @@ ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "b4002361-ca74-453f-aaf4-16b7f4bde28d", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "3cd47415-5e57-4148-a40b-9571e6791f3f", "comment": "", @@ -1322,6 +1406,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "1b71cf52-12f0-4117-9972-418977413b86", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "208b33cf-f983-4a82-9b1b-19cdf2a937fc", "comment": "", @@ -1334,6 +1425,13 @@ ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "3a6d00cb-95bc-4230-9e92-148bc238362f", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "b4beb2b3-8481-4431-9299-a39a4107f17f", "comment": "", @@ -1358,6 +1456,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "4c237050-18f1-44fb-a624-6fdabe5c42c7", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "788a5b63-a75f-4aeb-9a5d-17c41e8f718e", "comment": "", @@ -1370,6 +1475,13 @@ ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "f5f865fd-e9e6-4d8c-8368-06455e3b72f0", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "c82d6951-13e2-4d32-9e19-eac52bfdc188", "comment": "", @@ -1426,6 +1538,13 @@ "target": "css=div:nth-child(9) .btn", "targets": [], "value": "" + }, { + "id": "a264ad94-60d9-4634-b341-49016d821a8c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "cbf15c4c-35d9-4f80-ba3d-bfe960048cd1", "comment": "", @@ -1438,6 +1557,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "e4a30d5e-2d62-4e7d-9fe6-08d1397184d1", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "6c62d514-0143-49d9-97b3-6b7cb443df9d", "comment": "", @@ -1461,6 +1587,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "bd192c25-e728-4955-93e3-a63e0f09ad38", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "2b063eb8-f2d6-4a59-85bb-b04c467d9874", "comment": "", @@ -1473,6 +1606,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "f7b66d8c-8679-4c97-8dda-c024b97d8b42", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "5a32d59b-1ac3-4cd0-a2d8-0e934f8182fd", "comment": "", @@ -1496,6 +1636,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "b1f77f35-fb18-4070-b24b-5bf0fe13c85a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "64e215d9-6e46-422f-882c-13b6fb102622", "comment": "", @@ -1508,6 +1655,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "4e0e4812-b9ee-45bd-b3d1-d8b92186678b", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "6a7bce1a-34be-4d4c-b732-d2f198e8b8a1", "comment": "", @@ -1613,7 +1767,7 @@ }, { "id": "3baa7bd3-55c0-4d10-8aa3-c0daa63ec4d4", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "targets": [ ["css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"], @@ -1624,7 +1778,7 @@ }, { "id": "0d355ff0-0449-49a7-ae75-14d7c405b97c", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", "targets": [ ["css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", "css:finder"], @@ -1635,7 +1789,7 @@ }, { "id": "e53030b6-f344-4361-981d-b8303a721c5d", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", "targets": [ ["css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", "css:finder"], @@ -1646,7 +1800,7 @@ }, { "id": "18636780-2feb-458f-97be-cf4a625b22e1", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=summary-property:nth-child(10) .d-block:nth-child(2)", "targets": [ ["css=summary-property:nth-child(10) .d-block:nth-child(2)", "css:finder"], @@ -1677,7 +1831,7 @@ }, { "id": "ba9fb8e8-d332-45bd-accd-703284744136", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(1)", "targets": [ ["linkText=Test Provider", "linkText"], @@ -1691,7 +1845,7 @@ }, { "id": "eff4c9fe-7daf-4082-a162-4a9dff323293", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(2)", "targets": [ ["css=td:nth-child(2)", "css:finder"], @@ -1702,7 +1856,7 @@ }, { "id": "b2d9f789-fb94-459f-9947-5364cebc43d1", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(3)", "targets": [ ["css=td:nth-child(3)", "css:finder"], @@ -1749,7 +1903,7 @@ }, { "id": "a69f4347-8e82-483d-8a8a-e78a894e7aaa", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(2)", "targets": [ ["css=td:nth-child(2)", "css:finder"], @@ -1784,7 +1938,7 @@ }, { "id": "6de4b65a-266e-4974-9729-cf70502bb8fd", "comment": "", - "command": "verifyElementNotPresent", + "command": "assertElementNotPresent", "target": "css=td:nth-child(2)", "targets": [], "value": "" diff --git a/backend/src/integration/resources/SHIBUI-1311.side b/backend/src/integration/resources/SHIBUI-1311.side index 8a43dea42..fac8ba2d2 100644 --- a/backend/src/integration/resources/SHIBUI-1311.side +++ b/backend/src/integration/resources/SHIBUI-1311.side @@ -73,6 +73,13 @@ ["xpath=//a[2]", "xpath:position"] ], "value": "" + }, { + "id": "69432299-f150-4bea-9e07-7ef222d7c71f", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" }, { "id": "b49d6ed7-75ea-4be8-9a79-c7fd83287aa0", "comment": "", @@ -103,7 +110,7 @@ "id": "add874d5-e3b2-4412-8039-2b9d2619ed19", "comment": "", "command": "select", - "target": "id=/@type", + "target": "id=/type", "targets": [ ["css=select-component > .widget", "css:finder"], ["xpath=//select-component/div", "xpath:position"] @@ -119,6 +126,13 @@ ["xpath=//li[2]/button", "xpath:position"] ], "value": "" + }, { + "id": "a237669b-daf4-42f6-bc7f-dc4cb5548f56", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" }, { "id": "86262eda-4a44-41b0-b7aa-fa46406e2601", "comment": "", @@ -170,6 +184,13 @@ ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] ], "value": "%{idp.home}/foo.txt" + }, { + "id": "3dcd1f86-11e5-455a-8ea6-38328ed3648c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "203d0d3c-d866-422a-8b48-b50181db00e9", "comment": "", @@ -181,6 +202,13 @@ ["xpath=//div/button/i", "xpath:position"] ], "value": "" + }, { + "id": "b4e1aad4-738b-474a-9b18-498ac3f8b9f8", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "5fc6a348-0533-4d94-bb76-ebb891a0db8f", "comment": "", @@ -253,6 +281,13 @@ ["xpath=//li[3]/button", "xpath:position"] ], "value": "" + }, { + "id": "2a63d747-9a64-42fc-bd2e-8e5faf1adcd3", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "a188bc3e-fd98-4d49-ae35-a0b78a17607c", "comment": "", @@ -266,6 +301,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "45a804d3-a7fa-45b6-9ad1-94e960c37706", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "a159e056-c870-4e02-a7e9-4b3a60d83718", "comment": "", @@ -280,17 +322,31 @@ ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] ], "value": "" + }, { + "id": "70b0565c-0da8-4906-8add-0e7e3334c191", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "7a72cf6a-c97a-49f6-83d0-cbe42f0fdb7d", "comment": "", "command": "click", - "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .fa", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", "targets": [ ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .fa", "css:finder"], ["xpath=//div[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay-container']/div/div/button/i", "xpath:idRelative"], ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] ], "value": "" + }, { + "id": "4be52e7c-b095-40a1-9f6e-9d62939d7a41", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "820397f5-aabb-46f5-a65a-56747ce29091", "comment": "", @@ -327,6 +383,13 @@ ["xpath=//li[3]/button", "xpath:position"] ], "value": "" + }, { + "id": "b5203507-0a37-46ad-84d7-08c6711317bd", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "232da257-962f-4a4b-8213-038ef90c96c3", "comment": "", @@ -340,6 +403,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "236d7114-a227-4087-8aa0-2851acfe19ac", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "b8d999f1-0c59-4a9a-9991-91d222f52b8e", "comment": "", @@ -358,9 +428,10 @@ "id": "8af1abb5-2c7a-4a4c-a8f7-0eb287100dde", "comment": "", "command": "click", - "target": "css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", + "target": "id=/metadataFilters/SignatureValidation/requireSignedRoot", "targets": [ - ["css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", "css:finder"], + ["css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/SignatureValidation/requireSignedRoot.parent']/label", "xpath:idRelative"], ["xpath=//div/div/label", "xpath:position"], ["xpath=//label[contains(.,'Require Signed Root')]", "xpath:innerText"] ], @@ -474,7 +545,7 @@ }, { "id": "52f5680c-c63d-411e-8332-52901f12ea3b", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.px-3:nth-child(1) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "targets": [ ["css=.px-3:nth-child(1) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"], @@ -485,7 +556,7 @@ }, { "id": "67ff44aa-1efd-4b13-a0e9-3648a09911dd", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "targets": [ ["css=.px-3:nth-child(2) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"], @@ -516,7 +587,7 @@ }, { "id": "f48dd1b5-607a-485b-b1d5-03301f99b9ce", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "linkText=Test Metadata Provider", "targets": [ ["linkText=Test Metadata Provider", "linkText"], @@ -530,7 +601,7 @@ }, { "id": "5eccd4e9-a451-4ec8-a9e1-1e1f8e771677", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(3)", "targets": [ ["css=td:nth-child(3)", "css:finder"], @@ -541,7 +612,7 @@ }, { "id": "c768c2c1-09d4-46fe-8007-42fb4b3f4aaa", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(4)", "targets": [ ["css=td:nth-child(4)", "css:finder"], @@ -573,6 +644,13 @@ ["xpath=//a[2]", "xpath:position"] ], "value": "" + }, { + "id": "664722f5-86a5-49a8-b60e-fac67544fbea", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" }, { "id": "6437379e-d34f-479e-82f1-bf52654a95cb", "comment": "", @@ -603,7 +681,7 @@ "id": "90dffd02-8971-4bf5-bc57-33194fdb27a2", "comment": "", "command": "select", - "target": "id=/@type", + "target": "id=/type", "targets": [ ["id=/@type", "id"], ["name=field38", "name"], @@ -622,6 +700,13 @@ ["xpath=//li[2]/button", "xpath:position"] ], "value": "" + }, { + "id": "a8d021db-c36c-4cf7-9211-17751cf0624a", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" }, { "id": "5795f70f-79e1-4b45-9c38-ef96d5197e70", "comment": "", @@ -712,6 +797,13 @@ ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] ], "value": "%{idp.home}/foo.txt" + }, { + "id": "962512c0-2e5a-4d14-ad4f-a94bbbf824c8", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "43dcf85f-0606-4177-aced-a1817aa2bd05", "comment": "", @@ -723,6 +815,13 @@ ["xpath=//div/button/i", "xpath:position"] ], "value": "" + }, { + "id": "94782cd4-48bf-4685-a93d-d4c2086ceafc", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "38816b0f-9f4d-46d2-b900-937503ef93a0", "comment": "", @@ -737,6 +836,13 @@ ["xpath=//li[contains(.,'PT1M')]", "xpath:innerText"] ], "value": "" + }, { + "id": "a618d41d-77d2-43ef-9237-6f4f638a282d", + "comment": "", + "command": "pause", + "target": "1000", + "targets": [], + "value": "" }, { "id": "9136f894-3cd3-4404-a1a8-9c09ee02f60d", "comment": "", @@ -747,6 +853,13 @@ ["xpath=//li[3]/button", "xpath:position"] ], "value": "" + }, { + "id": "0b928b41-6638-4dc7-8e05-88b2c20ec90d", + "comment": "", + "command": "pause", + "target": "1000", + "targets": [], + "value": "" }, { "id": "bcbc4aaf-e8f6-4369-b6aa-e33c0d9dddf1", "comment": "", @@ -757,15 +870,23 @@ ["xpath=//li[3]/button", "xpath:position"] ], "value": "" + }, { + "id": "aa2fbf24-a083-493c-aa82-ac8ac44b807c", + "comment": "", + "command": "pause", + "target": "1000", + "targets": [], + "value": "" }, { "id": "a97290c3-88ce-41d7-9619-f111ecbeb778", "comment": "", "command": "click", - "target": "css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", + "target": "id=/metadataFilters/SignatureValidation/requireSignedRoot", "targets": [ - ["css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", "css:finder"], - ["xpath=//div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Require Signed Root')]", "xpath:innerText"] + ["id=/metadataFilters/SignatureValidation/requireSignedRoot.parent", "id"], + ["css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent", "css:finder"], + ["xpath=//div[@id='/metadataFilters/SignatureValidation/requireSignedRoot.parent']", "xpath:attributes"], + ["xpath=//checkbox-component/div/div/div", "xpath:position"] ], "value": "" }, { @@ -778,6 +899,13 @@ ["xpath=//li[3]/button", "xpath:position"] ], "value": "" + }, { + "id": "2c9b0634-d28a-4623-adde-9e0be2549ac4", + "comment": "", + "command": "pause", + "target": "1000", + "targets": [], + "value": "" }, { "id": "1237c623-a944-4525-9aea-b93fdd007f78", "comment": "", @@ -798,7 +926,7 @@ }, { "id": "b437068f-d3ed-43b5-9975-fb54decaf7ab", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "linkText=Test Metadata Provider", "targets": [ ["linkText=Test Metadata Provider", "linkText"], @@ -812,7 +940,7 @@ }, { "id": "abf5ec9e-eeb3-480f-8919-1efecbae20d0", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "linkText=Test Provider 2", "targets": [ ["linkText=Test Provider 2", "linkText"], @@ -836,7 +964,7 @@ }, { "id": "72123a28-c3be-478c-8f30-555e346837e2", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.badge-success > span", "targets": [ ["css=.badge-success > span", "css:finder"], @@ -856,7 +984,7 @@ }, { "id": "ad8842de-2a4c-42a4-b919-dd7524a679c6", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.badge-danger > span", "targets": [ ["css=.badge-danger > span", "css:finder"], diff --git a/backend/src/integration/resources/SHIBUI-1333.side b/backend/src/integration/resources/SHIBUI-1333.side index 3e4267ecb..78143b150 100644 --- a/backend/src/integration/resources/SHIBUI-1333.side +++ b/backend/src/integration/resources/SHIBUI-1333.side @@ -520,6 +520,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "84552c73-8fe8-4ed7-99aa-68602d94d6cb", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "a0102f51-f1d8-4c38-9170-482022ea7397", "comment": "", @@ -533,6 +540,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "60540fb7-0bea-45de-8474-52e8df730200", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "9033e5ad-4255-4aa7-a878-c7beab69ee8e", "comment": "", @@ -556,6 +570,13 @@ ["xpath=//div/button/translate-i18n", "xpath:position"] ], "value": "" + }, { + "id": "c3c42436-b8d6-4623-8682-b5156f7ed42c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "c1534880-c4e5-4fbd-b200-c28f9f556ab9", "comment": "", @@ -568,6 +589,13 @@ ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "c91eb780-2767-4c03-a238-9d6369c84efd", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "d07b2d83-3699-4f48-90e8-6fc883d3a02a", "comment": "", @@ -592,6 +620,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "09a5a4b5-2dec-4819-bf12-cf355cc3b330", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "97a98737-862d-4567-8b20-c5c991444ed0", "comment": "", @@ -604,6 +639,13 @@ ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "02b57eb8-a8e2-46fc-9033-4df723095eea", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "686e004c-2b0f-4308-8622-b04bc05a50a9", "comment": "", @@ -628,6 +670,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "3479e821-fe83-4137-9caf-119b250bbf3d", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "e2e8d5d4-8b6a-42d5-9fe7-abb8a84216e3", "comment": "", @@ -640,6 +689,13 @@ ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "14ce7a0c-b460-4dbc-a43b-897f845a3cb2", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "b6ac5230-772b-44bc-b9d1-6ae8a58e0368", "comment": "", @@ -1249,6 +1305,13 @@ ["xpath=//div/button/translate-i18n", "xpath:position"] ], "value": "" + }, { + "id": "85846785-17ca-43bd-9903-77298de226fb", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "2a91666b-5453-4064-8923-c3384835b6fd", "comment": "", @@ -1262,6 +1325,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "3d3975ec-5aeb-4a95-977c-28ab420cc5e2", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "6e8718ef-e053-48d8-91e5-f5128e371f56", "comment": "", @@ -1286,6 +1356,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "a50c60c7-d7c2-4279-bb78-f90361d3a636", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "fd33610c-dbca-410d-b2a4-117a1b2b6a79", "comment": "", @@ -1298,6 +1375,13 @@ ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "5214e899-9cbf-495e-aa38-2530c73dd0e6", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "3cd47415-5e57-4148-a40b-9571e6791f3f", "comment": "", @@ -1322,6 +1406,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "a0a67aaa-865d-4a62-8c0d-7bd83ca02485", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "208b33cf-f983-4a82-9b1b-19cdf2a937fc", "comment": "", @@ -1334,6 +1425,13 @@ ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "da6d3d70-ccef-4827-b963-739f59a3290c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "b4beb2b3-8481-4431-9299-a39a4107f17f", "comment": "", @@ -1358,6 +1456,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "c067cddf-27f3-46fe-b4a4-70848de9d48f", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "788a5b63-a75f-4aeb-9a5d-17c41e8f718e", "comment": "", @@ -1370,6 +1475,13 @@ ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "e88adc5c-7244-4b06-8ac4-5ce67b16e87a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "c82d6951-13e2-4d32-9e19-eac52bfdc188", "comment": "", @@ -1426,6 +1538,13 @@ "target": "css=div:nth-child(9) .btn", "targets": [], "value": "" + }, { + "id": "667d1702-7451-4200-ae40-3024717c4506", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "cbf15c4c-35d9-4f80-ba3d-bfe960048cd1", "comment": "", @@ -1438,6 +1557,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "c87d6369-cec8-4d72-8552-6aabf3b8657b", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "6c62d514-0143-49d9-97b3-6b7cb443df9d", "comment": "", @@ -1461,6 +1587,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "26b7eb16-d173-4da2-b5ea-fc56801e05b7", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "2b063eb8-f2d6-4a59-85bb-b04c467d9874", "comment": "", @@ -1473,6 +1606,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "62ba317f-c886-438b-a263-19fff4354a99", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "5a32d59b-1ac3-4cd0-a2d8-0e934f8182fd", "comment": "", @@ -1496,6 +1636,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "1f9420b8-2a81-4caa-9177-bff1fa2c2775", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "64e215d9-6e46-422f-882c-13b6fb102622", "comment": "", @@ -1508,6 +1655,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "9c9c1e94-68bd-462e-8520-31a33e10c2fc", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "6a7bce1a-34be-4d4c-b732-d2f198e8b8a1", "comment": "", @@ -1613,7 +1767,7 @@ }, { "id": "3baa7bd3-55c0-4d10-8aa3-c0daa63ec4d4", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "targets": [ ["css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"], @@ -1624,7 +1778,7 @@ }, { "id": "0d355ff0-0449-49a7-ae75-14d7c405b97c", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", "targets": [ ["css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", "css:finder"], @@ -1635,7 +1789,7 @@ }, { "id": "e53030b6-f344-4361-981d-b8303a721c5d", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", "targets": [ ["css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", "css:finder"], @@ -1646,7 +1800,7 @@ }, { "id": "18636780-2feb-458f-97be-cf4a625b22e1", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=summary-property:nth-child(10) .d-block:nth-child(2)", "targets": [ ["css=summary-property:nth-child(10) .d-block:nth-child(2)", "css:finder"], @@ -1677,7 +1831,7 @@ }, { "id": "ba9fb8e8-d332-45bd-accd-703284744136", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(1)", "targets": [ ["linkText=Test Provider", "linkText"], @@ -1691,7 +1845,7 @@ }, { "id": "eff4c9fe-7daf-4082-a162-4a9dff323293", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(2)", "targets": [ ["css=td:nth-child(2)", "css:finder"], @@ -1702,7 +1856,7 @@ }, { "id": "b2d9f789-fb94-459f-9947-5364cebc43d1", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(3)", "targets": [ ["css=td:nth-child(3)", "css:finder"], @@ -1749,7 +1903,7 @@ }, { "id": "a69f4347-8e82-483d-8a8a-e78a894e7aaa", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(2)", "targets": [ ["css=td:nth-child(2)", "css:finder"], @@ -1784,7 +1938,7 @@ }, { "id": "6de4b65a-266e-4974-9729-cf70502bb8fd", "comment": "", - "command": "verifyElementNotPresent", + "command": "assertElementNotPresent", "target": "css=td:nth-child(2)", "targets": [], "value": "" @@ -1824,7 +1978,7 @@ }, { "id": "c9ea2708-7c12-43ce-b827-f0f34d2f2831", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.author", "targets": [ ["css=.author", "css:finder"], @@ -1836,7 +1990,7 @@ }, { "id": "16271513-203c-4528-870f-dcf73f4d81cb", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(2)", "targets": [ ["css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(2)", "css:finder"], @@ -1848,7 +2002,7 @@ }, { "id": "3f2c3eab-ecbf-45f3-bcdc-a5cad766b27c", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=array-property:nth-child(5) .py-2:nth-child(2) > .d-flex:nth-child(3) > .text-truncate", "targets": [ ["css=array-property:nth-child(5) .py-2:nth-child(2) > .d-flex:nth-child(3) > .text-truncate", "css:finder"], @@ -1859,7 +2013,7 @@ }, { "id": "467409c7-1007-4c45-80d2-0b4eea5199a0", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(2) primitive-property:nth-child(2) .d-block:nth-child(2)", "targets": [ ["css=.mb-4:nth-child(2) primitive-property:nth-child(2) .d-block:nth-child(2)", "css:finder"], @@ -1871,7 +2025,7 @@ }, { "id": "eaaf9d59-1466-4736-924c-56c9b3f7522f", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=array-property:nth-child(2) .text-truncate:nth-child(2)", "targets": [ ["css=array-property:nth-child(2) .text-truncate:nth-child(2)", "css:finder"], @@ -1883,7 +2037,7 @@ }, { "id": "2a23096f-d5cd-4727-af1b-130388117aa0", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(4) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate", "targets": [ ["css=.mb-4:nth-child(4) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate", "css:finder"], @@ -1891,17 +2045,10 @@ ["xpath=//section[4]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:position"] ], "value": "http://test.org/logout2" - }, { - "id": "e1cba732-dd34-4c73-9d4c-89c440975dd8", - "comment": "", - "command": "runScript", - "target": "window.scrollTo(0,2060)", - "targets": [], - "value": "" }, { "id": "fe47ffd2-d2a0-4264-90fe-31b998f81ac2", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(5) primitive-property:nth-child(3) .d-block:nth-child(2)", "targets": [ ["css=.mb-4:nth-child(5) primitive-property:nth-child(3) .d-block:nth-child(2)", "css:finder"], @@ -1912,7 +2059,7 @@ }, { "id": "7300785c-b83e-49b8-97a6-d66516f6c133", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(6) .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate", "targets": [ ["css=.mb-4:nth-child(6) .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate", "css:finder"], @@ -1923,7 +2070,7 @@ }, { "id": "951a21c9-4cd3-4989-8dc0-77760ca0dc95", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(7) primitive-property:nth-child(7) .d-block:nth-child(2)", "targets": [ ["css=.mb-4:nth-child(7) primitive-property:nth-child(7) .d-block:nth-child(2)", "css:finder"], @@ -1935,7 +2082,7 @@ }, { "id": "e8b794fc-20e2-4317-8bdd-73eee8e94951", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.d-flex:nth-child(3) > .py-2 > span", "targets": [ ["css=.d-flex:nth-child(3) > .py-2 > span", "css:finder"], diff --git a/backend/src/integration/resources/SHIBUI-1334-1.side b/backend/src/integration/resources/SHIBUI-1334-1.side index d19bef702..7ffb79675 100644 --- a/backend/src/integration/resources/SHIBUI-1334-1.side +++ b/backend/src/integration/resources/SHIBUI-1334-1.side @@ -520,6 +520,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "e6f25890-12e4-42fa-8fa3-fedfb207c7b4", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "a0102f51-f1d8-4c38-9170-482022ea7397", "comment": "", @@ -533,6 +540,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "19c22570-3d8d-464b-8bf2-0c6231e9226f", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "9033e5ad-4255-4aa7-a878-c7beab69ee8e", "comment": "", @@ -556,6 +570,13 @@ ["xpath=//div/button/translate-i18n", "xpath:position"] ], "value": "" + }, { + "id": "b74668ef-995b-48af-9d97-50b822255830", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "c1534880-c4e5-4fbd-b200-c28f9f556ab9", "comment": "", @@ -568,6 +589,13 @@ ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "dd74eb20-9a3b-4822-952a-4aa01d5a08a0", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "d07b2d83-3699-4f48-90e8-6fc883d3a02a", "comment": "", @@ -592,6 +620,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "19759bb5-20a3-4d46-9606-32d405083f92", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "97a98737-862d-4567-8b20-c5c991444ed0", "comment": "", @@ -604,6 +639,13 @@ ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "faac2d44-552f-47e5-8e4b-e457f6587824", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "686e004c-2b0f-4308-8622-b04bc05a50a9", "comment": "", @@ -628,6 +670,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "bc8b77b0-e20e-4a1e-83ed-fa0bb5199235", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "e2e8d5d4-8b6a-42d5-9fe7-abb8a84216e3", "comment": "", @@ -640,6 +689,13 @@ ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "80814ffe-9589-4f77-864f-a0d61bfb4ef5", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "b6ac5230-772b-44bc-b9d1-6ae8a58e0368", "comment": "", @@ -1249,6 +1305,13 @@ ["xpath=//div/button/translate-i18n", "xpath:position"] ], "value": "" + }, { + "id": "3fd2e56f-620d-4e46-bf84-694dfbada52a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "2a91666b-5453-4064-8923-c3384835b6fd", "comment": "", @@ -1262,6 +1325,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "dfc68247-f5e9-4f8b-a332-116b79348842", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "6e8718ef-e053-48d8-91e5-f5128e371f56", "comment": "", @@ -1286,6 +1356,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "35c13cf3-ac54-40bd-9611-b95e8a0dfa07", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "fd33610c-dbca-410d-b2a4-117a1b2b6a79", "comment": "", @@ -1298,6 +1375,13 @@ ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "07e71a37-86a0-457c-8798-9f7144bfd19d", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "3cd47415-5e57-4148-a40b-9571e6791f3f", "comment": "", @@ -1322,6 +1406,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "c7c5a622-06a8-4e51-b7a2-da848e7626b6", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "208b33cf-f983-4a82-9b1b-19cdf2a937fc", "comment": "", @@ -1334,6 +1425,13 @@ ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "cc1a74e7-a7af-41cc-9ec7-033d9f19576c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "b4beb2b3-8481-4431-9299-a39a4107f17f", "comment": "", @@ -1358,6 +1456,13 @@ ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" + }, { + "id": "de209357-8747-4233-9cae-ab3b0fb89a9c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "788a5b63-a75f-4aeb-9a5d-17c41e8f718e", "comment": "", @@ -1370,6 +1475,13 @@ ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "cefd39a6-1f77-4f3d-bd72-a668a5fe17b1", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "c82d6951-13e2-4d32-9e19-eac52bfdc188", "comment": "", @@ -1426,6 +1538,13 @@ "target": "css=div:nth-child(9) .btn", "targets": [], "value": "" + }, { + "id": "be2aeaca-cf62-4ea9-9ee4-c97e8ae13c6e", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "cbf15c4c-35d9-4f80-ba3d-bfe960048cd1", "comment": "", @@ -1438,6 +1557,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "9ab002d8-395c-4340-aadc-16f189504960", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "6c62d514-0143-49d9-97b3-6b7cb443df9d", "comment": "", @@ -1461,6 +1587,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "a56d9978-3688-4ae0-bbe8-3bf84bb43408", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "2b063eb8-f2d6-4a59-85bb-b04c467d9874", "comment": "", @@ -1473,6 +1606,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "95ca9d94-3a8c-49d5-a578-f09ea1b2dbef", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "5a32d59b-1ac3-4cd0-a2d8-0e934f8182fd", "comment": "", @@ -1496,6 +1636,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "c110a339-8eea-41aa-9b77-efabaa924bf1", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "64e215d9-6e46-422f-882c-13b6fb102622", "comment": "", @@ -1508,6 +1655,13 @@ ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "ef981751-02d3-416c-be6f-122f14801bd6", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "6a7bce1a-34be-4d4c-b732-d2f198e8b8a1", "comment": "", @@ -1613,7 +1767,7 @@ }, { "id": "3baa7bd3-55c0-4d10-8aa3-c0daa63ec4d4", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "targets": [ ["css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"], @@ -1624,7 +1778,7 @@ }, { "id": "0d355ff0-0449-49a7-ae75-14d7c405b97c", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", "targets": [ ["css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", "css:finder"], @@ -1635,7 +1789,7 @@ }, { "id": "e53030b6-f344-4361-981d-b8303a721c5d", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", "targets": [ ["css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", "css:finder"], @@ -1646,7 +1800,7 @@ }, { "id": "18636780-2feb-458f-97be-cf4a625b22e1", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=summary-property:nth-child(10) .d-block:nth-child(2)", "targets": [ ["css=summary-property:nth-child(10) .d-block:nth-child(2)", "css:finder"], @@ -1677,7 +1831,7 @@ }, { "id": "ba9fb8e8-d332-45bd-accd-703284744136", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(1)", "targets": [ ["linkText=Test Provider", "linkText"], @@ -1691,7 +1845,7 @@ }, { "id": "eff4c9fe-7daf-4082-a162-4a9dff323293", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(2)", "targets": [ ["css=td:nth-child(2)", "css:finder"], @@ -1702,7 +1856,7 @@ }, { "id": "b2d9f789-fb94-459f-9947-5364cebc43d1", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(3)", "targets": [ ["css=td:nth-child(3)", "css:finder"], @@ -1749,7 +1903,7 @@ }, { "id": "a69f4347-8e82-483d-8a8a-e78a894e7aaa", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(2)", "targets": [ ["css=td:nth-child(2)", "css:finder"], @@ -1784,7 +1938,7 @@ }, { "id": "6de4b65a-266e-4974-9729-cf70502bb8fd", "comment": "", - "command": "verifyElementNotPresent", + "command": "assertElementNotPresent", "target": "css=td:nth-child(2)", "targets": [], "value": "" @@ -1824,7 +1978,7 @@ }, { "id": "c9ea2708-7c12-43ce-b827-f0f34d2f2831", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.author", "targets": [ ["css=.author", "css:finder"], @@ -1836,7 +1990,7 @@ }, { "id": "16271513-203c-4528-870f-dcf73f4d81cb", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(2)", "targets": [ ["css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(2)", "css:finder"], @@ -1848,7 +2002,7 @@ }, { "id": "3f2c3eab-ecbf-45f3-bcdc-a5cad766b27c", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=array-property:nth-child(5) .py-2:nth-child(2) > .d-flex:nth-child(3) > .text-truncate", "targets": [ ["css=array-property:nth-child(5) .py-2:nth-child(2) > .d-flex:nth-child(3) > .text-truncate", "css:finder"], @@ -1859,7 +2013,7 @@ }, { "id": "467409c7-1007-4c45-80d2-0b4eea5199a0", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(2) primitive-property:nth-child(2) .d-block:nth-child(2)", "targets": [ ["css=.mb-4:nth-child(2) primitive-property:nth-child(2) .d-block:nth-child(2)", "css:finder"], @@ -1871,7 +2025,7 @@ }, { "id": "eaaf9d59-1466-4736-924c-56c9b3f7522f", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=array-property:nth-child(2) .text-truncate:nth-child(2)", "targets": [ ["css=array-property:nth-child(2) .text-truncate:nth-child(2)", "css:finder"], @@ -1883,7 +2037,7 @@ }, { "id": "2a23096f-d5cd-4727-af1b-130388117aa0", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(4) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate", "targets": [ ["css=.mb-4:nth-child(4) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate", "css:finder"], @@ -1891,17 +2045,10 @@ ["xpath=//section[4]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:position"] ], "value": "http://test.org/logout2" - }, { - "id": "e1cba732-dd34-4c73-9d4c-89c440975dd8", - "comment": "", - "command": "runScript", - "target": "window.scrollTo(0,2060)", - "targets": [], - "value": "" }, { "id": "fe47ffd2-d2a0-4264-90fe-31b998f81ac2", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(5) primitive-property:nth-child(3) .d-block:nth-child(2)", "targets": [ ["css=.mb-4:nth-child(5) primitive-property:nth-child(3) .d-block:nth-child(2)", "css:finder"], @@ -1912,7 +2059,7 @@ }, { "id": "7300785c-b83e-49b8-97a6-d66516f6c133", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(6) .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate", "targets": [ ["css=.mb-4:nth-child(6) .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate", "css:finder"], @@ -1923,7 +2070,7 @@ }, { "id": "951a21c9-4cd3-4989-8dc0-77760ca0dc95", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(7) primitive-property:nth-child(7) .d-block:nth-child(2)", "targets": [ ["css=.mb-4:nth-child(7) primitive-property:nth-child(7) .d-block:nth-child(2)", "css:finder"], @@ -1935,7 +2082,7 @@ }, { "id": "e8b794fc-20e2-4317-8bdd-73eee8e94951", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.d-flex:nth-child(3) > .py-2 > span", "targets": [ ["css=.d-flex:nth-child(3) > .py-2 > span", "css:finder"], @@ -2113,7 +2260,7 @@ }, { "id": "1c0b7514-92b7-4e07-b462-467113f4a8cd", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)", "targets": [ ["css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)", "css:finder"], @@ -2123,7 +2270,7 @@ }, { "id": "fc7c4e1e-03c7-4108-9a8d-f469e7679ae4", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(3)", "targets": [ ["css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(3)", "css:finder"], @@ -2131,31 +2278,24 @@ ["xpath=//span[contains(.,'Test Provider')]", "xpath:innerText"] ], "value": "Test Provider" - }, { - "id": "d3abb044-064c-4d68-8afa-84cc5f9b987e", - "comment": "", - "command": "runScript", - "target": "window.scrollTo(0,157)", - "targets": [], - "value": "" }, { "id": "138ad58b-f0a2-436b-a8b0-43484f4180e6", "comment": "", - "command": "verifyText", - "target": "css=array-property:nth-child(5) .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(2)", + "command": "assertText", + "target": "css=.bg-diff > .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(3)", "targets": [ - ["css=array-property:nth-child(5) .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(2)", "css:finder"], + ["css=.bg-diff > .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(3)", "css:finder"], ["xpath=//div[2]/div/div[2]", "xpath:position"] ], "value": "Test User v2" }, { "id": "17049c95-4724-4521-ac47-6b64bde822aa", "comment": "", - "command": "verifyText", - "target": "css=array-property:nth-child(5) .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(3)", + "command": "assertText", + "target": "css=.py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(4)", "targets": [ - ["css=array-property:nth-child(5) .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(3)", "css:finder"], - ["xpath=//div[3]", "xpath:position"] + ["css=.py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(4)", "css:finder"], + ["xpath=//div/div[3]", "xpath:position"] ], "value": "Test User" }, { @@ -2198,10 +2338,10 @@ }, { "id": "e23ad673-a84c-4c28-a927-8baf21fe1f12", "comment": "", - "command": "waitForElementEditable", - "target": "id=/mdui/displayName", + "command": "pause", + "target": "5000", "targets": [], - "value": "10000" + "value": "" }, { "id": "6f422a9d-6c2f-4200-bdd3-411ed44773a3", "comment": "", @@ -2215,11 +2355,18 @@ ["xpath=//input", "xpath:position"] ], "value": "Display Name v3" + }, { + "id": "77bfef92-d0e6-41eb-9cd1-c2ede0cb9144", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" }, { "id": "c2d29077-30c4-45cf-81c9-b5790294e11e", "comment": "", "command": "click", - "target": "css=.btn-info > translate-i18n", + "target": "css=.btn-info", "targets": [ ["css=.btn-info > translate-i18n", "css:finder"], ["xpath=//div[2]/button/translate-i18n", "xpath:position"], @@ -2230,7 +2377,7 @@ "id": "f2e3d420-5cf5-4165-94da-41688839cf82", "comment": "", "command": "click", - "target": "css=.btn-link:nth-child(1) > translate-i18n", + "target": "css=.btn-link:nth-child(1)", "targets": [ ["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"], ["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"], @@ -2253,7 +2400,7 @@ "id": "68972f7d-8268-4701-865c-585a39987208", "comment": "", "command": "click", - "target": "css=tr:nth-child(2) .custom-control-label", + "target": "css=tr:nth-child(3) .custom-control-label", "targets": [ ["css=tr:nth-child(2) .custom-control-label", "css:finder"], ["xpath=//tr[2]/td/div/label", "xpath:position"] @@ -2270,10 +2417,17 @@ ["xpath=//button[contains(.,'Compare Selected(2)')]", "xpath:innerText"] ], "value": "" + }, { + "id": "98aafaee-a430-4a2d-9aa5-b4c9ce0c4908", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(2)", + "targets": [], + "value": "10000" }, { "id": "5a976e2c-dc5f-4021-9cc6-3cad12e771ea", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(2)", "targets": [ ["css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(2)", "css:finder"], @@ -2284,7 +2438,7 @@ }, { "id": "72328587-fe8d-4dc8-bc3d-a163f91a1ad6", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(3)", "targets": [ ["css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(3)", "css:finder"], diff --git a/backend/src/integration/resources/SHIBUI-1334-2.side b/backend/src/integration/resources/SHIBUI-1334-2.side index 7f5d7550a..943053225 100644 --- a/backend/src/integration/resources/SHIBUI-1334-2.side +++ b/backend/src/integration/resources/SHIBUI-1334-2.side @@ -103,7 +103,7 @@ "id": "add874d5-e3b2-4412-8039-2b9d2619ed19", "comment": "", "command": "select", - "target": "id=/@type", + "target": "id=/type", "targets": [ ["css=select-component > .widget", "css:finder"], ["xpath=//select-component/div", "xpath:position"] @@ -119,6 +119,13 @@ ["xpath=//li[2]/button", "xpath:position"] ], "value": "" + }, { + "id": "d072327c-78b4-4bdb-8020-b825cd26592d", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" }, { "id": "86262eda-4a44-41b0-b7aa-fa46406e2601", "comment": "", @@ -170,6 +177,13 @@ ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] ], "value": "%{idp.home}/foo.txt" + }, { + "id": "8172c545-e0de-4233-bf8f-66d76b6e9684", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "203d0d3c-d866-422a-8b48-b50181db00e9", "comment": "", @@ -181,6 +195,13 @@ ["xpath=//div/button/i", "xpath:position"] ], "value": "" + }, { + "id": "01fa325e-0ab6-4124-b42f-661e190d8307", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "5fc6a348-0533-4d94-bb76-ebb891a0db8f", "comment": "", @@ -253,6 +274,13 @@ ["xpath=//li[3]/button", "xpath:position"] ], "value": "" + }, { + "id": "6ec3d2b5-ca0c-4128-a5f0-3281bbd5d199", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "a188bc3e-fd98-4d49-ae35-a0b78a17607c", "comment": "", @@ -266,6 +294,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "246b863d-0ecb-4db6-9774-74da4859419a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "a159e056-c870-4e02-a7e9-4b3a60d83718", "comment": "", @@ -280,17 +315,32 @@ ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] ], "value": "" + }, { + "id": "558a1e8e-f67a-45f2-b806-c29cba8c7ac2", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "7a72cf6a-c97a-49f6-83d0-cbe42f0fdb7d", "comment": "", "command": "click", - "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .fa", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", "targets": [ - ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .fa", "css:finder"], - ["xpath=//div[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "c4986f4d-5d38-47d4-a73e-b02e9aedc807", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "820397f5-aabb-46f5-a65a-56747ce29091", "comment": "", @@ -327,6 +377,13 @@ ["xpath=//li[3]/button", "xpath:position"] ], "value": "" + }, { + "id": "6c47a16c-7398-4ff5-873d-11d236936073", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "232da257-962f-4a4b-8213-038ef90c96c3", "comment": "", @@ -340,6 +397,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "d30605a0-013c-403d-86ab-780f471fe159", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "b8d999f1-0c59-4a9a-9991-91d222f52b8e", "comment": "", @@ -358,7 +422,7 @@ "id": "8af1abb5-2c7a-4a4c-a8f7-0eb287100dde", "comment": "", "command": "click", - "target": "css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", + "target": "id=/metadataFilters/SignatureValidation/requireSignedRoot", "targets": [ ["css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", "css:finder"], ["xpath=//div/div/label", "xpath:position"], @@ -474,7 +538,7 @@ }, { "id": "52f5680c-c63d-411e-8332-52901f12ea3b", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.px-3:nth-child(1) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "targets": [ ["css=.px-3:nth-child(1) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"], @@ -485,7 +549,7 @@ }, { "id": "67ff44aa-1efd-4b13-a0e9-3648a09911dd", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "targets": [ ["css=.px-3:nth-child(2) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"], @@ -516,7 +580,7 @@ }, { "id": "f48dd1b5-607a-485b-b1d5-03301f99b9ce", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "linkText=Test Metadata Provider", "targets": [ ["linkText=Test Metadata Provider", "linkText"], @@ -530,7 +594,7 @@ }, { "id": "5eccd4e9-a451-4ec8-a9e1-1e1f8e771677", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(3)", "targets": [ ["css=td:nth-child(3)", "css:finder"], @@ -541,7 +605,7 @@ }, { "id": "c768c2c1-09d4-46fe-8007-42fb4b3f4aaa", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(4)", "targets": [ ["css=td:nth-child(4)", "css:finder"], @@ -578,15 +642,9 @@ }, { "id": "5636ef67-71fb-4bca-ba58-7ecf926c7bf0", "comment": "", - "command": "click", - "target": "id=/xmlId", - "targets": [ - ["id=/xmlId", "id"], - ["name=field38", "name"], - ["css=#\\/xmlId", "css:finder"], - ["xpath=//input[@id='/xmlId']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], + "command": "pause", + "target": "5000", + "targets": [], "value": "" }, { "id": "7d641e58-47ce-4d20-908c-e0002ff73cfa", @@ -600,7 +658,14 @@ ["xpath=//input[@id='/xmlId']", "xpath:attributes"], ["xpath=//custom-string/div/input", "xpath:position"] ], - "value": "123 v2" + "value": "123 version 2" + }, { + "id": "b78c81e9-41ac-41db-837a-0db6bd4f77eb", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" }, { "id": "247b04c1-e690-42bc-ae15-dfbedb44d2e9", "comment": "", @@ -624,6 +689,13 @@ ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] ], "value": "" + }, { + "id": "eb08417b-b8f0-46dc-9e32-e8daf3bc205d", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" }, { "id": "cf005a45-74ae-4f7a-a53c-ed59d63f7114", "comment": "", @@ -692,42 +764,42 @@ }, { "id": "68103f0e-e3f1-419b-903d-5d8c30bc6700", "comment": "", - "command": "verifyText", - "target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)", "targets": [ - ["css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)", "css:finder"], - ["xpath=//primitive-property[2]/div/span[2]", "xpath:position"], - ["xpath=//span[contains(.,'123 v2')]", "xpath:innerText"] + ["css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)", "css:finder"], + ["xpath=//primitive-property[4]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'123 version 2')]", "xpath:innerText"] ], - "value": "123 v2" + "value": "123 version 2" }, { "id": "a13198b9-7827-47e2-ade3-143b981d34ee", "comment": "", - "command": "verifyText", - "target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(3)", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(3)", "targets": [ - ["css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(3)", "css:finder"], - ["xpath=//primitive-property[2]/div/span[3]", "xpath:position"] + ["css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(3)", "css:finder"], + ["xpath=//primitive-property[4]/div/span[3]", "xpath:position"] ], "value": "123" }, { "id": "3d83741c-299e-4fcb-9ce6-4b7291c423a4", "comment": "", - "command": "verifyText", - "target": "css=.d-block > primitive-property:nth-child(10) .d-block:nth-child(2)", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(2)", "targets": [ - ["css=.d-block > primitive-property:nth-child(10) .d-block:nth-child(2)", "css:finder"], - ["xpath=//primitive-property[10]/div/span[2]", "xpath:position"] + ["css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(2)", "css:finder"], + ["xpath=//primitive-property[12]/div/span[2]", "xpath:position"] ], "value": "false" }, { "id": "190cc157-d427-4046-aff2-180392395ad3", "comment": "", - "command": "verifyText", - "target": "css=.d-block > primitive-property:nth-child(10) .d-block:nth-child(3)", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(3)", "targets": [ - ["css=.d-block > primitive-property:nth-child(10) .d-block:nth-child(3)", "css:finder"], - ["xpath=//primitive-property[10]/div/span[3]", "xpath:position"] + ["css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(3)", "css:finder"], + ["xpath=//primitive-property[12]/div/span[3]", "xpath:position"] ], "value": "true" }, { @@ -782,17 +854,11 @@ ], "value": "" }, { - "id": "78967fb5-8f61-46ce-9c14-9b6ceb12b03a", + "id": "270a048e-b903-4bc1-b95b-06ffbdef99de", "comment": "", - "command": "click", - "target": "css=#\\/httpMetadataResolverAttributes\\/connectionRequestTimeout-container .btn", - "targets": [ - ["css=#\\/httpMetadataResolverAttributes\\/connectionRequestTimeout-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='/httpMetadataResolverAttributes/connectionRequestTimeout-container']/div/div/button", "xpath:idRelative"], - ["xpath=//auto-complete/div/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] - ], + "command": "pause", + "target": "3000", + "targets": [], "value": "" }, { "id": "1cde012c-d521-4fd5-a7d5-7a680bba0e7b", @@ -806,7 +872,14 @@ ], "value": "" }, { - "id": "d00ecf98-7425-467c-acbb-3b39918e3462", + "id": "b4f41acc-cb2c-4bb1-92ef-452ae1dc420c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "78967fb5-8f61-46ce-9c14-9b6ceb12b03a", "comment": "", "command": "click", "target": "css=#\\/httpMetadataResolverAttributes\\/connectionRequestTimeout-container .btn", @@ -818,6 +891,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "5febc53d-9179-4a5e-81a2-6d00495e0953", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "8ba62572-354d-47f4-bb72-f9309c1cb201", "comment": "", @@ -832,6 +912,13 @@ ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] ], "value": "" + }, { + "id": "753d2e1d-54cd-4edd-9718-3f875e617bc1", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "d7406190-0bb0-4df8-9c0b-7e393952b6a2", "comment": "", @@ -844,6 +931,13 @@ ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "0fd359bb-a5d0-47f8-aa99-2cf2f32eae3d", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "337ac160-7990-425f-83da-2788d8a0985e", "comment": "", @@ -857,6 +951,13 @@ ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] ], "value": "" + }, { + "id": "bebea55c-1ac2-4556-ac7f-7e666731e569", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "19182110-0f86-4601-ae12-0b90967ef68a", "comment": "", @@ -869,6 +970,13 @@ ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "c38b8d8d-e108-4895-bf2e-4cfc1fc28e5e", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "34693225-4754-4b27-92ee-3e37304a8cd7", "comment": "", @@ -893,6 +1001,13 @@ ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] ], "value": "" + }, { + "id": "c3ad6c24-736a-492a-8952-b368e123d8e1", + "comment": "", + "command": "waitForElementVisible", + "target": "linkText=Test Metadata Provider", + "targets": [], + "value": "10000" }, { "id": "8868c054-2e6a-403e-ba2b-499a56730d71", "comment": "", @@ -911,7 +1026,7 @@ "id": "0092cd5c-a885-4a48-a233-b3af447b02bc", "comment": "", "command": "click", - "target": "css=.btn-link:nth-child(1) > translate-i18n", + "target": "css=.btn-link:nth-child(1)", "targets": [ ["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"], ["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"], @@ -961,7 +1076,7 @@ }, { "id": "8a2c6435-d77b-4c87-8e0e-e1ae6d4629b9", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(4) primitive-property:nth-child(2) .d-block:nth-child(2)", "targets": [ ["css=.mb-4:nth-child(4) primitive-property:nth-child(2) .d-block:nth-child(2)", "css:finder"], @@ -971,7 +1086,7 @@ }, { "id": "0687fe3f-c1af-4a5a-9708-09b7b92734bc", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=.mb-4:nth-child(4) primitive-property:nth-child(3) .d-block:nth-child(2)", "targets": [ ["css=.mb-4:nth-child(4) primitive-property:nth-child(3) .d-block:nth-child(2)", "css:finder"], @@ -982,7 +1097,7 @@ }, { "id": "a007794f-ab91-47b8-b470-e4294e47a2a7", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=object-property:nth-child(1) > primitive-property:nth-child(4) .d-block:nth-child(2)", "targets": [ ["css=object-property:nth-child(1) > primitive-property:nth-child(4) .d-block:nth-child(2)", "css:finder"], @@ -992,7 +1107,7 @@ }, { "id": "5279bf64-46c1-4376-a527-e19e217b42fa", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=object-property:nth-child(1) > primitive-property:nth-child(5) .d-block:nth-child(2)", "targets": [ ["css=object-property:nth-child(1) > primitive-property:nth-child(5) .d-block:nth-child(2)", "css:finder"], diff --git a/backend/src/integration/resources/SHIBUI-1335-1.side b/backend/src/integration/resources/SHIBUI-1335-1.side new file mode 100644 index 000000000..68908b777 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1335-1.side @@ -0,0 +1,1708 @@ +{ + "id": "57bde36d-15e6-4364-b117-4fb36e1e4941", + "version": "2.0", + "name": "SHIBUI-1335-1", + "url": "http://localhost:10101", + "tests": [{ + "id": "d87336f9-5279-422f-bf4d-73403f34fc85", + "name": "SHIBUI-1335-1", + "commands": [{ + "id": "2f6aa07a-6a16-439f-8c16-9822163c7b61", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "f1c7d7be-3f12-43f3-8646-ba7294416beb", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "f293afde-ce8a-4b85-9a19-fb77f21df988", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "358c31ea-fab8-4709-9b25-d9e5e82e123c", + "comment": "", + "command": "click", + "target": "name=submit", + "targets": [ + ["name=submit", "name"], + ["css=td:nth-child(1) > input", "css:finder"], + ["xpath=//input[@name='submit']", "xpath:attributes"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "fdea3214-f0e0-4f13-9d5d-e07ef92d71f1", + "comment": "", + "command": "click", + "target": "css=#addNewDropdown", + "targets": [ + ["css=#addNewDropdown > translate-i18n", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], + ["xpath=//translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2c40ac99-5e92-4c1c-923a-5a6100cadf43", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "7a42de04-995f-45aa-ba3f-095900a564ec", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "b2725ef6-b394-4f87-a2a5-031be085cedb", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field4", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "File Backed HTTP Metadata Provider" + }, { + "id": "ca36b018-a4df-43d1-9fbd-973d6653d3e0", + "comment": "", + "command": "select", + "target": "id=/type", + "targets": [ + ["id=/type", "id"], + ["name=field2", "name"], + ["css=#\\/type", "css:finder"], + ["xpath=//select[@id='/type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=FileBackedHttpMetadataProvider" + }, { + "id": "e5d1d696-3029-4f9d-ad53-2e60b4789935", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "352f066f-c2af-4735-81b1-5440ba7a3432", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "e7462621-f4e4-4512-b200-20afa5685fc6", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field7", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "12345" + }, { + "id": "7bfaa2a7-c66d-4e36-b1f4-1de30b02ebd0", + "comment": "", + "command": "type", + "target": "id=/metadataURL", + "targets": [ + ["id=/metadataURL", "id"], + ["name=field8", "name"], + ["css=#\\/metadataURL", "css:finder"], + ["xpath=//input[@id='/metadataURL']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "047e1ea4-e28c-4b1b-86fc-ff19a3c0efcc", + "comment": "", + "command": "click", + "target": "id=/initializeFromBackupFile.false", + "targets": [ + ["id=/initializeFromBackupFile.false", "id"], + ["css=#\\/initializeFromBackupFile\\.false", "css:finder"], + ["xpath=//input[@id='/initializeFromBackupFile.false']", "xpath:attributes"], + ["xpath=//div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "34124b74-7b90-424a-9219-1f0bfbf06b70", + "comment": "", + "command": "type", + "target": "id=/backingFile", + "targets": [ + ["id=/backingFile", "id"], + ["name=field10", "name"], + ["css=#\\/backingFile", "css:finder"], + ["xpath=//input[@id='/backingFile']", "xpath:attributes"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo.txt" + }, { + "id": "91a96cbd-57f4-4dc2-8f75-eb3e96526ae7", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "0668032d-608b-4a01-9ac8-e4e2ac058294", + "comment": "", + "command": "click", + "target": "css=.btn-outline-secondary", + "targets": [ + ["css=.btn-outline-secondary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/backupFileInitNextRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "19657c78-782d-4046-abce-64093bd17fa7", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "35dfa0f8-c0f2-4356-a6b0-18b5dc35337b", + "comment": "", + "command": "click", + "target": "id=/backupFileInitNextRefreshDelay__option--1", + "targets": [ + ["id=/backupFileInitNextRefreshDelay__option--1", "id"], + ["css=#\\/backupFileInitNextRefreshDelay__option--1", "css:finder"], + ["xpath=//li[@id='/backupFileInitNextRefreshDelay__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/backupFileInitNextRefreshDelay__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b4d0a551-3bc1-466f-b204-ec7164af44ec", + "comment": "", + "command": "click", + "target": "id=/failFastInitialization.false", + "targets": [ + ["id=/failFastInitialization.false", "id"], + ["css=#\\/failFastInitialization\\.false", "css:finder"], + ["xpath=//input[@id='/failFastInitialization.false']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "bef80dbb-25a6-4381-8b0e-331faaeb4392", + "comment": "", + "command": "click", + "target": "id=/satisfyAnyPredicates.true", + "targets": [ + ["id=/satisfyAnyPredicates.true", "id"], + ["css=#\\/satisfyAnyPredicates\\.true", "css:finder"], + ["xpath=//input[@id='/satisfyAnyPredicates.true']", "xpath:attributes"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "d0af8425-5f4c-4037-a549-52553b828179", + "comment": "", + "command": "pause", + "target": "1000", + "targets": [], + "value": "" + }, { + "id": "9fe532ee-4ce6-4ff8-ab6c-ea92eb527ded", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "44e705a1-f284-4303-a0b6-c4bc9896c78d", + "comment": "", + "command": "pause", + "target": "1000", + "targets": [], + "value": "" + }, { + "id": "91c42709-f202-48eb-bd7f-389ec454b86b", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "824b4515-ae14-436e-a56f-d631ea9e1edc", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/minRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "12ba0481-b236-495c-b2a3-a665c5eec502", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "9ee7065a-823e-4b4a-b212-0582eeaf7a00", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--0", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--0", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay__option--0", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__listbox']/li", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'PT0S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1e063a3c-c3c9-4ab6-9e7b-a7fb4d785288", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "618cc5f1-417b-4bc6-9388-3238f2304904", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "0b129e41-adb3-47ef-a2b4-34899ca6d8fb", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "a89f1b4d-10bd-48f7-9b97-865710cfe01f", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay__option--2", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "143b781c-56ae-48c6-a7f5-8c93953f6095", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field20", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "dcd01c7a-f733-4977-9cc2-e9084903e079", + "comment": "", + "command": "type", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field20", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "0.5" + }, { + "id": "b7522094-c53a-4e79-8c7c-e38a3b2615f4", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "faf43746-1293-437f-a1ce-63145f5d6135", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "363af92e-0327-47b9-918c-1560adab40cc", + "comment": "", + "command": "click", + "target": "css=.btn-outline-secondary", + "targets": [ + ["css=.btn-outline-secondary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a14576bb-2d15-4e51-89c6-b8289311e58a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "a4470d6f-04a7-4c4b-8c1e-70cff2f35e8a", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1", + "targets": [ + ["id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1", "id"], + ["css=#\\/metadataFilters\\/RequiredValidUntil\\/maxValidityInterval__option--1", "css:finder"], + ["xpath=//li[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'P14D')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4530c1b4-8f27-4272-9633-c792a3a54f90", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/SignatureValidation/requireSignedRoot", + "targets": [ + ["css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/SignatureValidation/requireSignedRoot.parent']/label", "xpath:idRelative"], + ["xpath=//div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Require Signed Root')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "10cd8cee-fc6a-4e5b-a11b-a7b0a9338f5d", + "comment": "", + "command": "type", + "target": "id=/metadataFilters/SignatureValidation/certificateFile", + "targets": [ + ["id=/metadataFilters/SignatureValidation/certificateFile", "id"], + ["name=field27", "name"], + ["css=#\\/metadataFilters\\/SignatureValidation\\/certificateFile", "css:finder"], + ["xpath=//input[@id='/metadataFilters/SignatureValidation/certificateFile']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo2.txt" + }, { + "id": "a3ce889f-0607-4071-bd39-25b169c30114", + "comment": "", + "command": "click", + "target": "css=div:nth-child(3) > sf-form-element .bg-light", + "targets": [ + ["css=div:nth-child(3) > sf-form-element .bg-light", "css:finder"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/fieldset-object/div/div/fieldset/div", "xpath:position"] + ], + "value": "" + }, { + "id": "f205ec23-b433-44bb-af80-e72330b4c7a3", + "comment": "", + "command": "click", + "target": "css=.fa-plus", + "targets": [ + ["css=.fa-plus", "css:finder"], + ["xpath=//array-component/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4dae6914-ae68-45e2-b332-cc4c1ac71e43", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/0", + "targets": [], + "value": "label=SPSSODescriptor" + }, { + "id": "4b257d69-1948-4c5f-a88d-b1bfa8f2ba72", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: md:SPSSODescriptor']", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/0']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'SPSSODescriptor')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d47fc8b5-4062-4813-90a8-cdc91b777f1d", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "442c5b8d-f108-488e-8779-06171f5081f6", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/1", + "targets": [], + "value": "label=AttributeAuthorityDescriptor" + }, { + "id": "42eddc22-9eed-41d1-aaee-2d4a1d933fa9", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(3)", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(3)", "css:finder"], + ["xpath=(//option[@value='2: md:AttributeAuthorityDescriptor'])[2]", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/1']/option[3]", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/select-component/div/select/option[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "4ebbc08c-ee24-43d8-8c2d-b639a625189c", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeRolelessEntityDescriptors\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeRolelessEntityDescriptors\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/EntityRoleWhiteList/removeRolelessEntityDescriptors.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Roleless Entity Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1c23c527-46e7-4fe6-8f60-37833af073c8", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeEmptyEntitiesDescriptors\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeEmptyEntitiesDescriptors\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/EntityRoleWhiteList/removeEmptyEntitiesDescriptors.parent']/label", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Empty Entities Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ee3d0257-56e2-402d-8fef-c21c8e62b9fe", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "7cd861ea-d86c-4faa-a07b-c1508811b506", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//div[@id='/enabled.parent']/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Enable this service?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0c112a41-8feb-42da-a58b-8fc04e9a3bf6", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "12673aa7-fc4e-4877-9842-a9d88dbc2d97", + "comment": "", + "command": "click", + "target": "linkText=File Backed HTTP Metadata Provider", + "targets": [ + ["linkText=File Backed HTTP Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'File Backed HTTP Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/da22a0b7-40d7-418c-bbe9-7ba4c37d3905/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'File Backed HTTP Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "daa2d46a-d238-4a48-aca7-0f34c9b93d5f", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2) > translate-i18n", + "targets": [ + ["css=.btn:nth-child(2) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/button/translate-i18n", "xpath:idRelative"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Filters')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d86e9a98-a0a1-4696-b454-1bca1d01f9d0", + "comment": "", + "command": "click", + "target": "css=#filters .actions span", + "targets": [ + ["css=#filters .actions span", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a/span", "xpath:idRelative"], + ["xpath=//div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dc41b26d-b101-4ead-866f-482df0bfee04", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "49fe7508-4f42-4eae-a47d-85a0983efb64", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8a52ad88-b583-41b7-92a6-bdb185b03a06", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "b1c779b1-d3ed-47cc-bc88-e5c280161c32", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field37", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Entity Attributes Filter" + }, { + "id": "9ac14c43-206b-4a60-8e58-c4ce64efa2c8", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "a10a6faf-90cd-4713-8ea3-60c768ed935e", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.valuedd", + "targets": [ + ["id=/entityAttributesFilterTarget.valuedd", "id"], + ["css=#\\/entityAttributesFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/entityAttributesFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1f54a508-0b40-4dc0-b6e0-706971fb19bf", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "1f2b93b8-23ae-4a9c-b015-96ca890ae150", + "comment": "", + "command": "click", + "target": "linkText=Regex", + "targets": [ + ["linkText=Regex", "linkText"], + ["css=.dropdown-item:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b2a41370-db61-4bae-a5f7-a8c5e852e15e", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "5c2ed93d-3630-408c-bb89-0b2baffb73c0", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["name=script", "name"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "6dec176f-0c5a-4982-867e-087342c90987", + "comment": "", + "command": "sendKeys", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [], + "value": "/foo.*/" + }, { + "id": "f4e6e8a5-0040-4aac-a0f9-9b49abbd9568", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "603aff60-cf79-4804-90c5-2ffd0f5ef550", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/signAssertion\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/signAssertion\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/signAssertion.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Sign the Assertion?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9456ba02-3dd6-4305-a0d3-f031e1e79b16", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/dontSignResponse\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/dontSignResponse\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/dontSignResponse.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "a1ce4398-4f95-498c-b01b-2f25e1fd3380", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/turnOffEncryption.parent']/label", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Turn off Encryption of Response?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dcaa766a-3800-4412-9631-0f279e23bf41", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/useSha.parent']/label", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Use SHA1 Signing Algorithm?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c7a9bd88-9198-4ce0-8ae0-618b90fd787a", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/ignoreAuthenticationMethod\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/ignoreAuthenticationMethod\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/ignoreAuthenticationMethod.parent']/label", "xpath:idRelative"], + ["xpath=//div[5]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Ignore any SP-Requested Authentication Method?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c806723d-9713-4710-96e2-6410b79895c0", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/omitNotBefore\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/omitNotBefore\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/omitNotBefore.parent']/label", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Omit Not Before Condition?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1c7d678e-5b74-4542-bf6c-a64d0117f831", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/responderId", + "targets": [ + ["id=/relyingPartyOverrides/responderId", "id"], + ["name=field50", "name"], + ["css=#\\/relyingPartyOverrides\\/responderId", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/responderId']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "id-123" + }, { + "id": "027b4448-eaf6-4f24-ae2f-5b592db910ed", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1bb700ae-08eb-403c-b3ba-0090132b69ff", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "fd1af538-1b5b-4d6a-b56b-d56e7f01bb40", + "comment": "", + "command": "click", + "target": "css=.fa-caret-down", + "targets": [ + ["css=.fa-caret-down", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/0-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "6afaa45d-1beb-4f15-8810-278af7489657", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "cc233154-4159-425b-8ac5-761c26a0de15", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/0__option--0", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/0__option--0", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/0__listbox']/li", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "d8e3df44-0db6-458e-b133-36b7ec08fbb7", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .btn", + "targets": [ + ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], + ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "3395ec88-2d19-4785-99f9-3921dddfba28", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "562c7f9f-1e55-432a-8fff-0cae15b23a33", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/nameIdFormats\\/1-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/1-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/1-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "c80afbe5-2c88-4207-b133-6d151fea12a8", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "f5f27af2-b869-4b99-a3d9-3efce014be06", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/1__option--1", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/1__option--1", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/1__option--1", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/1__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/1__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "4e595806-b2c6-43c6-bd1f-78e659f795e4", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5e26a17f-98e4-4adc-b851-4e854228ebba", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "b717af46-a3c1-40f2-ac1a-2c7f84fbf33f", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/nameIdFormats\\/2-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/2-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/2-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "d07e6da7-ed28-4460-914a-eb355b3a2de3", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "4655a981-c5d6-4b48-aad2-77295dc37859", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/2__option--2", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/2__option--2", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/2__option--2", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/2__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/2__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "9902d02a-d7f7-4424-92f4-2a6072916421", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "605d3970-c910-4bec-accd-d7c4d0334f91", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "df07e4c7-8e0f-4eed-ab58-42e2b5bcfc93", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/nameIdFormats\\/3-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/3-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/3-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "0ef4ae64-3b16-4488-b19e-629162a9c84d", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "cd34bc8a-564b-4d15-90c9-f09e12d7e078", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/3__option--3", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/3__option--3", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/3__option--3", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/3__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/3__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "624fd275-3ee2-4cd0-890a-4ae22b152ed4", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e6c3d2db-386e-4b9b-a160-c091b025c1b9", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/nameIdFormats/4", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/4", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/4", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/nameIdFormats/4']", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/4-container']/div/input", "xpath:idRelative"], + ["xpath=//li[5]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] + ], + "value": "nameIdFormat" + }, { + "id": "82093807-448e-4a25-96bf-ed1dfca77452", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "1acc3e01-45ae-4c6d-9291-165affb7306f", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "fcd7d891-5ea4-45a6-8554-4298ec5804c9", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[8]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "faf08fb6-7c62-465c-b198-6da8ef3a1dd5", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "9bb8951c-c932-4236-89d8-9d2c8d49a702", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/0__option--0", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/0__option--0", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/0__listbox']/li", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "743e6d84-98b7-461a-8fb9-05826abb8e22", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "926e66e1-3bcb-41bd-a6a8-83ed90ceab59", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "81517bc9-7996-46be-9dfe-9eea57f0e616", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/authenticationMethods\\/1-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/1-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[9]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/1-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8343153e-ade7-4713-a9f6-079b0bfbac44", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "8f00493c-94ef-4182-8423-5d23bd01136f", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/1__option--1", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/1__option--1", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/1__option--1", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/1__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/1__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "7a3a49b4-4348-4318-a35c-ba0a2192e811", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "b9b5a336-2b99-4315-8c14-13ee1c5af2ed", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "c2f97ae8-fddf-4e48-b961-1d4154ceae9f", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/authenticationMethods\\/2-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/2-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[10]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/2-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "39a8ea0f-a57a-49b6-b640-7b608eb29b88", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "3dcbc6b1-2571-4ab8-9014-66b19727fe0a", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/2__option--2", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/2__option--2", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/2__option--2", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/2__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/2__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "efad42c9-5d79-42f6-a348-54ba5fe59e9d", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "9a7b2bfe-8702-40be-a6fe-a76b9a01cdde", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/authenticationMethods/3", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/3", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/3", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/authenticationMethods/3']", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/3-container']/div/input", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] + ], + "value": "someOverride" + }, { + "id": "82bf7075-6128-4471-a631-c8e4c3525eea", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/forceAuthn.parent']/label", "xpath:idRelative"], + ["xpath=//div[10]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Force AuthN')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4098e48d-eef1-42e8-a1a4-e4eb48f5f9bd", + "comment": "", + "command": "click", + "target": "css=.fa-check", + "targets": [ + ["css=.fa-check", "css:finder"], + ["xpath=//button[@id='/attributeRelease.checkall']/i", "xpath:idRelative"], + ["xpath=//td[2]/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "2c3908a1-3fbf-4bbe-8611-fb8a87da1a66", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c49e62e6-f8b6-44b9-be12-5329e8bc5495", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//a[contains(@href, '/metadata/provider/d71151a4-a27d-4cb9-bd96-882280454c4a/filter/new')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "097ea9f6-e75c-41a3-b4e9-a4a80a866802", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=NameIDFormat" + }, { + "id": "9cf1a2b7-f951-4908-9ffe-dfcd3258a48d", + "comment": "", + "command": "click", + "target": "css=option:nth-child(3)", + "targets": [ + ["css=option:nth-child(3)", "css:finder"], + ["xpath=//option[@value='NameIDFormat']", "xpath:attributes"], + ["xpath=//option[3]", "xpath:position"], + ["xpath=//option[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4a663db9-9f10-4b12-9cb9-61aa01ecc0c0", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "92fdc836-2479-4faa-9e3d-447f5b82cc11", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field65", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Name ID Format Filter" + }, { + "id": "563c9606-0174-4432-877a-ad769eb3206a", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "abfa17d5-ebfe-4bb2-b64a-ef5f127bac86", + "comment": "", + "command": "click", + "target": "id=/nameIdFormatFilterTarget.valuedd", + "targets": [ + ["id=/nameIdFormatFilterTarget.valuedd", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/nameIdFormatFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "43878e34-28cc-424f-9044-87b8cb61db03", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "6040112e-86c4-4e98-b258-79d7e61dfb6d", + "comment": "", + "command": "click", + "target": "linkText=Entity ID", + "targets": [ + ["linkText=Entity ID", "linkText"], + ["css=.show > .dropdown-item:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'Entity ID')]", "xpath:link"], + ["xpath=//a[contains(@href, '#')]", "xpath:href"], + ["xpath=//div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "70eba7e8-d84f-4b65-b5e8-d1523514dd29", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "bba23377-23a1-46d5-b044-15047a08ee53", + "comment": "", + "command": "type", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [ + ["id=/nameIdFormatFilterTarget.target", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/nameIdFormatFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "6fbb57d1-0fc6-42bc-86ca-4a5fe872ea34", + "comment": "", + "command": "click", + "target": "css=.btn-success:nth-child(1)", + "targets": [ + ["css=.btn-success:nth-child(1)", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fa75b464-10a7-43da-939e-550e88748eb6", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a721538a-5f95-4567-8d7c-5851f67f3ae0", + "comment": "", + "command": "click", + "target": "css=#\\/removeExistingFormats\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/removeExistingFormats\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/removeExistingFormats.parent']/label", "xpath:idRelative"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Existing Formats?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "78c6d6fc-a3e6-4ae7-9f62-49b64c457232", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.array-add-button", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1503abb6-b674-495f-922b-f2ba07bb46bd", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "76b5506e-ebd3-416b-9a2d-391d39b8b282", + "comment": "", + "command": "click", + "target": "css=.input-group-append > .btn", + "targets": [ + ["css=.input-group-append > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/formats/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e71b7c21-86c7-46e1-8451-4005940dbf02", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "ee812306-8d00-4162-9d92-eb598802f4bc", + "comment": "", + "command": "click", + "target": "id=/formats/0__option--0", + "targets": [ + ["id=/formats/0__option--0", "id"], + ["css=#\\/formats\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/formats/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/0__listbox']/li", "xpath:idRelative"], + ["xpath=//datalist-component/div/auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "ddcda076-a6d1-4a6f-861d-c32642305841", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "da1e1b22-55cb-4934-9d0c-8955e5434289", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "1f3cca46-1bf0-469f-9ac5-6481c8447633", + "comment": "", + "command": "click", + "target": "css=#\\/formats\\/1-container .btn", + "targets": [ + ["css=#\\/formats\\/1-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='/formats/1-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "65b07bc0-3c1d-4eeb-b268-baa2f2a0992c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "aa0cb8e5-a5b5-4956-91dc-d25ea30ff87a", + "comment": "", + "command": "click", + "target": "id=/formats/1__option--1", + "targets": [ + ["id=/formats/1__option--1", "id"], + ["css=#\\/formats\\/1__option--1", "css:finder"], + ["xpath=//li[@id='/formats/1__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/1__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "233f96b6-032e-40c4-8232-dc65583830fc", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.array-add-button", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "43200793-5c4c-47dd-93b7-7bdd138eb6d4", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "f313f186-80e1-42ea-9b19-c59efe66a92d", + "comment": "", + "command": "click", + "target": "css=#\\/formats\\/2-container .btn", + "targets": [ + ["css=#\\/formats\\/2-container .fa", "css:finder"], + ["xpath=//div[@id='/formats/2-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "26e1228a-a453-4f79-bd7d-222f50e21b69", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "bf10f8f1-f5b8-43f5-b1d8-6e4e67e92621", + "comment": "", + "command": "click", + "target": "id=/formats/2__option--2", + "targets": [ + ["id=/formats/2__option--2", "id"], + ["css=#\\/formats\\/2__option--2", "css:finder"], + ["xpath=//li[@id='/formats/2__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/2__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "be2cee3b-966a-47e8-8907-9d21bb63a61c", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "0502f5d7-bc0a-4b4c-b0d0-5cf159dd0492", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "823e4972-3bdd-4286-a22d-8805adef4f2c", + "comment": "", + "command": "click", + "target": "css=#\\/formats\\/3-container .btn", + "targets": [ + ["css=#\\/formats\\/3-container .fa", "css:finder"], + ["xpath=//div[@id='/formats/3-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "55751a6d-974e-45cb-83fa-cea50fd6612c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "3cba2ead-22cd-4bc9-b0ca-bb1f5ebb10a2", + "comment": "", + "command": "click", + "target": "id=/formats/3__option--3", + "targets": [ + ["id=/formats/3__option--3", "id"], + ["css=#\\/formats\\/3__option--3", "css:finder"], + ["xpath=//li[@id='/formats/3__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/3__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "e793e30f-cefa-4a31-9a92-56c49c87b339", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "f0ae75e7-b2c0-49fa-9806-23f4f228e3e1", + "comment": "", + "command": "type", + "target": "id=/formats/4", + "targets": [ + ["id=/formats/4", "id"], + ["css=#\\/formats\\/4", "css:finder"], + ["xpath=//input[@id='/formats/4']", "xpath:attributes"], + ["xpath=//div[@id='/formats/4-container']/div/input", "xpath:idRelative"], + ["xpath=//li[5]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] + ], + "value": "name id format" + }, { + "id": "3a97e6c5-badb-45c8-b6e5-a7e8462ee77f", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c28d683a-552d-4752-aa89-465e33d60887", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "100902ee-6d6e-4148-a69b-b37746a4ad6e", + "comment": "", + "command": "assertText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(3)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'Entity Attributes Filter')]", "xpath:innerText"] + ], + "value": "Entity Attributes Filter" + }, { + "id": "9cc5dbab-bb39-455d-9338-6bdd054841e0", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "febfcea8-8f72-4a17-b1a8-b1e323c8cced", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "c9d498da-9f59-40ae-b5d4-cae397a13766", + "comment": "", + "command": "assertText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(3)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'Name ID Format Filter')]", "xpath:innerText"] + ], + "value": "Name ID Format Filter" + }, { + "id": "1b05bac6-3412-4f4d-b168-0f7fb124e5d0", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4fdc2334-0b93-4f4c-b44e-80656f808f6d", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "441608df-24a3-4a60-bfce-50a90ff0ee16", + "comment": "", + "command": "assertText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(3)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'Entity Attributes Filter')]", "xpath:innerText"] + ], + "value": "Entity Attributes Filter" + }] + }], + "suites": [{ + "id": "248ba015-77cd-430f-b973-d14fd4f39a27", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["d87336f9-5279-422f-bf4d-73403f34fc85"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1335-2.side b/backend/src/integration/resources/SHIBUI-1335-2.side new file mode 100644 index 000000000..a91a6a6d9 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1335-2.side @@ -0,0 +1,805 @@ +{ + "id": "57bde36d-15e6-4364-b117-4fb36e1e4941", + "version": "2.0", + "name": "SHIBUI-1335-2", + "url": "http://localhost:10101", + "tests": [{ + "id": "d87336f9-5279-422f-bf4d-73403f34fc85", + "name": "SHIBUI-1335-2", + "commands": [{ + "id": "7e3c1218-65cd-4730-b715-ca9c922d75d3", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "4a52ace7-3b8c-44f1-8686-89f59a83b968", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "e9e6c795-7a41-4231-86b5-6a6c5d013aa2", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "185a1e41-d3a3-4627-aae2-7f05059e9c7d", + "comment": "", + "command": "click", + "target": "name=submit", + "targets": [ + ["name=submit", "name"], + ["css=td:nth-child(1) > input", "css:finder"], + ["xpath=//input[@name='submit']", "xpath:attributes"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "94e01321-ac2d-427f-89a5-7f816cea0f00", + "comment": "", + "command": "click", + "target": "css=#addNewDropdown > translate-i18n", + "targets": [ + ["css=#addNewDropdown > translate-i18n", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], + ["xpath=//translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c65500ae-3b08-4c22-8c88-b4116d6e0c9b", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "c5ec3177-5a66-4901-a644-8c6cfbb99254", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "d093ad38-ab2d-4441-a60b-2c094d6938f9", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field4", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Filesystem Metadata Provider" + }, { + "id": "aac150b1-6140-476b-8bdb-ebb83a14812d", + "comment": "", + "command": "select", + "target": "id=/type", + "targets": [ + ["id=/type", "id"], + ["name=field2", "name"], + ["css=#\\/type", "css:finder"], + ["xpath=//select[@id='/type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=FilesystemMetadataProvider" + }, { + "id": "7a60cb3c-ed3c-495c-8329-2fe52e72cceb", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8cbc5dce-126e-4fb6-afcd-9651d9be6ba2", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "c140099c-f6e3-4600-92b3-5b97e07a95ee", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field7", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "12345" + }, { + "id": "e2e3a3e4-196c-483d-ac52-de4027636a05", + "comment": "", + "command": "type", + "target": "id=/metadataFile", + "targets": [ + ["id=/metadataFile", "id"], + ["name=field8", "name"], + ["css=#\\/metadataFile", "css:finder"], + ["xpath=//input[@id='/metadataFile']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/metadata.txt" + }, { + "id": "5f32dd3f-a1d0-4ca3-9f2d-8a9cc6141004", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "46a436e6-c122-4e28-b09c-0383ec5eb204", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "8197c49f-a70f-46dd-919e-58fff0e14075", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/minRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ed02df07-4c70-4824-b4f8-e642a1b4e0c3", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "0f1a7a34-0955-45bb-bd2a-a5e4f246869b", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--1", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--1", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay__option--1", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1887c6e3-9748-42fc-938e-14c5567d2f41", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "64d0912a-0244-4f5e-818f-17000c01477b", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "21c54b64-910a-4a9d-b96c-ec9ede9e7f51", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "80a08176-de7d-4938-8d49-1d296a8ba27c", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay__option--2", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "f5d73c96-8567-40da-8c7e-be7524050cb8", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field14", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "85e3eefd-43e7-43b7-b33e-a2c75149ba0c", + "comment": "", + "command": "type", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field14", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "0.5" + }, { + "id": "9c67eec5-eb13-4aaa-9071-e23abb1b7c4b", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "c5fbaf24-139b-4886-a437-ef41a695bbc9", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//div[@id='/enabled.parent']/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Metadata Provider?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7fcdaee3-5714-4c5a-93a7-b1b15c6b24e1", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//span[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "27c0717e-f477-448b-8091-3bb2f3e6080f", + "comment": "", + "command": "waitForElementVisible", + "target": "css=td:nth-child(3)", + "targets": [], + "value": "10000" + }, { + "id": "20f7b832-ec52-450a-8224-399f0d4de0a0", + "comment": "", + "command": "assertText", + "target": "css=td:nth-child(3)", + "targets": [ + ["css=td:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'FilesystemMetadataResolver')]", "xpath:innerText"] + ], + "value": "FilesystemMetadataResolver" + }, { + "id": "7548f260-d328-4b47-97ed-cf6df394b6bc", + "comment": "", + "command": "click", + "target": "linkText=Filesystem Metadata Provider", + "targets": [ + ["linkText=Filesystem Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Filesystem Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/5ddf2624-1a30-4709-8873-35bbba4a372f/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Filesystem Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "11d71ffb-3372-41cb-9832-72755ef298b5", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2) > translate-i18n", + "targets": [ + ["css=.btn:nth-child(2) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/button/translate-i18n", "xpath:idRelative"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Filters')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b7312cb1-744c-429f-a6fa-58635f7a1fea", + "comment": "", + "command": "click", + "target": "css=#filters .actions span", + "targets": [ + ["css=#filters .actions span", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a/span", "xpath:idRelative"], + ["xpath=//div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2ba34b77-bac1-48f4-b2ef-c3a4f93e9b51", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "73f3151e-9a9f-4f6c-b3d4-93560b3e42bb", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a8ee94c0-d4f2-47f1-974e-09308193e6dd", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "3edb4fc7-f24c-440b-8403-974304f0b4ac", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field18", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Entity Attributes" + }, { + "id": "36dac228-9203-4f2e-a623-db41ef8c019f", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "f2c07797-07f6-4325-8c5f-57a676dc982c", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.valuedd", + "targets": [ + ["id=/entityAttributesFilterTarget.valuedd", "id"], + ["css=#\\/entityAttributesFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/entityAttributesFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1c424cfa-8201-40df-b8ed-ddec065dfd66", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "bca61e15-7c13-4007-8c90-1a667bbef67d", + "comment": "", + "command": "click", + "target": "linkText=Regex", + "targets": [ + ["linkText=Regex", "linkText"], + ["css=.dropdown-item:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "98f6eea0-36ff-449c-b042-98b87f0d3a70", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "e0c65de5-d74a-4d87-aca0-9e9f4b37fb36", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["name=script", "name"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "70a43e87-7180-4761-8f64-d69c7c7557e5", + "comment": "", + "command": "sendKeys", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [], + "value": "/foo.*/" + }, { + "id": "ce3cf65a-40bd-43fe-beb7-dc3e1d79927b", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2eea7d5e-e992-4c85-94da-4537e4863228", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/signAssertion\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/signAssertion\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/signAssertion.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Sign the Assertion?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f34181b8-eac5-4ce7-8776-0f87cf938503", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/dontSignResponse\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/dontSignResponse\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/dontSignResponse.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "06699eac-9dcc-46ea-a520-bd8117deab97", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/turnOffEncryption.parent']/label", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Turn off Encryption of Response?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "891515dc-c75b-45f7-b33e-05760891e9aa", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/forceAuthn.parent']/label", "xpath:idRelative"], + ["xpath=//div[10]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Force AuthN')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1c315922-1f5a-43a5-97fd-1767f3392471", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(5) .custom-control-label", + "targets": [ + ["css=tr:nth-child(5) .custom-control-label", "css:finder"], + ["xpath=//tr[5]/td[2]/fieldset/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Toggle givenName')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9569fc2c-5b8d-4724-bf1c-5a2a9af253bd", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(9) .custom-control-label", + "targets": [ + ["css=tr:nth-child(9) .custom-control-label", "css:finder"], + ["xpath=//tr[9]/td[2]/fieldset/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Toggle eduPersonEntitlement')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f2cfdab4-af65-45b5-b62a-56935ae15637", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "86d92dcf-e856-4578-8a0d-25b4121ad69e", + "comment": "", + "command": "waitForElementVisible", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//a[contains(@href, '/metadata/provider/45943457-0dd0-486b-b111-19ae6dd6896c/filter/new')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "10000" + }, { + "id": "bc3e5810-89fb-42de-92da-e9336b29ebd3", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//a[contains(@href, '/metadata/provider/dbc814ac-890b-4f11-b3e0-3a2d667fa5cd/filter/new')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "094ce013-936c-4479-9c5b-ba26db4d05c9", + "comment": "", + "command": "waitForElementVisible", + "target": "name=type", + "targets": [ + ["name=type", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//select[@name='type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "10000" + }, { + "id": "f6d537b3-74ab-430f-9688-b7c90516cfc0", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=NameIDFormat" + }, { + "id": "471c00e2-52d8-4cf7-a071-00b50c98bf9e", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "8b0dfae1-5e58-4943-ae62-cad5d32ea203", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field37", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Name ID Filter" + }, { + "id": "ec49b089-a390-4cff-904f-363d3a57cb76", + "comment": "", + "command": "click", + "target": "id=/nameIdFormatFilterTarget.valuedd", + "targets": [ + ["id=/nameIdFormatFilterTarget.valuedd", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/nameIdFormatFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "56abaabc-0c96-428c-9070-62a79ba90c6c", + "comment": "", + "command": "click", + "target": "linkText=Entity ID", + "targets": [ + ["linkText=Entity ID", "linkText"], + ["css=.show > .dropdown-item:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'Entity ID')]", "xpath:link"], + ["xpath=//a[contains(@href, '#')]", "xpath:href"], + ["xpath=//div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3f8bc2f3-ee80-410f-aa5d-33aea08bf991", + "comment": "", + "command": "type", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [ + ["id=/nameIdFormatFilterTarget.target", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/nameIdFormatFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "unicon" + }, { + "id": "7129e60b-fecc-436f-b055-0f377ade83f8", + "comment": "", + "command": "click", + "target": "css=.btn-success:nth-child(1)", + "targets": [ + ["css=.btn-success:nth-child(1)", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "93a29942-d580-412b-b151-9961fd1495d0", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c0ab05f8-13f7-4e4a-bf02-2118629eca43", + "comment": "", + "command": "click", + "target": "css=.btn-success > translate-i18n", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "f0b7296b-004d-445e-9ebd-6bbd9052b30f", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "028122a4-7a5c-4ee9-afb9-5f7d491cc9bd", + "comment": "", + "command": "click", + "target": "css=.input-group-append > .btn", + "targets": [ + ["css=.input-group-append > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/formats/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e3c2c21f-408c-48f2-a2dd-9241123f0ead", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "e50612f4-b0e4-4749-99ec-5c67e66cd398", + "comment": "", + "command": "click", + "target": "id=/formats/0__option--1", + "targets": [ + ["id=/formats/0__option--1", "id"], + ["css=#\\/formats\\/0__option--1", "css:finder"], + ["xpath=//li[@id='/formats/0__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/0__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "952930b1-160e-42cd-9be5-c44f397a1451", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "eca1d3dd-9e47-49d2-b4a1-a45c2b6c8c3a", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "d722902b-5c10-45dc-99df-d96f46e78313", + "comment": "", + "command": "assertText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "EntityAttributes" + }, { + "id": "c8d9bc5a-4b7e-4178-8aba-8b8280506c20", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "d25400e1-127e-4b8c-b7e2-ade937cfd5a0", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "d7909094-96ce-4532-98b4-446cc013c9c8", + "comment": "", + "command": "assertText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "NameIDFormat" + }] + }], + "suites": [{ + "id": "248ba015-77cd-430f-b973-d14fd4f39a27", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["d87336f9-5279-422f-bf4d-73403f34fc85"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1335-3.side b/backend/src/integration/resources/SHIBUI-1335-3.side new file mode 100644 index 000000000..b45dde65e --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1335-3.side @@ -0,0 +1,951 @@ +{ + "id": "57bde36d-15e6-4364-b117-4fb36e1e4941", + "version": "2.0", + "name": "SHIBUI-1335-3", + "url": "http://localhost:10101", + "tests": [{ + "id": "d87336f9-5279-422f-bf4d-73403f34fc85", + "name": "SHIBUI-1335-3", + "commands": [{ + "id": "7e3c1218-65cd-4730-b715-ca9c922d75d3", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "4a52ace7-3b8c-44f1-8686-89f59a83b968", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "e9e6c795-7a41-4231-86b5-6a6c5d013aa2", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "185a1e41-d3a3-4627-aae2-7f05059e9c7d", + "comment": "", + "command": "click", + "target": "name=submit", + "targets": [ + ["name=submit", "name"], + ["css=td:nth-child(1) > input", "css:finder"], + ["xpath=//input[@name='submit']", "xpath:attributes"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "94e01321-ac2d-427f-89a5-7f816cea0f00", + "comment": "", + "command": "click", + "target": "css=#addNewDropdown > translate-i18n", + "targets": [ + ["css=#addNewDropdown > translate-i18n", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], + ["xpath=//translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c65500ae-3b08-4c22-8c88-b4116d6e0c9b", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "c5ec3177-5a66-4901-a644-8c6cfbb99254", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "d093ad38-ab2d-4441-a60b-2c094d6938f9", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field4", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Local Dynamic Metadata Provider" + }, { + "id": "aac150b1-6140-476b-8bdb-ebb83a14812d", + "comment": "", + "command": "select", + "target": "id=/type", + "targets": [ + ["id=/type", "id"], + ["name=field2", "name"], + ["css=#\\/type", "css:finder"], + ["xpath=//select[@id='/type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=LocalDynamicMetadataProvider" + }, { + "id": "7a60cb3c-ed3c-495c-8329-2fe52e72cceb", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8cbc5dce-126e-4fb6-afcd-9651d9be6ba2", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "c140099c-f6e3-4600-92b3-5b97e07a95ee", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field7", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "12345" + }, { + "id": "e2e3a3e4-196c-483d-ac52-de4027636a05", + "comment": "", + "command": "type", + "target": "id=/sourceDirectory", + "targets": [ + ["id=/sourceDirectory", "id"], + ["name=field8", "name"], + ["css=#\\/sourceDirectory", "css:finder"], + ["xpath=//input[@id='/sourceDirectory']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo" + }, { + "id": "5f32dd3f-a1d0-4ca3-9f2d-8a9cc6141004", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "0586f02c-c210-4e44-9a86-3e914bc94f3b", + "comment": "", + "command": "type", + "target": "id=/dynamicMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field11", "name"], + ["css=#\\/dynamicMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "0.5" + }, { + "id": "ed3a2cad-339d-4cd6-b724-395057670e51", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "1a8a9dcf-9c6b-4802-8483-981d14131346", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/minCacheDuration-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2d40e408-16c8-4eba-ae11-bc836c534c58", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "443a9cfc-17c8-49da-9d87-bfabda8fd0b6", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/minCacheDuration__option--0", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/minCacheDuration__option--0", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration__option--0", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/minCacheDuration__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/minCacheDuration__listbox']/li", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'PT0S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0b259df7-d713-4d4a-b9c3-ffe0b1c0ecf5", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "84f35d35-ea9c-4a06-aaec-bee1c1922aec", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/maxCacheDuration-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "032f1b9b-640c-4f77-a61a-3bc2127b447e", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "c03be15d-ee34-4cd1-bac9-c52e3baa70a3", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--2", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--2", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration__option--2", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "508576b2-18ca-4360-ab90-fc0bf4b83cab", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "f0cdfbcf-46e2-4013-b085-0730b0127842", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "6ac213ff-c86b-4724-9f80-a50989f00369", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "dd663319-7eef-4301-a0d4-24d9583eab7f", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData__option--1", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "25ed1d75-be93-4e20-88ba-57d8ae7bf053", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/removeIdleEntityData.false", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/removeIdleEntityData.false", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/removeIdleEntityData\\.false", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/removeIdleEntityData.false']", "xpath:attributes"], + ["xpath=//div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "c0be0f29-02f9-46f1-9b65-0f2c9c310246", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "54df6d88-1a85-407f-935a-a016f5952a93", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "9a756ef8-7633-43c2-ac27-48f2bd41ad15", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "e7f2439a-e9a1-4b23-b0b9-d992f5b477d4", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval__option--3", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "64af203b-565c-4e35-b7da-4646423a3279", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "d02ae356-8086-4794-97ba-980fc75cca79", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//div[@id='/enabled.parent']/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Metadata Provider?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dc60328b-d6e0-4f62-96c5-012f0fb5edc4", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "02e53e75-003b-42ce-8522-817d52ad16a3", + "comment": "", + "command": "waitForElementVisible", + "target": "css=td:nth-child(3)", + "targets": [], + "value": "10000" + }, { + "id": "7d059a57-60f7-4729-95af-b36619b98694", + "comment": "", + "command": "assertText", + "target": "css=td:nth-child(3)", + "targets": [ + ["css=td:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'LocalDynamicMetadataResolver')]", "xpath:innerText"] + ], + "value": "LocalDynamicMetadataResolver" + }, { + "id": "15912a4b-c036-4886-9577-312bf6816943", + "comment": "", + "command": "click", + "target": "linkText=Local Dynamic Metadata Provider", + "targets": [ + ["linkText=Local Dynamic Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Local Dynamic Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/dff5232d-66fb-4623-b25e-85c24df5ede4/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Local Dynamic Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "feb08e76-e553-4505-bffe-07f3e77206d0", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2)", + "targets": [ + ["css=.btn:nth-child(2) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/button/translate-i18n", "xpath:idRelative"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Filters')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2afa209b-d09b-468e-8cc3-d549abb3be4a", + "comment": "", + "command": "click", + "target": "css=#filters .actions span", + "targets": [ + ["css=#filters .actions span", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a/span", "xpath:idRelative"], + ["xpath=//div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c4e0394c-ba68-4e75-8d20-174a91fad2f5", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "5f1229fb-9185-40cf-bd65-76435d93d7df", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "03f838cb-2aea-40fa-b549-8263aa2046cf", + "comment": "", + "command": "click", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field20", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "ad127dfe-2cae-4693-b65f-e35c0655e9eb", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field20", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Entity Attributes Filter" + }, { + "id": "0065c161-84c6-4cd0-8b69-b257ec572915", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "15d90ee0-b1cc-4fae-abec-ae80d93db1c1", + "comment": "", + "command": "type", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "unicon" + }, { + "id": "1d754809-177b-47f9-98e6-5e757713d834", + "comment": "", + "command": "click", + "target": "css=.btn-success:nth-child(1)", + "targets": [ + ["css=.btn-success:nth-child(1)", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "72c2bc1d-f96f-497b-bbd8-b2e254fae6b6", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1e74f318-f78c-4e64-8ac7-fc999df0dd19", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/turnOffEncryption.parent']/label", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Turn off Encryption of Response?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d05f7295-35b2-42ba-98d0-1c9673846190", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/useSha.parent']/label", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Use SHA1 Signing Algorithm?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "82bbe8c4-e66c-470d-bdf6-9cd3337b4a3e", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/responderId", + "targets": [ + ["id=/relyingPartyOverrides/responderId", "id"], + ["name=field33", "name"], + ["css=#\\/relyingPartyOverrides\\/responderId", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/responderId']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "2e4c1077-cd2f-4298-969f-e945e2d68636", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/responderId", + "targets": [ + ["id=/relyingPartyOverrides/responderId", "id"], + ["name=field33", "name"], + ["css=#\\/relyingPartyOverrides\\/responderId", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/responderId']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "responder" + }, { + "id": "14785e6f-8ab8-47e0-b16e-8e736638d8c8", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "1e7c0ceb-f555-497d-a465-92df7d67b40a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "3e162911-9775-4d01-8802-63f5638c7cba", + "comment": "", + "command": "click", + "target": "css=.input-group-append > .btn", + "targets": [ + ["css=.input-group-append > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a9c5ad9d-05ab-4b47-9e0d-c4e81d28c87e", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "ab2594b3-45a8-43f7-885b-270239a46628", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/0__option--0", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/0__option--0", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/0__listbox']/li", "xpath:idRelative"], + ["xpath=//datalist-component/div/auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "dd4e22ff-aa54-40c0-b5c2-6a5b79845062", + "comment": "", + "command": "click", + "target": "css=.fa-check", + "targets": [ + ["css=.fa-check", "css:finder"], + ["xpath=//button[@id='/attributeRelease.checkall']/i", "xpath:idRelative"], + ["xpath=//td[2]/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "1c4c90ac-b644-4033-8ebc-07a8cd1bdbdd", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "af17a3a7-f292-4c22-8f2f-3d3bf1938fc1", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.td-lg:nth-child(4)", + "targets": [], + "value": "10000" + }, { + "id": "2b9c0a43-fd7a-4ffa-bfef-a7fc41746e16", + "comment": "", + "command": "assertText", + "target": "css=.td-lg:nth-child(4)", + "targets": [ + ["css=.td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "EntityAttributes" + }, { + "id": "a0e16e8d-91c9-416c-b1c1-a2898bfbd185", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//a[contains(@href, '/metadata/provider/ceb1cfdd-26c1-4134-baab-1438190ae9bd/filter/new')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "11fd3e95-ce05-4ad0-8238-c34b696003cd", + "comment": "", + "command": "click", + "target": "name=type", + "targets": [ + ["name=type", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//select[@name='type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "" + }, { + "id": "0b68dd82-e9a5-447f-b062-9f7849529bcc", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=NameIDFormat" + }, { + "id": "e85fde4c-cdbf-41c6-89e7-d4b281a16219", + "comment": "", + "command": "click", + "target": "css=option:nth-child(3)", + "targets": [ + ["css=option:nth-child(3)", "css:finder"], + ["xpath=//option[@value='NameIDFormat']", "xpath:attributes"], + ["xpath=//option[3]", "xpath:position"], + ["xpath=//option[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a058bf22-7d07-4850-8004-8a85a2016d25", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "8a94f318-76bb-49f1-90d5-b2dcbcb1ff80", + "comment": "", + "command": "click", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field40", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "9bd2419e-c4f5-4dd2-9fb8-278d70be987b", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field40", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Name ID Format Filter" + }, { + "id": "03d1d74e-efa5-4d0e-a780-900449bb4ac5", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "9b9d7604-7025-4ccb-bb95-862f57f696f1", + "comment": "", + "command": "click", + "target": "id=/nameIdFormatFilterTarget.valuedd", + "targets": [ + ["id=/nameIdFormatFilterTarget.valuedd", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/nameIdFormatFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5cda2bf9-f169-4e37-8071-a6f8d1d1407d", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "9e84c57f-c33d-48f8-85ac-ed50751eb37b", + "comment": "", + "command": "click", + "target": "linkText=Regex", + "targets": [ + ["linkText=Regex", "linkText"], + ["css=.dropdown-item:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "82336d07-df2f-416e-b5c3-59eaf64a82d4", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "f3bc22e2-0e3a-4d58-b992-31d687148c57", + "comment": "", + "command": "sendKeys", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [], + "value": "/foo.*/" + }, { + "id": "343b40b9-87df-46ab-b3ef-285e4e5ed784", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6ce98c83-68b8-45c0-834e-cc40af11fc29", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "17f77efb-f64a-4a64-8c48-36830a087dbb", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "a7aa04e7-b909-42cf-85ed-adbff0adefce", + "comment": "", + "command": "click", + "target": "css=.input-group-append > .btn", + "targets": [ + ["css=.input-group-append > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/formats/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d1fa4a9b-80bd-4ad7-989e-1e5b56893bbc", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "8b7b79fd-2405-4ab6-8f91-4906f663cd1e", + "comment": "", + "command": "click", + "target": "id=/formats/0__option--1", + "targets": [ + ["id=/formats/0__option--1", "id"], + ["css=#\\/formats\\/0__option--1", "css:finder"], + ["xpath=//li[@id='/formats/0__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/0__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "6d4c2c20-0855-4cdf-8e4d-dbbd6afb328b", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "455e24c1-5093-4da3-a62d-457bbf0cd5db", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "9f7e95cf-4dd5-415f-8577-a6f1bc54a85d", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "afb97ce0-665f-4469-9aad-d17349c491cd", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "4a73b268-7d33-4e8c-8fa4-cb059be9768f", + "comment": "", + "command": "assertText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "NameIDFormat" + }, { + "id": "63ac7307-0538-4c0d-8e98-2f05c767baaf", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "5037edea-9d8f-496d-aedc-70b8763d5de2", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "ed8e07ff-0dce-47d6-8310-f1920bfe1367", + "comment": "", + "command": "assertText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "EntityAttributes" + }] + }], + "suites": [{ + "id": "248ba015-77cd-430f-b973-d14fd4f39a27", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["d87336f9-5279-422f-bf4d-73403f34fc85"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1335-4.side b/backend/src/integration/resources/SHIBUI-1335-4.side new file mode 100644 index 000000000..5a633603f --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1335-4.side @@ -0,0 +1,1097 @@ +{ + "id": "57bde36d-15e6-4364-b117-4fb36e1e4941", + "version": "2.0", + "name": "SHIBUI-1335-4", + "url": "http://localhost:10101", + "tests": [{ + "id": "d87336f9-5279-422f-bf4d-73403f34fc85", + "name": "SHIBUI-1335-4", + "commands": [{ + "id": "7e3c1218-65cd-4730-b715-ca9c922d75d3", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "4a52ace7-3b8c-44f1-8686-89f59a83b968", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "e9e6c795-7a41-4231-86b5-6a6c5d013aa2", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "185a1e41-d3a3-4627-aae2-7f05059e9c7d", + "comment": "", + "command": "click", + "target": "name=submit", + "targets": [ + ["name=submit", "name"], + ["css=td:nth-child(1) > input", "css:finder"], + ["xpath=//input[@name='submit']", "xpath:attributes"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "94e01321-ac2d-427f-89a5-7f816cea0f00", + "comment": "", + "command": "click", + "target": "css=#addNewDropdown > translate-i18n", + "targets": [ + ["css=#addNewDropdown > translate-i18n", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], + ["xpath=//translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c65500ae-3b08-4c22-8c88-b4116d6e0c9b", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "c5ec3177-5a66-4901-a644-8c6cfbb99254", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "d093ad38-ab2d-4441-a60b-2c094d6938f9", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field4", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Dynamic Http Metadata Provider" + }, { + "id": "aac150b1-6140-476b-8bdb-ebb83a14812d", + "comment": "", + "command": "select", + "target": "id=/type", + "targets": [ + ["id=/type", "id"], + ["name=field2", "name"], + ["css=#\\/type", "css:finder"], + ["xpath=//select[@id='/type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=DynamicHttpMetadataProvider" + }, { + "id": "7a60cb3c-ed3c-495c-8329-2fe52e72cceb", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8cbc5dce-126e-4fb6-afcd-9651d9be6ba2", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "c140099c-f6e3-4600-92b3-5b97e07a95ee", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field7", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "12345" + }, { + "id": "d8716eae-bb36-42ae-b505-2626c5a8c377", + "comment": "", + "command": "select", + "target": "id=/metadataRequestURLConstructionScheme/type", + "targets": [], + "value": "label=MetadataQueryProtocol" + }, { + "id": "326f3387-12c8-4294-843c-182fd8d06c46", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: MetadataQueryProtocol']", "xpath:attributes"], + ["xpath=//select[@id='/metadataRequestURLConstructionScheme/type']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'MetadataQueryProtocol')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "516d7e81-3672-4dd7-811b-70ee38c21e52", + "comment": "", + "command": "click", + "target": "id=/metadataRequestURLConstructionScheme/content", + "targets": [ + ["id=/metadataRequestURLConstructionScheme/content", "id"], + ["name=field10", "name"], + ["css=#\\/metadataRequestURLConstructionScheme\\/content", "css:finder"], + ["xpath=//input[@id='/metadataRequestURLConstructionScheme/content']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "7b60ce4c-a16c-4bc5-9d9c-999f9fc6b197", + "comment": "", + "command": "type", + "target": "id=/metadataRequestURLConstructionScheme/content", + "targets": [ + ["id=/metadataRequestURLConstructionScheme/content", "id"], + ["name=field10", "name"], + ["css=#\\/metadataRequestURLConstructionScheme\\/content", "css:finder"], + ["xpath=//input[@id='/metadataRequestURLConstructionScheme/content']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "randomString" + }, { + "id": "cd0d4f15-2193-4814-8e72-f38d9d2221e2", + "comment": "", + "command": "click", + "target": "id=/requireValidMetadata.false", + "targets": [ + ["id=/requireValidMetadata.false", "id"], + ["css=#\\/requireValidMetadata\\.false", "css:finder"], + ["xpath=//input[@id='/requireValidMetadata.false']", "xpath:attributes"], + ["xpath=//div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "3b83fa2b-147f-4b7b-9b30-44c28b07576e", + "comment": "", + "command": "click", + "target": "id=/failFastInitialization.false", + "targets": [ + ["id=/failFastInitialization.false", "id"], + ["css=#\\/failFastInitialization\\.false", "css:finder"], + ["xpath=//input[@id='/failFastInitialization.false']", "xpath:attributes"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "175324e0-025d-4674-a3ee-51307a215079", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "30565900-4c02-4cb0-9d5a-c980349307ea", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field15", "name"], + ["css=#\\/dynamicMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "5b6ea5bf-d5c1-4d5e-bc15-ffabf67f74ec", + "comment": "", + "command": "type", + "target": "id=/dynamicMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field15", "name"], + ["css=#\\/dynamicMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "0.5" + }, { + "id": "45ebbdf0-1a4b-43ef-bba4-2302208653b2", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "a51172e3-792f-4881-8083-efcb34c63e56", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/minCacheDuration-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "07e1ade9-022c-4458-ba65-b7eecb4f8c0b", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "b1ec3405-0d75-45d6-8986-51c2f09c4dc4", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/minCacheDuration__option--1", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/minCacheDuration__option--1", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration__option--1", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/minCacheDuration__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/minCacheDuration__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c64e2180-1b40-4bb9-8910-25a51438f27c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "2793bf1b-177b-461f-b06c-0a584ab6eaf0", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/maxCacheDuration-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "dc45395b-a584-4b7d-8c12-b6d0e669031a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "87084a6a-8e89-4c00-a3d9-c104107a3ba2", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--3", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--3", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration__option--3", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "239001d8-35ff-41d0-95cf-7e81917a9e19", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "4c017bde-e242-4d2f-838e-a2a026e4292b", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "57ea5bd7-1ee0-41d9-b39e-56aeddeec7a0", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "d477fd6a-2c15-4fb6-a199-d49aa495ef94", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--2", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--2", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData__option--2", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "0783a0de-0a8d-4cc2-adc4-6ed94f277298", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "62f7ce3c-5cff-43c6-8ce6-a0e6bf2b2257", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "a155f0af-2dd4-4906-a783-19a99d23a6a8", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "bf855df4-326e-484e-9022-d2c84e09e6f3", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval__option--3", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "df2a3e70-d7d3-487b-a205-218e9987b060", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory", "id"], + ["name=field21", "name"], + ["css=#\\/dynamicMetadataResolverAttributes\\/persistentCacheManagerDirectory", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b25d9d91-b8f2-46ad-ac79-cbac34fa3f91", + "comment": "", + "command": "type", + "target": "id=/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory", "id"], + ["name=field21", "name"], + ["css=#\\/dynamicMetadataResolverAttributes\\/persistentCacheManagerDirectory", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/cache" + }, { + "id": "5b546b6b-ee98-4852-8ffd-b95f7e68d954", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/initializeFromPersistentCacheInBackground.false", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/initializeFromPersistentCacheInBackground.false", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/initializeFromPersistentCacheInBackground\\.false", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/initializeFromPersistentCacheInBackground.false']", "xpath:attributes"], + ["xpath=//div[8]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "5743cab2-018a-4706-b052-0d26c8e1e963", + "comment": "", + "command": "click", + "target": "css=.label:nth-child(1)", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//li[3]/button/span", "xpath:position"] + ], + "value": "" + }, { + "id": "bf17ff0c-363f-43d6-91ba-4f8131c35ada", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "b777b343-71a0-4056-a85e-d8d548b993b2", + "comment": "", + "command": "click", + "target": "css=.btn-outline-secondary", + "targets": [ + ["css=.btn-outline-secondary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7a7f2f9c-0f95-4a5c-89c3-299a212f2fb9", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "22f7bf37-718c-4126-867b-67a383eefff5", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--2", + "targets": [ + ["id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--2", "id"], + ["css=#\\/metadataFilters\\/RequiredValidUntil\\/maxValidityInterval__option--2", "css:finder"], + ["xpath=//li[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[3]", "xpath:position"], + ["xpath=//li[contains(.,'PT1M')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5320f384-0881-4e7a-b89f-33a57efb22ba", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/SignatureValidation/requireSignedRoot", + "targets": [ + ["css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/SignatureValidation/requireSignedRoot.parent']/label", "xpath:idRelative"], + ["xpath=//div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Require Signed Root')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f60a2a6e-2739-4da6-8e94-a5f0e7cf70de", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/SignatureValidation/certificateFile", + "targets": [ + ["id=/metadataFilters/SignatureValidation/certificateFile", "id"], + ["name=field30", "name"], + ["css=#\\/metadataFilters\\/SignatureValidation\\/certificateFile", "css:finder"], + ["xpath=//input[@id='/metadataFilters/SignatureValidation/certificateFile']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "d1402eee-5e5c-4634-ac31-6843ed775bb8", + "comment": "", + "command": "type", + "target": "id=/metadataFilters/SignatureValidation/certificateFile", + "targets": [ + ["id=/metadataFilters/SignatureValidation/certificateFile", "id"], + ["name=field30", "name"], + ["css=#\\/metadataFilters\\/SignatureValidation\\/certificateFile", "css:finder"], + ["xpath=//input[@id='/metadataFilters/SignatureValidation/certificateFile']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/cert.key" + }, { + "id": "581415bb-bd83-4bc8-9417-da0a9781c7bd", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6e976ed9-98a5-4e5d-8151-13a6c8498155", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/0", + "targets": [], + "value": "label=SPSSODescriptor" + }, { + "id": "4c21b4c9-6f8e-4520-b55c-9b945b97de01", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: SPSSODescriptor']", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/0']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'SPSSODescriptor')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b027e53b-bdf7-40e5-a296-6f25eae50732", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/EntityRoleWhiteList/removeRolelessEntityDescriptors", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeRolelessEntityDescriptors\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/EntityRoleWhiteList/removeRolelessEntityDescriptors.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Roleless Entity Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "939aa904-89cf-4063-9b95-15eeb6f2d43c", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "c4d98111-537a-45a1-9bfd-e8d780a0c0b3", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//div[@id='/enabled.parent']/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Metadata Provider?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a57a12dd-b641-46eb-afce-4c7be5a8f180", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "ae27b108-a2f4-4d4b-b375-b582ccc0ef56", + "comment": "", + "command": "waitForElementVisible", + "target": "css=td:nth-child(3)", + "targets": [], + "value": "10000" + }, { + "id": "8c52471a-70f5-43aa-b670-6f8d22e18668", + "comment": "", + "command": "assertText", + "target": "css=td:nth-child(3)", + "targets": [ + ["css=td:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'DynamicHttpMetadataResolver')]", "xpath:innerText"] + ], + "value": "DynamicHttpMetadataResolver" + }, { + "id": "76629f3d-b0a3-40ac-b848-da22b0933c31", + "comment": "", + "command": "click", + "target": "linkText=Dynamic Http Metadata Provider", + "targets": [ + ["linkText=Dynamic Http Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Dynamic Http Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/f5bb61ac-54fe-427e-8b6b-2fcdd66ba175/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Dynamic Http Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "31a8587f-8ac0-4512-98ec-6cd230dfb0b6", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2) > translate-i18n", + "targets": [ + ["css=.btn:nth-child(2) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/button/translate-i18n", "xpath:idRelative"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Filters')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fb7aea4e-7991-482c-b673-de998c20129c", + "comment": "", + "command": "click", + "target": "css=#filters .actions span", + "targets": [ + ["css=#filters .actions span", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a/span", "xpath:idRelative"], + ["xpath=//div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "990cf83b-5650-4b03-8b41-bdb5560a60fa", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "5d3daf7a-a4e0-4767-a1ef-2416270bfae4", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f013d7b6-96c3-4155-ac1e-cff223e5e547", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "a58e088d-329b-4cfb-949b-eea9fdbdad37", + "comment": "", + "command": "click", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field39", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "60177908-3143-407a-8bdf-a045463d5490", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field39", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Entity Attributes Filter" + }, { + "id": "67d52837-5e50-487c-a744-9ee0ea39f5b7", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "3512eb60-34d4-455b-8a2c-e6c98d382cac", + "comment": "", + "command": "type", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "unicon" + }, { + "id": "a9d49b1c-c794-4c54-83ea-c61bd3011dba", + "comment": "", + "command": "click", + "target": "css=.btn-success:nth-child(1)", + "targets": [ + ["css=.btn-success:nth-child(1)", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dff6b5d5-02ae-41a1-bae4-6ce39aeca199", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "356339ea-0caf-406a-a2d6-b3eb991b7af6", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/omitNotBefore\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/omitNotBefore\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/omitNotBefore.parent']/label", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Omit Not Before Condition?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fdb64234-9424-4e0d-8be0-dd7c43859de3", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/forceAuthn.parent']/label", "xpath:idRelative"], + ["xpath=//div[10]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Force AuthN')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c722da17-b739-4fa6-b731-8b347e3c96e3", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1abe39e3-d7f2-447f-aff4-3382cc648e29", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "93505bd6-8a5e-4ef0-8f50-d2dc9bce71d6", + "comment": "", + "command": "click", + "target": "css=.input-group-append > .btn", + "targets": [ + ["css=.input-group-append > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "70e68495-a52f-4c3b-aeb4-fac69e8cda96", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "b269b8f4-8191-47c1-a84a-5b64df6aadcb", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/0__option--2", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/0__option--2", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/0__option--2", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/0__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/0__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "c4431fc6-cbd3-4b7b-b1fd-b30141aa2af8", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(6) .custom-control-label", + "targets": [ + ["css=tr:nth-child(6) .custom-control-label", "css:finder"], + ["xpath=//tr[6]/td[2]/fieldset/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Toggle eduPersonAffiliation')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7b22d9b0-81f4-47c6-91f1-713c89cf9dd1", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(7) .custom-control-label", + "targets": [ + ["css=tr:nth-child(7) .custom-control-label", "css:finder"], + ["xpath=//tr[7]/td[2]/fieldset/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Toggle eduPersonScopedAffiliation')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ad3ec36d-6e6a-4650-b7a1-0c8efaaeabe3", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(8) .custom-control-label", + "targets": [ + ["css=tr:nth-child(8) .custom-control-label", "css:finder"], + ["xpath=//tr[8]/td[2]/fieldset/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Toggle eduPersonPrimaryAffiliation')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "25090cbb-9e11-4938-b44e-70326857422d", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "772bafa8-7089-4895-a66b-0d3c333c7245", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.td-lg:nth-child(4)", + "targets": [], + "value": "10000" + }, { + "id": "e9f4ddf4-db8a-4bda-88cc-66173717986c", + "comment": "", + "command": "assertText", + "target": "css=.td-lg:nth-child(4)", + "targets": [ + ["css=.td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "EntityAttributes" + }, { + "id": "9a99cc7c-55e1-4f62-bf18-e5936e8a98a7", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//div[2]/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "30bd8306-1aa2-4151-9076-68ce955052c3", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=NameIDFormat" + }, { + "id": "a0388dc6-4668-48bb-ab21-2ecaaade5ff0", + "comment": "", + "command": "click", + "target": "css=option:nth-child(3)", + "targets": [ + ["css=option:nth-child(3)", "css:finder"], + ["xpath=//option[@value='NameIDFormat']", "xpath:attributes"], + ["xpath=//option[3]", "xpath:position"], + ["xpath=//option[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "be76769e-6422-4b1f-a2e4-00a32d394057", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field59", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Name ID Format Filter" + }, { + "id": "dbae3f45-d828-4a82-bc01-a1e48381fa2e", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "81373637-8e36-4736-9b2a-7b8d477dc2c1", + "comment": "", + "command": "click", + "target": "id=/nameIdFormatFilterTarget.valuedd", + "targets": [ + ["id=/nameIdFormatFilterTarget.valuedd", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/nameIdFormatFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7cf83d2f-841e-48f3-997e-3dfedfb47dec", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "f562c710-39fc-490d-80c9-d3525722397c", + "comment": "", + "command": "click", + "target": "linkText=Regex", + "targets": [ + ["linkText=Regex", "linkText"], + ["css=.dropdown-item:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0f4f0257-b63c-4724-b308-f54acf2afc2b", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "c5dc3e04-eb5a-4885-92ed-3425da3026e6", + "comment": "", + "command": "sendKeys", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [], + "value": "/foo.*/" + }, { + "id": "d2cbc813-89e5-4801-a9fe-5e0e775a419f", + "comment": "", + "command": "click", + "target": "css=#\\/removeExistingFormats\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/removeExistingFormats\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/removeExistingFormats.parent']/label", "xpath:idRelative"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Existing Formats?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "77dfeb05-38e3-4ef8-9566-06e7597d464c", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f79371b5-0081-45a0-bfb3-c403db903043", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "a8ed628c-53f7-4551-9ce8-fef976cc96ce", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "6b3ec8f1-8b9a-40f5-816f-3a1e415b9d8d", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "be805934-2692-4a1c-a28f-afb3cc4eb5f4", + "comment": "", + "command": "assertText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "NameIDFormat" + }, { + "id": "039aff93-c0de-40fb-a1c9-e22ffbf7e1da", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "403570ff-e1f0-4db9-925f-f90c5994b60e", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "8f2da627-e8ad-473a-a71a-bec5dd1f0999", + "comment": "", + "command": "assertText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "EntityAttributes" + }] + }], + "suites": [{ + "id": "248ba015-77cd-430f-b973-d14fd4f39a27", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["d87336f9-5279-422f-bf4d-73403f34fc85"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1352-1.side b/backend/src/integration/resources/SHIBUI-1352-1.side index 653013789..bc65110d2 100644 --- a/backend/src/integration/resources/SHIBUI-1352-1.side +++ b/backend/src/integration/resources/SHIBUI-1352-1.side @@ -104,7 +104,7 @@ "id": "fd4257d7-488a-4eed-8d72-7f39034a1c72", "comment": "", "command": "select", - "target": "id=/@type", + "target": "id=/type", "targets": [ ["id=/@type", "id"], ["name=field2", "name"], @@ -211,6 +211,13 @@ ["xpath=//input", "xpath:position"] ], "value": "0.5" + }, { + "id": "b0ba61cf-ebb5-41f7-b512-63ca2cd0e478", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "59ca3a2c-b9da-4ac6-9b44-d44271355659", "comment": "", @@ -224,6 +231,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "bf63096b-b796-4a70-bc98-96a18dc0531e", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "8db04a8f-565a-4fa9-b5c0-8ce4b200b11c", "comment": "", @@ -239,17 +253,12 @@ ], "value": "" }, { - "id": "5ac765a9-4850-4a48-b0b4-6ea52003e5a4", + "id": "33586d4c-c18b-4081-add7-43ef4d6d8ef8", "comment": "", - "command": "waitForElementEditable", - "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", - "targets": [ - ["css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], - ["xpath=//div[@id='/dynamicMetadataResolverAttributes/maxCacheDuration-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] - ], - "value": "10000" + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "a5274853-084e-438f-8cea-9a74e55fd0b9", "comment": "", @@ -262,6 +271,13 @@ ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "e5c5f95e-79df-4782-82d1-11c96bec4651", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "bf7f5914-5aad-485a-8af0-aa510605e1dc", "comment": "", @@ -275,6 +291,13 @@ ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] ], "value": "" + }, { + "id": "3e4b2db4-f2b8-4d4e-ae6b-17741831dc84", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "b2bd8d25-4f3c-47b2-a070-53a364840916", "comment": "", @@ -287,6 +310,13 @@ ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "2f6feb3c-fc51-410b-abe0-97a4c1a5aa6a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "9a411cfc-479d-4951-aab2-e8d09ba64b4e", "comment": "", @@ -312,6 +342,13 @@ ["xpath=//div[2]/label/input", "xpath:position"] ], "value": "" + }, { + "id": "168acb09-d3c8-44a6-af8a-60c2925dd02d", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "ae32fb25-67b1-469b-9f23-3cbca895b956", "comment": "", @@ -324,6 +361,13 @@ ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "b874867f-a32d-43f8-998b-e99488257fe6", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "c30bf781-4d5d-46ad-9bbc-4a5165788870", "comment": "", @@ -382,7 +426,7 @@ }, { "id": "f0232386-eb88-4f6c-98fa-b9065ed422b7", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "linkText=Test Local Dynamic Provider", "targets": [ ["linkText=Test Local Dynamic Provider", "linkText"], @@ -396,7 +440,7 @@ }, { "id": "5e8993ae-47ee-4e65-b667-b291d7c934ec", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(3)", "targets": [ ["css=td:nth-child(3)", "css:finder"], diff --git a/backend/src/integration/resources/SHIBUI-1352-2.side b/backend/src/integration/resources/SHIBUI-1352-2.side index f36910028..d3cfbd098 100644 --- a/backend/src/integration/resources/SHIBUI-1352-2.side +++ b/backend/src/integration/resources/SHIBUI-1352-2.side @@ -104,7 +104,7 @@ "id": "9621e646-308a-4eda-9244-036e8997467a", "comment": "", "command": "select", - "target": "id=/@type", + "target": "id=/type", "targets": [ ["id=/@type", "id"], ["name=field2", "name"], @@ -197,6 +197,13 @@ ["xpath=//li[3]/button", "xpath:position"] ], "value": "" + }, { + "id": "b2d8c292-1fe1-435b-ad87-28e845825e78", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "d2e09813-fee8-4744-9ac9-72bdbac92b72", "comment": "", @@ -210,6 +217,13 @@ ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], "value": "" + }, { + "id": "71cbee46-51ca-42fa-8ab8-0da3f2d9df59", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "d449fec4-84f9-4eda-98e5-2dc40d185a63", "comment": "", @@ -224,6 +238,13 @@ ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] ], "value": "" + }, { + "id": "5e9f1ec1-5309-4c45-a37a-7ec5a9d058be", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "54784d87-c835-4e3f-9467-9c39be596bb8", "comment": "", @@ -236,6 +257,13 @@ ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] ], "value": "" + }, { + "id": "d94909d2-9f00-4166-918a-837c78838acb", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" }, { "id": "119a39c2-6d86-4d94-a093-6669e89e78e4", "comment": "", @@ -320,7 +348,7 @@ }, { "id": "44749988-e30f-4328-9f78-dc9eaafa891a", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "linkText=Test File System Provider", "targets": [ ["linkText=Test File System Provider", "linkText"], @@ -334,7 +362,7 @@ }, { "id": "6ddcb09b-9d3b-4a13-bb95-1b79028ba2af", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(3)", "targets": [ ["css=td:nth-child(3)", "css:finder"], diff --git a/backend/src/integration/resources/SHIBUI-1361.side b/backend/src/integration/resources/SHIBUI-1361.side new file mode 100644 index 000000000..a406e46d7 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1361.side @@ -0,0 +1,1302 @@ +{ + "id": "6c70c319-3e73-4a13-8ee7-d9da5f802b83", + "version": "2.0", + "name": "SHIBUI-1361", + "url": "http://localhost:10101", + "tests": [{ + "id": "1e7a4ca4-b2e6-4e5a-8e38-823ae8a1e20d", + "name": "SHIBUI-1361", + "commands": [{ + "id": "58401038-5239-4643-b370-d7012a6f9486", + "comment": "", + "command": "store", + "target": "^[A-Z][a-z]{2} [0-9][0-9]?, [0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2}(.*)?$", + "targets": [], + "value": "dateRegex" + }, { + "id": "29bb3186-81c8-4b3e-a9d9-5ff55d225878", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "302b949f-39b8-4060-813b-d827cf62dff4", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "a7910a51-e40e-4cdb-a72e-5f2cfd1b3656", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "6636b5f6-2b97-4be9-9fc7-44d6b48b8abf", + "comment": "", + "command": "sendKeys", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "${KEY_ENTER}" + }, { + "id": "e7a98419-36c7-4b0f-a99d-087144f6a417", + "comment": "", + "command": "click", + "target": "css=.fa-plus-circle", + "targets": [ + ["css=.fa-plus-circle", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/i", "xpath:idRelative"], + ["xpath=//i", "xpath:position"] + ], + "value": "" + }, { + "id": "74fef022-3979-4bed-9226-b25114514976", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "b49d6ed7-75ea-4be8-9a79-c7fd83287aa0", + "comment": "", + "command": "click", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field1", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "54dc29f7-bbe0-4c2b-a76e-e67a61f57a96", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field1", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Metadata Provider" + }, { + "id": "add874d5-e3b2-4412-8039-2b9d2619ed19", + "comment": "", + "command": "select", + "target": "id=/type", + "targets": [ + ["css=select-component > .widget", "css:finder"], + ["xpath=//select-component/div", "xpath:position"] + ], + "value": "label=FileBackedHttpMetadataProvider" + }, { + "id": "1cc352f4-0d71-4a3e-9399-1d9932816efc", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "79f8f28b-8bcf-464a-850f-eb10552a9390", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "86262eda-4a44-41b0-b7aa-fa46406e2601", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=field7", "id"], + ["name=field7", "name"], + ["css=#field7", "css:finder"], + ["xpath=//input[@id='field7']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "123" + }, { + "id": "26cc765d-98c1-414c-97d8-4c7e5c6ab7e2", + "comment": "", + "command": "type", + "target": "id=/metadataURL", + "targets": [ + ["id=field8", "id"], + ["name=field8", "name"], + ["css=#field8", "css:finder"], + ["xpath=//input[@id='field8']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "f0459917-b2a1-4e3c-8800-25273965129f", + "comment": "", + "command": "click", + "target": "id=/initializeFromBackupFile.false", + "targets": [ + ["id=/initializeFromBackupFile.false", "id"], + ["css=#\\/initializeFromBackupFile\\.false", "css:finder"], + ["xpath=//input[@id='/initializeFromBackupFile.false']", "xpath:attributes"], + ["xpath=//div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "5b37cf08-77b9-4091-94f9-c0d539c9010d", + "comment": "", + "command": "type", + "target": "id=/backingFile", + "targets": [ + ["id=/backingFile", "id"], + ["name=field10", "name"], + ["css=#\\/backingFile", "css:finder"], + ["xpath=//input[@id='/backingFile']", "xpath:attributes"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo.txt" + }, { + "id": "bf9467f5-780e-4b7c-8bf6-be062c15f867", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "203d0d3c-d866-422a-8b48-b50181db00e9", + "comment": "", + "command": "click", + "target": "css=.fa-caret-down", + "targets": [ + ["css=.fa-caret-down", "css:finder"], + ["xpath=//div[@id='/backupFileInitNextRefreshDelay-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "55da9393-72e3-47d7-87b0-324d8be38660", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "5fc6a348-0533-4d94-bb76-ebb891a0db8f", + "comment": "", + "command": "click", + "target": "id=/backupFileInitNextRefreshDelay__option--1", + "targets": [ + ["id=/backupFileInitNextRefreshDelay__option--1", "id"], + ["css=#\\/backupFileInitNextRefreshDelay__option--1", "css:finder"], + ["xpath=//li[@id='/backupFileInitNextRefreshDelay__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/backupFileInitNextRefreshDelay__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "bf041d41-5d58-4f69-8fcc-49ec79e5547d", + "comment": "", + "command": "click", + "target": "id=/requireValidMetadata.false", + "targets": [ + ["id=/requireValidMetadata.false", "id"], + ["css=#\\/requireValidMetadata\\.false", "css:finder"], + ["xpath=//input[@id='/requireValidMetadata.false']", "xpath:attributes"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "fba85c75-e218-4deb-b5e1-888ff75b6a4e", + "comment": "", + "command": "click", + "target": "id=/failFastInitialization.false", + "targets": [ + ["id=/failFastInitialization.false", "id"], + ["css=#\\/failFastInitialization\\.false", "css:finder"], + ["xpath=//input[@id='/failFastInitialization.false']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "375b8d6e-179b-4f14-8f00-d8a8cad29d7e", + "comment": "", + "command": "click", + "target": "id=/useDefaultPredicateRegistry.false", + "targets": [ + ["id=/useDefaultPredicateRegistry.false", "id"], + ["css=#\\/useDefaultPredicateRegistry\\.false", "css:finder"], + ["xpath=//input[@id='/useDefaultPredicateRegistry.false']", "xpath:attributes"], + ["xpath=//div[8]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "8b4bf341-62c0-491f-b775-d2faf55477bc", + "comment": "", + "command": "click", + "target": "id=/satisfyAnyPredicates.true", + "targets": [ + ["id=/satisfyAnyPredicates.true", "id"], + ["css=#\\/satisfyAnyPredicates\\.true", "css:finder"], + ["xpath=//input[@id='/satisfyAnyPredicates.true']", "xpath:attributes"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "57ca153c-4121-4531-9ebe-3dfba20fa299", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "135984e0-ceb3-4544-a753-24410762eca4", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "a188bc3e-fd98-4d49-ae35-a0b78a17607c", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/minRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "be2bef00-19c8-4f42-adea-e0ad0d664d23", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "a159e056-c870-4e02-a7e9-4b3a60d83718", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--1", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--1", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay__option--1", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "bd587f8c-de08-4cd7-b81e-9258c2ed6abe", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "7a72cf6a-c97a-49f6-83d0-cbe42f0fdb7d", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .fa", "css:finder"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "5d9a4304-2e48-419b-a98a-3540df439f90", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "820397f5-aabb-46f5-a65a-56747ce29091", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--3", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--3", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay__option--3", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "b036a851-4ac9-43cb-8686-8e78ed940d72", + "comment": "", + "command": "type", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field20", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "0.5" + }, { + "id": "b48d48d8-2fec-4877-85ae-2f94f15e63eb", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "0bc204b3-2adb-4446-899b-0665619aaec1", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "232da257-962f-4a4b-8213-038ef90c96c3", + "comment": "", + "command": "click", + "target": "css=.btn-outline-secondary", + "targets": [ + ["css=.btn-outline-secondary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "763ce787-9ee8-4c78-bff0-d4ad94dff963", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "b8d999f1-0c59-4a9a-9991-91d222f52b8e", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1", + "targets": [ + ["id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1", "id"], + ["css=#\\/metadataFilters\\/RequiredValidUntil\\/maxValidityInterval__option--1", "css:finder"], + ["xpath=//li[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'P14D')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8af1abb5-2c7a-4a4c-a8f7-0eb287100dde", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/SignatureValidation/requireSignedRoot", + "targets": [ + ["css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", "css:finder"], + ["xpath=//div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Require Signed Root')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "323a2a02-9111-4064-8bb0-a3da34330e54", + "comment": "", + "command": "type", + "target": "id=/metadataFilters/SignatureValidation/certificateFile", + "targets": [], + "value": "%{idp.home}/foo.txt" + }, { + "id": "a125e601-f306-441d-9c8c-e97b95817b46", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "74d696db-3f3b-4ff3-a180-34baceb469a2", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/0", + "targets": [], + "value": "label=SPSSODescriptor" + }, { + "id": "532bf2e5-13fc-48d7-b01b-ff16207a554d", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: md:SPSSODescriptor']", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/0']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'SPSSODescriptor')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "12cf80c9-594c-4c4d-bf26-aa36ba636220", + "comment": "", + "command": "click", + "target": "css=.fa-plus", + "targets": [ + ["css=.fa-plus", "css:finder"], + ["xpath=//array-component/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "6cb9854b-293b-482d-8c07-4b7c638d79cb", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(1)", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(1)", "css:finder"], + ["xpath=(//option[@value=''])[2]", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/1']/option", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/select-component/div/select/option", "xpath:position"] + ], + "value": "" + }, { + "id": "f366c86c-1420-4fb7-86c2-82c49d81208d", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/1", + "targets": [], + "value": "label=AttributeAuthorityDescriptor" + }, { + "id": "5dfac033-ecfd-42e8-aa6f-931d5acd4d89", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/EntityRoleWhiteList/removeRolelessEntityDescriptors", + "targets": [ + ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Roleless Entity Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9d5934f0-fe10-4539-9d71-80b454fc8612", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/EntityRoleWhiteList/removeEmptyEntitiesDescriptors", + "targets": [ + ["css=div:nth-child(3) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Empty Entities Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "530234cd-ec70-48f2-9cc6-9e0d848c4b82", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "79b96f40-2677-438a-9564-62df0ea2c116", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [], + "value": "" + }, { + "id": "52f5680c-c63d-411e-8332-52901f12ea3b", + "comment": "", + "command": "assertText", + "target": "css=.px-3:nth-child(1) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", + "targets": [], + "value": "Test Metadata Provider" + }, { + "id": "67ff44aa-1efd-4b13-a0e9-3648a09911dd", + "comment": "", + "command": "assertText", + "target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", + "targets": [], + "value": "123" + }, { + "id": "f5197d46-41a7-4ef2-ac40-19f80c953929", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "1067b0b4-8aff-4972-b6f5-e4479eca9150", + "comment": "", + "command": "waitForElementPresent", + "target": "css=.badge-success", + "targets": [ + ["css=.badge > span", "css:finder"], + ["xpath=//span/span", "xpath:position"] + ], + "value": "10000" + }, { + "id": "f48dd1b5-607a-485b-b1d5-03301f99b9ce", + "comment": "", + "command": "assertText", + "target": "linkText=Test Metadata Provider", + "targets": [], + "value": "Test Metadata Provider" + }, { + "id": "5eccd4e9-a451-4ec8-a9e1-1e1f8e771677", + "comment": "", + "command": "assertText", + "target": "css=td:nth-child(3)", + "targets": [], + "value": "FileBackedHttpMetadataResolver" + }, { + "id": "c768c2c1-09d4-46fe-8007-42fb4b3f4aaa", + "comment": "", + "command": "assertText", + "target": "css=td:nth-child(4)", + "targets": [], + "value": "admin" + }, { + "id": "8283ffc5-d46c-4a07-b95e-1534dfd34c02", + "comment": "", + "command": "click", + "target": "linkText=Test Metadata Provider", + "targets": [ + ["linkText=Test Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/ae086029-5871-4951-bcf0-8903d7a1a1f7/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7a479ab7-f57d-426d-88ce-f11654733f45", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.save-date", + "targets": [], + "value": "10000" + }, { + "id": "fe1e9381-048e-4948-8a9a-f58d8afba258", + "comment": "", + "command": "storeText", + "target": "css=.save-date", + "targets": [], + "value": "saveDate" + }, { + "id": "a7b73d1f-87bb-4364-944a-5097f981b8c9", + "comment": "", + "command": "executeScript", + "target": "return RegExp(${dateRegex}).test(${saveDate});", + "targets": [], + "value": "isDate" + }, { + "id": "d54fd23e-e330-48d3-a1f4-31786b087425", + "comment": "", + "command": "assert", + "target": "isDate", + "targets": [], + "value": "true" + }, { + "id": "67578648-0800-4716-8c0c-27741770249a", + "comment": "", + "command": "click", + "target": "css=.mb-4:nth-child(1) .actions span", + "targets": [ + ["css=.mb-4:nth-child(1) .actions span", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section/div/div/div/button/span", "xpath:idRelative"], + ["xpath=//div/button/span", "xpath:position"], + ["xpath=//span[contains(.,'Edit')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6a917493-6dfa-4126-ba9b-207f9c670867", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "0aae114c-3e79-4d57-8f40-e669887a8545", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "7d641e58-47ce-4d20-908c-e0002ff73cfa", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field38", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "123 v2" + }, { + "id": "ebbac6ca-c3d4-486c-82f6-680842c286eb", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "247b04c1-e690-42bc-ae15-dfbedb44d2e9", + "comment": "", + "command": "click", + "target": "id=/satisfyAnyPredicates.false", + "targets": [ + ["id=/satisfyAnyPredicates.false", "id"], + ["css=#\\/satisfyAnyPredicates\\.false", "css:finder"], + ["xpath=//input[@id='/satisfyAnyPredicates.false']", "xpath:attributes"], + ["xpath=//div[10]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "6806c391-11a9-4f40-8a73-d57ab3304c11", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "5aacc6b8-b509-4405-8755-c60fa3619e67", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7e42b8b2-cc31-4fb5-bcf8-77d8068e2e04", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "cf005a45-74ae-4f7a-a53c-ed59d63f7114", + "comment": "", + "command": "click", + "target": "linkText=Test Metadata Provider", + "targets": [ + ["linkText=Test Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/ae086029-5871-4951-bcf0-8903d7a1a1f7/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8e00ca0d-61e3-413d-8422-a09232049bab", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "ea880e6a-498a-427a-bc08-8058137d62e0", + "comment": "", + "command": "click", + "target": "css=.btn-link:nth-child(1)", + "targets": [ + ["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"], + ["xpath=//div/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "62211421-e36c-426c-80ef-be10ff259d87", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.btn-text", + "targets": [ + ["css=.btn-text", "css:finder"], + ["xpath=//td[4]/button", "xpath:position"], + ["xpath=//button[contains(.,'  Restore')]", "xpath:innerText"] + ], + "value": "10000" + }, { + "id": "271939a6-6196-4c14-aa13-e6c31e0373c2", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "c223e329-733c-41eb-9e85-c6f69a840179", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .custom-control-label", + "targets": [ + ["css=tr:nth-child(1) .custom-control-label", "css:finder"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Check to select')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9b764399-76cc-44e7-8d72-5a3383387a5f", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(2) .custom-control-label", + "targets": [ + ["css=tr:nth-child(2) .custom-control-label", "css:finder"], + ["xpath=//tr[2]/td/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "32ef784f-ccf0-4fd7-afff-40f0ba877dad", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary > translate-i18n", "css:finder"], + ["xpath=//history-list/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Compare Selected')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ce328b6a-f6ee-45e9-975c-5a5608f373dc", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)", + "targets": [], + "value": "10000" + }, { + "id": "68103f0e-e3f1-419b-903d-5d8c30bc6700", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)", + "targets": [], + "value": "123 v2" + }, { + "id": "a13198b9-7827-47e2-ade3-143b981d34ee", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(3)", + "targets": [], + "value": "123" + }, { + "id": "3d83741c-299e-4fcb-9ce6-4b7291c423a4", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(2)", + "targets": [], + "value": "false" + }, { + "id": "190cc157-d427-4046-aff2-180392395ad3", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(3)", + "targets": [], + "value": "true" + }, { + "id": "f6897c4f-763f-4360-95a2-1d144455fa17", + "comment": "", + "command": "click", + "target": "css=.breadcrumb-item > a", + "targets": [ + ["css=.breadcrumb-item > a", "css:finder"], + ["xpath=//a[contains(text(),'Dashboard')]", "xpath:link"], + ["xpath=(//a[contains(@href, '/dashboard')])[2]", "xpath:href"], + ["xpath=//ol/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "41c1d29e-9eaa-41d3-979b-46601fd7a178", + "comment": "", + "command": "click", + "target": "linkText=Metadata Providers", + "targets": [ + ["linkText=Metadata Providers", "linkText"], + ["css=.nav > .nav-item:nth-child(2) > .nav-link", "css:finder"], + ["xpath=//a[contains(text(),'Metadata Providers')]", "xpath:link"], + ["xpath=//a[contains(@href, '/dashboard/metadata/manager/providers')]", "xpath:href"], + ["xpath=//dashboard-page/div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Metadata Providers')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5dd3952e-d716-4d63-8a08-23be4983da23", + "comment": "", + "command": "click", + "target": "linkText=Test Metadata Provider", + "targets": [ + ["linkText=Test Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/eb0ee617-33e2-4a31-83a5-7c42515c3b4f/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c9341f6f-4d13-4378-bb5c-0079e7535008", + "comment": "", + "command": "click", + "target": "css=.mb-4:nth-child(4) .actions span", + "targets": [ + ["css=.mb-4:nth-child(4) .actions span", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section[4]/div/div/div/button/span", "xpath:idRelative"], + ["xpath=//section[4]/div/div/div/button/span", "xpath:position"] + ], + "value": "" + }, { + "id": "78967fb5-8f61-46ce-9c14-9b6ceb12b03a", + "comment": "", + "command": "pause", + "target": "1000", + "targets": [], + "value": "" + }, { + "id": "1cde012c-d521-4fd5-a7d5-7a680bba0e7b", + "comment": "", + "command": "click", + "target": "css=.slider", + "targets": [ + ["css=.slider", "css:finder"], + ["xpath=//toggle-switch[@id='toggle']/label/span", "xpath:idRelative"], + ["xpath=//label/span", "xpath:position"] + ], + "value": "" + }, { + "id": "725d9ec1-3ce1-4a1d-a66a-d54629a9d3b5", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "d00ecf98-7425-467c-acbb-3b39918e3462", + "comment": "", + "command": "click", + "target": "css=#\\/httpMetadataResolverAttributes\\/connectionRequestTimeout-container .btn", + "targets": [ + ["css=#\\/httpMetadataResolverAttributes\\/connectionRequestTimeout-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/httpMetadataResolverAttributes/connectionRequestTimeout-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7379d277-790e-47ca-b74c-fc73cc2d8a42", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "8ba62572-354d-47f4-bb72-f9309c1cb201", + "comment": "", + "command": "click", + "target": "id=/httpMetadataResolverAttributes/connectionRequestTimeout__option--1", + "targets": [ + ["id=/httpMetadataResolverAttributes/connectionRequestTimeout__option--1", "id"], + ["css=#\\/httpMetadataResolverAttributes\\/connectionRequestTimeout__option--1", "css:finder"], + ["xpath=//li[@id='/httpMetadataResolverAttributes/connectionRequestTimeout__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/httpMetadataResolverAttributes/connectionRequestTimeout__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8497a440-4e0c-4589-aaf8-f530dbefb3c7", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "d7406190-0bb0-4df8-9c0b-7e393952b6a2", + "comment": "", + "command": "click", + "target": "css=#\\/httpMetadataResolverAttributes\\/connectionTimeout-container .btn", + "targets": [ + ["css=#\\/httpMetadataResolverAttributes\\/connectionTimeout-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/httpMetadataResolverAttributes/connectionTimeout-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "655375ab-b3e4-449e-acfa-577b0ab4957e", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "337ac160-7990-425f-83da-2788d8a0985e", + "comment": "", + "command": "click", + "target": "id=/httpMetadataResolverAttributes/connectionTimeout__option--2", + "targets": [ + ["id=/httpMetadataResolverAttributes/connectionTimeout__option--2", "id"], + ["css=#\\/httpMetadataResolverAttributes\\/connectionTimeout__option--2", "css:finder"], + ["xpath=//li[@id='/httpMetadataResolverAttributes/connectionTimeout__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/httpMetadataResolverAttributes/connectionTimeout__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "855e85a8-d8c3-4b72-ae8a-763f2d86869a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "19182110-0f86-4601-ae12-0b90967ef68a", + "comment": "", + "command": "click", + "target": "css=#\\/httpMetadataResolverAttributes\\/socketTimeout-container .btn", + "targets": [ + ["css=#\\/httpMetadataResolverAttributes\\/socketTimeout-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='/httpMetadataResolverAttributes/socketTimeout-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "d0befeb0-e5e2-4233-803e-8c417ca570a0", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "34693225-4754-4b27-92ee-3e37304a8cd7", + "comment": "", + "command": "click", + "target": "id=/httpMetadataResolverAttributes/socketTimeout__option--3", + "targets": [ + ["id=/httpMetadataResolverAttributes/socketTimeout__option--3", "id"], + ["css=#\\/httpMetadataResolverAttributes\\/socketTimeout__option--3", "css:finder"], + ["xpath=//li[@id='/httpMetadataResolverAttributes/socketTimeout__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/httpMetadataResolverAttributes/socketTimeout__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "d9a9dcb4-bac1-4f5a-a822-047bd2941df0", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4e2831c6-d1ba-409d-a0cc-7a25dad75421", + "comment": "", + "command": "waitForElementVisible", + "target": "linkText=Test Metadata Provider", + "targets": [], + "value": "10000" + }, { + "id": "8868c054-2e6a-403e-ba2b-499a56730d71", + "comment": "", + "command": "click", + "target": "linkText=Test Metadata Provider", + "targets": [ + ["linkText=Test Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/eb0ee617-33e2-4a31-83a5-7c42515c3b4f/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0092cd5c-a885-4a48-a233-b3af447b02bc", + "comment": "", + "command": "click", + "target": "css=.btn-link:nth-child(1)", + "targets": [ + ["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"], + ["xpath=//div/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ca6537f7-73d1-4f02-ba06-c24f66c569e3", + "comment": "", + "command": "waitForElementVisible", + "target": "css=tr:nth-child(1) a", + "targets": [ + ["css=tr:nth-child(1) a", "css:finder"], + ["xpath=//a[contains(@href, '/metadata/provider/a9294f9e-2e19-4e87-9157-11d86a32f2f9/configuration/options?version=64')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"] + ], + "value": "10000" + }, { + "id": "6620688a-039a-4969-92be-b1fcfc8a4161", + "comment": "", + "command": "storeText", + "target": "css=tr:nth-child(1) a", + "targets": [ + ["linkText=Aug 14, 2019 22:52:11", "linkText"], + ["css=tr:nth-child(2) a", "css:finder"], + ["xpath=//a[contains(text(),'Aug 14, 2019 22:52:11')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/1552c0d4-29ea-4dd2-9296-9bf0280157fa/configuration/options?version=33')]", "xpath:href"], + ["xpath=//tr[2]/td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Aug 14, 2019 22:52:11 ')]", "xpath:innerText"] + ], + "value": "saveDate" + }, { + "id": "910d8bf9-4875-4946-9ab8-0d3a9b13f020", + "comment": "", + "command": "executeScript", + "target": "return RegExp(${dateRegex}).test(${saveDate});", + "targets": [], + "value": "isDate" + }, { + "id": "18458e4b-e414-4125-aa4d-fd27848d3c40", + "comment": "", + "command": "assert", + "target": "isDate", + "targets": [], + "value": "true" + }, { + "id": "48adfc53-ed95-4e59-aa57-45eb57128154", + "comment": "", + "command": "storeText", + "target": "css=tr:nth-child(2) a", + "targets": [ + ["linkText=Aug 14, 2019 22:51:54", "linkText"], + ["css=tr:nth-child(3) a", "css:finder"], + ["xpath=//a[contains(text(),'Aug 14, 2019 22:51:54')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/1552c0d4-29ea-4dd2-9296-9bf0280157fa/configuration/options?version=32')]", "xpath:href"], + ["xpath=//tr[3]/td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Aug 14, 2019 22:51:54 ')]", "xpath:innerText"] + ], + "value": "saveDate" + }, { + "id": "a370624e-a6d6-43d7-a74a-eeb8c577fc06", + "comment": "", + "command": "executeScript", + "target": "return RegExp(${dateRegex}).test(${saveDate});", + "targets": [], + "value": "isDate" + }, { + "id": "21e88ab8-7f11-42ae-8db8-ccc21116c303", + "comment": "", + "command": "assert", + "target": "isDate", + "targets": [], + "value": "true" + }, { + "id": "2a299cc4-7b22-42e6-89cd-4ae0aef8bb27", + "comment": "", + "command": "storeText", + "target": "css=tr:nth-child(3) a", + "targets": [ + ["css=tr:nth-child(3) > td:nth-child(3)", "css:finder"], + ["xpath=//tr[3]/td[3]", "xpath:position"], + ["xpath=//td[contains(.,'Aug 08, 2019 16:09:52')]", "xpath:innerText"] + ], + "value": "saveDate" + }, { + "id": "4b305857-0369-4fad-821c-c944e9801395", + "comment": "", + "command": "executeScript", + "target": "return RegExp(${dateRegex}).test(${saveDate});", + "targets": [], + "value": "isDate" + }, { + "id": "3fd48668-3df2-4264-85c9-01dac26acaee", + "comment": "", + "command": "assert", + "target": "isDate", + "targets": [], + "value": "true" + }, { + "id": "48fc4781-3313-4f56-8546-00e8210d9641", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "2cfe222d-a506-4f2b-8840-4b4a76cf2bfb", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .custom-control-label", + "targets": [ + ["css=tr:nth-child(1) .custom-control-label", "css:finder"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Check to select')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a10e3e37-28f1-403f-b572-8b4020de7904", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(3) .custom-control-label", + "targets": [ + ["css=tr:nth-child(2) .custom-control-label", "css:finder"], + ["xpath=//tr[2]/td/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "d487ae82-707d-4991-8914-89cf181b656e", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//history-list/button", "xpath:position"], + ["xpath=//button[contains(.,'Compare Selected(2)')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9f1380c3-2b99-4b7d-90b7-f20d4fe431d3", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mb-4:nth-child(4) primitive-property:nth-child(2) .d-block:nth-child(2)", + "targets": [], + "value": "10000" + }, { + "id": "8a2c6435-d77b-4c87-8e0e-e1ae6d4629b9", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(4) primitive-property:nth-child(2) .d-block:nth-child(2)", + "targets": [], + "value": "PT30S" + }, { + "id": "0687fe3f-c1af-4a5a-9708-09b7b92734bc", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(4) primitive-property:nth-child(3) .d-block:nth-child(2)", + "targets": [], + "value": "PT1M" + }, { + "id": "a007794f-ab91-47b8-b470-e4294e47a2a7", + "comment": "", + "command": "assertText", + "target": "css=object-property:nth-child(1) > primitive-property:nth-child(4) .d-block:nth-child(2)", + "targets": [], + "value": "PT10M" + }, { + "id": "5279bf64-46c1-4376-a527-e19e217b42fa", + "comment": "", + "command": "assertText", + "target": "css=object-property:nth-child(1) > primitive-property:nth-child(5) .d-block:nth-child(2)", + "targets": [], + "value": "false" + }, { + "id": "cc2f6596-d135-48ef-abab-8f2c4bf44a2c", + "comment": "", + "command": "storeText", + "target": "css=.mb-4:nth-child(1) strong:nth-child(2) > span", + "targets": [ + ["css=.mb-4:nth-child(1) strong:nth-child(2) > span", "css:finder"], + ["xpath=//strong[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'Aug 08, 2019 16:10:01')]", "xpath:innerText"] + ], + "value": "leftDate" + }, { + "id": "c1fda79e-9fa9-4969-92f5-83f9f54b9d3d", + "comment": "", + "command": "executeScript", + "target": "return RegExp(${dateRegex}).test(${leftDate});", + "targets": [], + "value": "leftDateIsDate" + }, { + "id": "30e8b9fb-254d-462e-9039-6b378ff4d245", + "comment": "", + "command": "assert", + "target": "leftDateIsDate", + "targets": [], + "value": "true" + }, { + "id": "a55513b6-d1dd-4036-9b99-4d03e845d65a", + "comment": "", + "command": "storeText", + "target": "css=.mb-4:nth-child(1) strong:nth-child(3) > span", + "targets": [ + ["css=.mb-4:nth-child(1) strong:nth-child(3) > span", "css:finder"], + ["xpath=//strong[3]/span", "xpath:position"], + ["xpath=//span[contains(.,'Aug 08, 2019 16:09:55')]", "xpath:innerText"] + ], + "value": "rightDate" + }, { + "id": "dd3a52a4-de8b-4c25-a6e7-81b7ee9f8149", + "comment": "", + "command": "executeScript", + "target": "return RegExp(${dateRegex}).test(${rightDate});", + "targets": [], + "value": "rightDateIsDate" + }, { + "id": "d973102f-964b-4021-93f4-44adf165b33e", + "comment": "", + "command": "assert", + "target": "rightDateIsDate", + "targets": [], + "value": "true" + }] + }], + "suites": [{ + "id": "894bbaf7-9978-4d30-b4e3-3c4263e084aa", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["1e7a4ca4-b2e6-4e5a-8e38-823ae8a1e20d"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1385-1.side b/backend/src/integration/resources/SHIBUI-1385-1.side new file mode 100644 index 000000000..af7a78773 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1385-1.side @@ -0,0 +1,2615 @@ +{ + "id": "1b31a551-eb09-4bd4-8db9-694bf1539a46", + "version": "2.0", + "name": "SHIBUI-1385-1", + "url": "http://localhost:10101", + "tests": [{ + "id": "841ade0e-83bd-4a4b-94f2-de6bd5c536b2", + "name": "SHIBUI-1385-1", + "commands": [{ + "id": "d6b23986-6d14-4b10-be7b-a7e6f576e3b2", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "f77ecd77-01c2-4463-944e-1a69600f5297", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "c9bf0a22-faa9-494c-b2ed-6c9653248551", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "7ab1d854-3582-4101-bd19-f94b8f438090", + "comment": "", + "command": "sendKeys", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "${KEY_ENTER}" + }, { + "id": "ad3811ad-f95b-4cca-a5d9-63a10063a652", + "comment": "", + "command": "click", + "target": "css=#addNewDropdown > translate-i18n", + "targets": [ + ["css=#addNewDropdown > translate-i18n", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], + ["xpath=//translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1caf8be6-a4d9-4b3b-ace1-0f76d3600d62", + "comment": "", + "command": "click", + "target": "linkText=Metadata Source", + "targets": [ + ["linkText=Metadata Source", "linkText"], + ["css=.dropdown-menu > .nav-link:nth-child(1)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[2]", "xpath:href"], + ["xpath=//div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "295789cf-0603-4fd2-9971-c2ed21d2fc81", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "218e51fd-49e6-400b-9d7f-61bcd8e0c074", + "comment": "", + "command": "click", + "target": "id=/serviceProviderName", + "targets": [ + ["id=/serviceProviderName", "id"], + ["name=field1", "name"], + ["css=#\\/serviceProviderName", "css:finder"], + ["xpath=//input[@id='/serviceProviderName']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "9ee43e46-ab9e-46b1-8eb2-9718fb98bda2", + "comment": "", + "command": "type", + "target": "id=/serviceProviderName", + "targets": [ + ["id=field1", "id"], + ["name=field1", "name"], + ["css=#field1", "css:finder"], + ["xpath=//input[@id='field1']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Provider" + }, { + "id": "7fe7298b-275c-4797-8d1b-f4547b63eb02", + "comment": "", + "command": "type", + "target": "id=/entityId", + "targets": [ + ["id=/entityId", "id"], + ["name=field2", "name"], + ["css=#\\/entityId", "css:finder"], + ["xpath=//input[@id='/entityId']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "test-1234" + }, { + "id": "8739ddfa-7812-46b3-bee7-b4bc73a3dd35", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "4d88e469-df2f-40ee-a557-b5eafbc24ef3", + "comment": "", + "command": "click", + "target": "id=/organization/name", + "targets": [ + ["id=/organization/name", "id"], + ["name=field5", "name"], + ["css=#\\/organization\\/name", "css:finder"], + ["xpath=//input[@id='/organization/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "e0168286-af90-4c0a-a0ba-0dd97d64849b", + "comment": "", + "command": "type", + "target": "id=/organization/name", + "targets": [ + ["id=field5", "id"], + ["name=field5", "name"], + ["css=#field5", "css:finder"], + ["xpath=//input[@id='field5']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Org" + }, { + "id": "8f6dcf95-41e4-446a-a7fb-a064d928e1bc", + "comment": "", + "command": "type", + "target": "id=/organization/displayName", + "targets": [ + ["id=/organization/displayName", "id"], + ["name=field6", "name"], + ["css=#\\/organization\\/displayName", "css:finder"], + ["xpath=//input[@id='/organization/displayName']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "Test Org Name" + }, { + "id": "7cc2068e-3fa3-4f1c-ac97-c63e78911b9e", + "comment": "", + "command": "type", + "target": "id=/organization/url", + "targets": [ + ["id=/organization/url", "id"], + ["name=field7", "name"], + ["css=#\\/organization\\/url", "css:finder"], + ["xpath=//input[@id='/organization/url']", "xpath:attributes"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "http://test.org" + }, { + "id": "1da05567-4f8d-4fd8-957a-bfddb2380bfb", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5379b245-cd77-43c1-b424-3b6595c74174", + "comment": "", + "command": "click", + "target": "id=/contacts/0/name", + "targets": [ + ["id=/contacts/0/name", "id"], + ["name=field10", "name"], + ["css=#\\/contacts\\/0\\/name", "css:finder"], + ["xpath=//input[@id='/contacts/0/name']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b658cae2-ba5a-406b-a48c-87d110ff4ed0", + "comment": "", + "command": "type", + "target": "id=/contacts/0/name", + "targets": [ + ["id=field10", "id"], + ["name=field10", "name"], + ["css=#field10", "css:finder"], + ["xpath=//input[@id='field10']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "Test User" + }, { + "id": "3a2de62d-c1c1-43a7-a484-8a0d23bf301e", + "comment": "", + "command": "click", + "target": "id=/contacts/0/type", + "targets": [ + ["id=/contacts/0/type", "id"], + ["name=field11", "name"], + ["css=#\\/contacts\\/0\\/type", "css:finder"], + ["xpath=//select[@id='/contacts/0/type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "" + }, { + "id": "86e4e429-2a72-496a-add8-df2fc079d157", + "comment": "", + "command": "select", + "target": "id=/contacts/0/type", + "targets": [], + "value": "label=Technical" + }, { + "id": "95531b0b-c084-422d-bac9-60ee7e7a9f16", + "comment": "", + "command": "click", + "target": "id=/contacts/0/emailAddress", + "targets": [ + ["id=/contacts/0/emailAddress", "id"], + ["name=field12", "name"], + ["css=#\\/contacts\\/0\\/emailAddress", "css:finder"], + ["xpath=//input[@id='/contacts/0/emailAddress']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "e5d6662e-38d4-479f-b76b-c0c05fcabe15", + "comment": "", + "command": "type", + "target": "id=/contacts/0/emailAddress", + "targets": [ + ["id=field12", "id"], + ["name=field12", "name"], + ["css=#field12", "css:finder"], + ["xpath=//input[@id='field12']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "user@test.org" + }, { + "id": "b4e3ea55-b4c0-4585-99fe-ac1534efadd8", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "234de758-df6d-47d7-af74-83aee3fa1e72", + "comment": "", + "command": "click", + "target": "id=/contacts/1/name", + "targets": [ + ["id=/contacts/1/name", "id"], + ["name=field14", "name"], + ["css=#\\/contacts\\/1\\/name", "css:finder"], + ["xpath=//input[@id='/contacts/1/name']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "02819e27-7aed-4a1a-867f-f8131c3897d8", + "comment": "", + "command": "type", + "target": "id=/contacts/1/name", + "targets": [ + ["id=field14", "id"], + ["name=field14", "name"], + ["css=#field14", "css:finder"], + ["xpath=//input[@id='field14']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "Test User 2" + }, { + "id": "1d478856-8742-4627-acbe-daed2bb83abe", + "comment": "", + "command": "click", + "target": "id=/contacts/1/type", + "targets": [ + ["css=#field15 > option:nth-child(2)", "css:finder"], + ["xpath=(//option[@value='1: support'])[2]", "xpath:attributes"], + ["xpath=//select[@id='field15']/option[2]", "xpath:idRelative"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[2]/sf-form-element/div/sf-widget-chooser/select-component/div/select/option[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "9b4c76b4-3851-4aac-a9f5-67e20c36f174", + "comment": "", + "command": "select", + "target": "id=/contacts/1/type", + "targets": [ + ["id=/contacts/1/type", "id"], + ["name=field15", "name"], + ["css=#\\/contacts\\/1\\/type", "css:finder"], + ["xpath=//select[@id='/contacts/1/type']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[2]/sf-form-element/div/sf-widget-chooser/select-component/div/select", "xpath:position"] + ], + "value": "label=Support" + }, { + "id": "5e3fddc1-786d-4040-8351-2f553e3c8811", + "comment": "", + "command": "click", + "target": "id=/contacts/1/emailAddress", + "targets": [ + ["id=/contacts/1/emailAddress", "id"], + ["name=field16", "name"], + ["css=#\\/contacts\\/1\\/emailAddress", "css:finder"], + ["xpath=//input[@id='/contacts/1/emailAddress']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "700d8907-6a65-43d5-aebf-60a392379534", + "comment": "", + "command": "type", + "target": "id=/contacts/1/emailAddress", + "targets": [ + ["id=field16", "id"], + ["name=field16", "name"], + ["css=#field16", "css:finder"], + ["xpath=//input[@id='field16']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "user2@test.org" + }, { + "id": "fdda1155-876f-46a4-ae4f-c3519ed34b62", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "f38b7fca-0c0c-4658-9df6-10a26881c6a5", + "comment": "", + "command": "click", + "target": "id=/mdui/displayName", + "targets": [ + ["id=/mdui/displayName", "id"], + ["name=field19", "name"], + ["css=#\\/mdui\\/displayName", "css:finder"], + ["xpath=//input[@id='/mdui/displayName']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "c03c4582-e1f1-449f-9a79-300d48ad69d8", + "comment": "", + "command": "type", + "target": "id=/mdui/displayName", + "targets": [ + ["id=field19", "id"], + ["name=field19", "name"], + ["css=#field19", "css:finder"], + ["xpath=//input[@id='field19']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Display Name" + }, { + "id": "5098507c-fa51-4c13-b9a3-381034e0fa52", + "comment": "", + "command": "type", + "target": "id=/mdui/informationUrl", + "targets": [ + ["id=/mdui/informationUrl", "id"], + ["name=field20", "name"], + ["css=#\\/mdui\\/informationUrl", "css:finder"], + ["xpath=//input[@id='/mdui/informationUrl']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "http://test.org/info" + }, { + "id": "d5de3699-5a18-4abe-a2ea-0a2b7565c525", + "comment": "", + "command": "type", + "target": "id=/mdui/description", + "targets": [ + ["id=/mdui/description", "id"], + ["name=field21", "name"], + ["css=#\\/mdui\\/description", "css:finder"], + ["xpath=//textarea[@id='/mdui/description']", "xpath:attributes"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "This is a description." + }, { + "id": "115bb9a9-e991-4cf0-8bcb-363d9dc3c269", + "comment": "", + "command": "click", + "target": "id=/mdui/privacyStatementUrl", + "targets": [ + ["id=/mdui/privacyStatementUrl", "id"], + ["name=field22", "name"], + ["css=#\\/mdui\\/privacyStatementUrl", "css:finder"], + ["xpath=//input[@id='/mdui/privacyStatementUrl']", "xpath:attributes"], + ["xpath=//fieldset[2]/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "df623bef-a1fc-48ff-aa93-05e0da85ef51", + "comment": "", + "command": "type", + "target": "id=/mdui/privacyStatementUrl", + "targets": [ + ["id=field22", "id"], + ["name=field22", "name"], + ["css=#field22", "css:finder"], + ["xpath=//input[@id='field22']", "xpath:attributes"], + ["xpath=//fieldset[2]/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "http://test.org/privacy" + }, { + "id": "ed17408b-a763-4e5d-86cd-efe575df8d08", + "comment": "", + "command": "type", + "target": "id=/mdui/logoUrl", + "targets": [ + ["id=/mdui/logoUrl", "id"], + ["name=field23", "name"], + ["css=#\\/mdui\\/logoUrl", "css:finder"], + ["xpath=//input[@id='/mdui/logoUrl']", "xpath:attributes"], + ["xpath=//fieldset[2]/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "http://test.org/logo" + }, { + "id": "2946a968-7289-43e5-820d-b1aee442ce96", + "comment": "", + "command": "type", + "target": "id=/mdui/logoWidth", + "targets": [ + ["id=/mdui/logoWidth", "id"], + ["name=field24", "name"], + ["css=#\\/mdui\\/logoWidth", "css:finder"], + ["xpath=//input[@id='/mdui/logoWidth']", "xpath:attributes"], + ["xpath=//integer-component/div/input", "xpath:position"] + ], + "value": "200" + }, { + "id": "ceec5477-13d4-4ab4-944e-a2a34a9b4510", + "comment": "", + "command": "type", + "target": "id=/mdui/logoHeight", + "targets": [ + ["id=/mdui/logoHeight", "id"], + ["name=field25", "name"], + ["css=#\\/mdui\\/logoHeight", "css:finder"], + ["xpath=//input[@id='/mdui/logoHeight']", "xpath:attributes"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/integer-component/div/input", "xpath:position"] + ], + "value": "300" + }, { + "id": "79c55e8f-286d-4c64-a1bc-1a19a7554f7a", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "88054c63-d468-4340-b4d3-c69fb6ed6f96", + "comment": "", + "command": "click", + "target": "id=/serviceProviderSsoDescriptor/protocolSupportEnum", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: SAML 2']", "xpath:attributes"], + ["xpath=//select[@id='field28']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'SAML 2')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c77b3648-fce1-46f9-aec9-ca88c90d4c92", + "comment": "", + "command": "select", + "target": "id=/serviceProviderSsoDescriptor/protocolSupportEnum", + "targets": [ + ["id=/serviceProviderSsoDescriptor/protocolSupportEnum", "id"], + ["name=field28", "name"], + ["css=#\\/serviceProviderSsoDescriptor\\/protocolSupportEnum", "css:finder"], + ["xpath=//select[@id='/serviceProviderSsoDescriptor/protocolSupportEnum']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=SAML 2" + }, { + "id": "aec93dce-3142-4df3-b09d-735c70d1197b", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7f9c9fb7-602c-4f8e-b262-866c744130ce", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "a0102f51-f1d8-4c38-9170-482022ea7397", + "comment": "", + "command": "click", + "target": "css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/0-container .btn", + "targets": [ + ["css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/0-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/serviceProviderSsoDescriptor/nameIdFormats/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "209726b4-c0d8-4e9d-8886-88b9151f226c", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "9033e5ad-4255-4aa7-a878-c7beab69ee8e", + "comment": "", + "command": "click", + "target": "id=/serviceProviderSsoDescriptor/nameIdFormats/0__option--0", + "targets": [ + ["id=/serviceProviderSsoDescriptor/nameIdFormats/0__option--0", "id"], + ["css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/serviceProviderSsoDescriptor/nameIdFormats/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/serviceProviderSsoDescriptor/nameIdFormats/0__listbox']/li", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "c21b1d7a-9325-4d70-887d-387c7a042c08", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "466ac624-8139-47cf-8ef2-32d1c3d179a2", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "c1534880-c4e5-4fbd-b200-c28f9f556ab9", + "comment": "", + "command": "click", + "target": "css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/1-container .btn", + "targets": [ + ["css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/1-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/serviceProviderSsoDescriptor/nameIdFormats/1-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "a70176f9-e75e-47fc-b76a-42ae941fa64d", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "d07b2d83-3699-4f48-90e8-6fc883d3a02a", + "comment": "", + "command": "click", + "target": "id=/serviceProviderSsoDescriptor/nameIdFormats/1__option--1", + "targets": [ + ["id=/serviceProviderSsoDescriptor/nameIdFormats/1__option--1", "id"], + ["css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/1__option--1", "css:finder"], + ["xpath=//li[@id='/serviceProviderSsoDescriptor/nameIdFormats/1__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/serviceProviderSsoDescriptor/nameIdFormats/1__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "2c77ecbc-45cc-471c-9e39-f87ec06a9385", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a98f1890-298a-4167-a4d6-4ab173005068", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "97a98737-862d-4567-8b20-c5c991444ed0", + "comment": "", + "command": "click", + "target": "css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/2-container .btn", + "targets": [ + ["css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/2-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='/serviceProviderSsoDescriptor/nameIdFormats/2-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "ff21b982-e428-45d7-af8e-410e67759446", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "686e004c-2b0f-4308-8622-b04bc05a50a9", + "comment": "", + "command": "click", + "target": "id=/serviceProviderSsoDescriptor/nameIdFormats/2__option--2", + "targets": [ + ["id=/serviceProviderSsoDescriptor/nameIdFormats/2__option--2", "id"], + ["css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/2__option--2", "css:finder"], + ["xpath=//li[@id='/serviceProviderSsoDescriptor/nameIdFormats/2__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/serviceProviderSsoDescriptor/nameIdFormats/2__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "104367d3-f250-4439-8721-32dcf9f25e0c", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ec3d16f9-c239-4e53-8626-11d8dc3dc43d", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "e2e8d5d4-8b6a-42d5-9fe7-abb8a84216e3", + "comment": "", + "command": "click", + "target": "css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/3-container .btn", + "targets": [ + ["css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/3-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='/serviceProviderSsoDescriptor/nameIdFormats/3-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "6b1d77e3-b6e8-4217-9dc4-fe54b3f880ed", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "b6ac5230-772b-44bc-b9d1-6ae8a58e0368", + "comment": "", + "command": "click", + "target": "id=/serviceProviderSsoDescriptor/nameIdFormats/3__option--3", + "targets": [ + ["id=/serviceProviderSsoDescriptor/nameIdFormats/3__option--3", "id"], + ["css=#\\/serviceProviderSsoDescriptor\\/nameIdFormats\\/3__option--3", "css:finder"], + ["xpath=//li[@id='/serviceProviderSsoDescriptor/nameIdFormats/3__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/serviceProviderSsoDescriptor/nameIdFormats/3__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "d135ef80-69d8-4cd1-b581-5e1973342082", + "comment": "", + "command": "click", + "target": "css=.btn-success > translate-i18n", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "23fd8856-32df-48ed-a198-a74e8ca71b10", + "comment": "", + "command": "type", + "target": "id=/serviceProviderSsoDescriptor/nameIdFormats/4", + "targets": [ + ["id=field34", "id"], + ["css=#field34", "css:finder"], + ["xpath=//input[@id='field34']", "xpath:attributes"], + ["xpath=//div[@id='field34-container']/div/input", "xpath:idRelative"], + ["xpath=//li[5]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] + ], + "value": "somethingElse" + }, { + "id": "4f61120b-7c6b-4f8e-8543-898298451a56", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "0de0345e-c9d2-4904-b797-a36965c5d82c", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "62ade28b-19d4-4c54-b179-0d36312c578f", + "comment": "", + "command": "click", + "target": "id=/logoutEndpoints/0/url", + "targets": [ + ["id=/logoutEndpoints/0/url", "id"], + ["name=field38", "name"], + ["css=#\\/logoutEndpoints\\/0\\/url", "css:finder"], + ["xpath=//input[@id='/logoutEndpoints/0/url']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "517e5991-197d-42fd-86ff-4da5fd04949b", + "comment": "", + "command": "type", + "target": "id=/logoutEndpoints/0/url", + "targets": [ + ["id=field38", "id"], + ["name=field38", "name"], + ["css=#field38", "css:finder"], + ["xpath=//input[@id='field38']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "http://test.org/logout" + }, { + "id": "034f6a60-6b2d-42f1-adb4-515c8a750953", + "comment": "", + "command": "click", + "target": "id=/logoutEndpoints/0/bindingType", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST']", "xpath:attributes"], + ["xpath=//select[@id='field39']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6967d0bb-dbf7-4f57-9e55-6de71abd69c1", + "comment": "", + "command": "select", + "target": "id=/logoutEndpoints/0/bindingType", + "targets": [ + ["id=/logoutEndpoints/0/bindingType", "id"], + ["name=field39", "name"], + ["css=#\\/logoutEndpoints\\/0\\/bindingType", "css:finder"], + ["xpath=//select[@id='/logoutEndpoints/0/bindingType']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + }, { + "id": "542f9b37-a63d-4acb-ba3e-2ac3706b6667", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "39dedb16-bcd2-496a-af85-7d20a129593b", + "comment": "", + "command": "click", + "target": "id=/logoutEndpoints/1/url", + "targets": [ + ["id=/logoutEndpoints/1/url", "id"], + ["name=field41", "name"], + ["css=#\\/logoutEndpoints\\/1\\/url", "css:finder"], + ["xpath=//input[@id='/logoutEndpoints/1/url']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "d25f708c-f72a-4fb7-88c1-a25a61d9f72a", + "comment": "", + "command": "type", + "target": "id=/logoutEndpoints/1/url", + "targets": [ + ["id=field41", "id"], + ["name=field41", "name"], + ["css=#field41", "css:finder"], + ["xpath=//input[@id='field41']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "http://test.org/logout2" + }, { + "id": "bee9600e-b6db-484a-9b87-d7c657911108", + "comment": "", + "command": "click", + "target": "id=/logoutEndpoints/1/bindingType", + "targets": [ + ["css=#field42 > option:nth-child(3)", "css:finder"], + ["xpath=(//option[@value='2: urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redir'])[2]", "xpath:attributes"], + ["xpath=//select[@id='field42']/option[3]", "xpath:idRelative"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[2]/sf-form-element/div/sf-widget-chooser/select-component/div/select/option[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "e0e7ef9b-4ed1-4df2-b501-9cbb855baa7f", + "comment": "", + "command": "select", + "target": "id=/logoutEndpoints/1/bindingType", + "targets": [ + ["id=/logoutEndpoints/1/bindingType", "id"], + ["name=field42", "name"], + ["css=#\\/logoutEndpoints\\/1\\/bindingType", "css:finder"], + ["xpath=//select[@id='/logoutEndpoints/1/bindingType']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[2]/sf-form-element/div/sf-widget-chooser/select-component/div/select", "xpath:position"] + ], + "value": "label=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + }, { + "id": "a47fdf43-1336-4fdb-a395-f14f0fe131de", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "6c794e94-9c64-4683-816a-380432f2ed79", + "comment": "", + "command": "click", + "target": "id=/securityInfo/x509CertificateAvailable.true", + "targets": [ + ["id=/securityInfo/x509CertificateAvailable.true", "id"], + ["css=#\\/securityInfo\\/x509CertificateAvailable\\.true", "css:finder"], + ["xpath=//input[@id='/securityInfo/x509CertificateAvailable.true']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "f0ade90e-2c31-4a77-b936-3b2a00388477", + "comment": "", + "command": "click", + "target": "id=/securityInfo/authenticationRequestsSigned.true", + "targets": [ + ["id=/securityInfo/authenticationRequestsSigned.true", "id"], + ["css=#\\/securityInfo\\/authenticationRequestsSigned\\.true", "css:finder"], + ["xpath=//input[@id='/securityInfo/authenticationRequestsSigned.true']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "e26eda6f-1897-42e2-9ea9-671b1ff88874", + "comment": "", + "command": "click", + "target": "id=/securityInfo/wantAssertionsSigned.true", + "targets": [ + ["id=/securityInfo/wantAssertionsSigned.true", "id"], + ["css=#\\/securityInfo\\/wantAssertionsSigned\\.true", "css:finder"], + ["xpath=//input[@id='/securityInfo/wantAssertionsSigned.true']", "xpath:attributes"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "3e11e54a-1b36-43ed-a8e5-d91f1fbed991", + "comment": "", + "command": "click", + "target": "id=/securityInfo/x509Certificates/0/name", + "targets": [ + ["id=/securityInfo/x509Certificates/0/name", "id"], + ["name=field50", "name"], + ["css=#\\/securityInfo\\/x509Certificates\\/0\\/name", "css:finder"], + ["xpath=//input[@id='/securityInfo/x509Certificates/0/name']", "xpath:attributes"], + ["xpath=//div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "5acb8e19-16a3-4139-a961-1b58c11c4681", + "comment": "", + "command": "type", + "target": "id=/securityInfo/x509Certificates/0/name", + "targets": [ + ["id=field50", "id"], + ["name=field50", "name"], + ["css=#field50", "css:finder"], + ["xpath=//input[@id='field50']", "xpath:attributes"], + ["xpath=//div/input", "xpath:position"] + ], + "value": "Cert 1 Name" + }, { + "id": "23ff8b87-ac6c-4f82-a779-aa91be11f49c", + "comment": "", + "command": "click", + "target": "id=/securityInfo/x509Certificates/0/type.0", + "targets": [ + ["id=/securityInfo/x509Certificates/0/type.0", "id"], + ["name=field55", "name"], + ["css=#\\/securityInfo\\/x509Certificates\\/0\\/type\\.0", "css:finder"], + ["xpath=//input[@id='/securityInfo/x509Certificates/0/type.0']", "xpath:attributes"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "dd15088c-ddc9-42fd-8f8d-f73338be71b6", + "comment": "", + "command": "click", + "target": "id=/securityInfo/x509Certificates/0/value", + "targets": [ + ["id=/securityInfo/x509Certificates/0/value", "id"], + ["name=field52", "name"], + ["css=#\\/securityInfo\\/x509Certificates\\/0\\/value", "css:finder"], + ["xpath=//textarea[@id='/securityInfo/x509Certificates/0/value']", "xpath:attributes"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "813bf709-6c73-41ac-837a-5be076fa43c7", + "comment": "", + "command": "type", + "target": "id=/securityInfo/x509Certificates/0/value", + "targets": [ + ["name=field52", "name"], + ["css=.text-widget", "css:finder"], + ["xpath=//textarea[@name='field52']", "xpath:attributes"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "This is cert 1." + }, { + "id": "fcf4cc15-54f4-4add-a093-e7ba5f2dc556", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "cbe577f6-3d18-49d9-95ab-2e597e5308a6", + "comment": "", + "command": "click", + "target": "id=/securityInfo/x509Certificates/1/name", + "targets": [ + ["id=/securityInfo/x509Certificates/1/name", "id"], + ["name=field54", "name"], + ["css=#\\/securityInfo\\/x509Certificates\\/1\\/name", "css:finder"], + ["xpath=//input[@id='/securityInfo/x509Certificates/1/name']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "ae98e813-77f4-424e-9141-d48e6127d9b6", + "comment": "", + "command": "type", + "target": "id=/securityInfo/x509Certificates/1/name", + "targets": [ + ["id=field54", "id"], + ["name=field54", "name"], + ["css=#field54", "css:finder"], + ["xpath=//input[@id='field54']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "Cert 2 Name" + }, { + "id": "835ad053-0a10-4606-a148-c7ba36be316f", + "comment": "", + "command": "click", + "target": "id=/securityInfo/x509Certificates/1/type.1", + "targets": [ + ["id=/securityInfo/x509Certificates/1/type.1", "id"], + ["css=#\\/securityInfo\\/x509Certificates\\/1\\/type\\.1", "css:finder"], + ["xpath=//input[@id='/securityInfo/x509Certificates/1/type.1']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-radio-widget/div/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "e272cafa-3aba-4aff-972e-b1d45e627b88", + "comment": "", + "command": "click", + "target": "id=/securityInfo/x509Certificates/1/value", + "targets": [ + ["id=/securityInfo/x509Certificates/1/value", "id"], + ["name=field56", "name"], + ["css=#\\/securityInfo\\/x509Certificates\\/1\\/value", "css:finder"], + ["xpath=//textarea[@id='/securityInfo/x509Certificates/1/value']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/textarea-component/div/textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "ae42d668-92ba-4cb8-9daf-a2a64ac18404", + "comment": "", + "command": "type", + "target": "id=/securityInfo/x509Certificates/1/value", + "targets": [ + ["name=field56", "name"], + ["css=.ng-untouched:nth-child(3)", "css:finder"], + ["xpath=//textarea[@name='field56']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[3]/sf-form-element/div/sf-widget-chooser/textarea-component/div/textarea", "xpath:position"] + ], + "value": "This is cert 2." + }, { + "id": "4e64d71e-8e6f-4288-b277-3d3945f57c53", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "573c9f4c-c677-4175-96c5-3aaaf86e5ac1", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "50c1a3a1-b51c-41f9-81ff-d3d2894861ad", + "comment": "", + "command": "click", + "target": "id=/assertionConsumerServices/0/locationUrl", + "targets": [ + ["id=/assertionConsumerServices/0/locationUrl", "id"], + ["name=field60", "name"], + ["css=#\\/assertionConsumerServices\\/0\\/locationUrl", "css:finder"], + ["xpath=//input[@id='/assertionConsumerServices/0/locationUrl']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "6ff4002a-1c57-4778-b402-f917efaa5194", + "comment": "", + "command": "type", + "target": "id=/assertionConsumerServices/0/locationUrl", + "targets": [ + ["id=field60", "id"], + ["name=field60", "name"], + ["css=#field60", "css:finder"], + ["xpath=//input[@id='field60']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "http://test.org/assert" + }, { + "id": "e81c5045-98c3-499c-bff5-2645efa4c55d", + "comment": "", + "command": "click", + "target": "id=/assertionConsumerServices/0/binding", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST']", "xpath:attributes"], + ["xpath=//select[@id='field61']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "24c810c8-747a-4ae2-91e5-16685d589f21", + "comment": "", + "command": "select", + "target": "id=/assertionConsumerServices/0/binding", + "targets": [ + ["id=/assertionConsumerServices/0/binding", "id"], + ["name=field61", "name"], + ["css=#\\/assertionConsumerServices\\/0\\/binding", "css:finder"], + ["xpath=//select[@id='/assertionConsumerServices/0/binding']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + }, { + "id": "c221b1f5-2961-4cbd-a545-1e34a09b8153", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Mark as Default')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "cb058717-f20f-4a54-81e5-9a7dcf66ec0e", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "f9998203-830b-44d3-8392-45b737544177", + "comment": "", + "command": "click", + "target": "id=/assertionConsumerServices/1/locationUrl", + "targets": [ + ["id=/assertionConsumerServices/1/locationUrl", "id"], + ["name=field64", "name"], + ["css=#\\/assertionConsumerServices\\/1\\/locationUrl", "css:finder"], + ["xpath=//input[@id='/assertionConsumerServices/1/locationUrl']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "d5cbf5e8-7c5b-45f7-8645-dd9f9d39922e", + "comment": "", + "command": "type", + "target": "id=/assertionConsumerServices/1/locationUrl", + "targets": [ + ["id=field64", "id"], + ["name=field64", "name"], + ["css=#field64", "css:finder"], + ["xpath=//input[@id='field64']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "http://test.org/assert2" + }, { + "id": "74de4187-3d1e-4a4d-af8e-966f00649ab8", + "comment": "", + "command": "click", + "target": "id=/assertionConsumerServices/1/binding", + "targets": [ + ["css=#field65 > option:nth-child(3)", "css:finder"], + ["xpath=(//option[@value='2: urn:oasis:names:tc:SAML:1.0:profiles:browser-po'])[2]", "xpath:attributes"], + ["xpath=//select[@id='field65']/option[3]", "xpath:idRelative"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[2]/sf-form-element/div/sf-widget-chooser/select-component/div/select/option[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "929c1047-f455-418b-b23e-a383d681f028", + "comment": "", + "command": "select", + "target": "id=/assertionConsumerServices/1/binding", + "targets": [ + ["id=/assertionConsumerServices/1/binding", "id"], + ["name=field65", "name"], + ["css=#\\/assertionConsumerServices\\/1\\/binding", "css:finder"], + ["xpath=//select[@id='/assertionConsumerServices/1/binding']", "xpath:attributes"], + ["xpath=//li[2]/div/div/div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div[2]/sf-form-element/div/sf-widget-chooser/select-component/div/select", "xpath:position"] + ], + "value": "label=urn:oasis:names:tc:SAML:1.0:profiles:browser-post" + }, { + "id": "d113cc67-659a-48f0-a50c-98355a07b187", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "134bf1f3-1e86-49e7-91de-185e513b02be", + "comment": "", + "command": "click", + "target": "css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", + "targets": [ + ["css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", "css:finder"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Sign the Assertion?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5cd1ae5f-678a-4be8-a03f-b290006e52fe", + "comment": "", + "command": "click", + "target": "css=div:nth-child(2) > sf-form-element .custom-control-label", + "targets": [ + ["css=div:nth-child(2) > sf-form-element .custom-control-label", "css:finder"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "5895d555-6ef5-4344-b177-00e905f9007c", + "comment": "", + "command": "click", + "target": "css=div:nth-child(3) > sf-form-element .custom-control-label", + "targets": [ + ["css=div:nth-child(3) > sf-form-element .custom-control-label", "css:finder"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Turn off Encryption of Response?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8d834380-e312-494d-9b4b-c5b798cc9b15", + "comment": "", + "command": "click", + "target": "css=div:nth-child(4) .custom-control-label", + "targets": [ + ["css=div:nth-child(4) .custom-control-label", "css:finder"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Use SHA1 Signing Algorithm?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "bcf532a9-ba5a-4ca1-a342-dde53bc4a592", + "comment": "", + "command": "click", + "target": "css=div:nth-child(5) .custom-control-label", + "targets": [ + ["css=div:nth-child(5) .custom-control-label", "css:finder"], + ["xpath=//div[5]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Ignore any SP-Requested Authentication Method?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "45f3df44-1c34-4649-aedb-14207e9ce999", + "comment": "", + "command": "click", + "target": "css=div:nth-child(6) .custom-control-label", + "targets": [ + ["css=div:nth-child(6) .custom-control-label", "css:finder"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Omit Not Before Condition?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7ccb7d88-b113-4ee9-8582-b3d781fa8846", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/responderId", + "targets": [ + ["id=/relyingPartyOverrides/responderId", "id"], + ["name=field121", "name"], + ["css=#\\/relyingPartyOverrides\\/responderId", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/responderId']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "afe1b839-3421-4816-bf69-c804add681ba", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/responderId", + "targets": [ + ["id=field75", "id"], + ["name=field75", "name"], + ["css=#field75", "css:finder"], + ["xpath=//input[@id='field75']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "responder-id-123" + }, { + "id": "ba74d18d-0996-485f-8a9f-01a39428eb0c", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .btn", + "targets": [ + ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "cbd5d310-00af-4f40-adb8-82d261f3f339", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "2a91666b-5453-4064-8923-c3384835b6fd", + "comment": "", + "command": "click", + "target": "css=.btn-outline-secondary", + "targets": [ + ["css=.btn-outline-secondary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "77a8ca01-ba29-4240-8c85-df12c9729603", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "6e8718ef-e053-48d8-91e5-f5128e371f56", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/0__option--0", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/0__option--0", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/0__listbox']/li", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "ec3afb37-30b4-4d07-93a6-dcf022605532", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2297cceb-4407-498f-a3f2-db15bc3de26f", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "fd33610c-dbca-410d-b2a4-117a1b2b6a79", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/nameIdFormats\\/1-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/1-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/1-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "2922852e-45b5-41b1-b7ae-10f6ef5980c6", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "3cd47415-5e57-4148-a40b-9571e6791f3f", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/1__option--1", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/1__option--1", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/1__option--1", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/1__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/1__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "8b340d1f-4944-4d10-a4cd-5e79be6804ef", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ccc0e141-6b42-4fdb-ac4e-fe741826eec6", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "208b33cf-f983-4a82-9b1b-19cdf2a937fc", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/nameIdFormats\\/2-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/2-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/2-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "76e5990c-7474-46db-9d8a-08b08fb058b7", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "b4beb2b3-8481-4431-9299-a39a4107f17f", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/2__option--2", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/2__option--2", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/2__option--2", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/2__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/2__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "d6e7a640-a578-415b-9c1b-b2313b62ad46", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b1fb7e09-2778-4dd9-a52d-ac183d745486", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "788a5b63-a75f-4aeb-9a5d-17c41e8f718e", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/nameIdFormats\\/3-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/3-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/3-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "c486b622-751b-49f0-bf51-d1919bea0cf4", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "c82d6951-13e2-4d32-9e19-eac52bfdc188", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/3__option--3", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/3__option--3", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/3__option--3", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/3__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/3__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "4c15be93-75be-4673-b703-07a705300d0f", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .btn", + "targets": [ + ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "1a1b509e-1768-4291-820d-26f4b73a9d71", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/4", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/4", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/4", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/nameIdFormats/4']", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/4-container']/div/input", "xpath:idRelative"], + ["xpath=//li[5]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "433d6e9d-9d03-4042-9ee0-6284570f8a3c", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/nameIdFormats/4", + "targets": [ + ["id=field83", "id"], + ["css=#field83", "css:finder"], + ["xpath=//input[@id='field83']", "xpath:attributes"], + ["xpath=//div[@id='field83-container']/div/input", "xpath:idRelative"], + ["xpath=//li[5]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] + ], + "value": "somethingElse" + }, { + "id": "c8bb3bee-3d61-4324-a3aa-38b78232b969", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .btn", + "targets": [], + "value": "" + }, { + "id": "0b950018-bd12-433a-b198-682d4ea55a90", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "cbf15c4c-35d9-4f80-ba3d-bfe960048cd1", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[7]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "ab11537e-9959-4800-90d8-38946c8b277b", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "6c62d514-0143-49d9-97b3-6b7cb443df9d", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/0__option--0", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/0__option--0", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/0__listbox']/li", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "ed769470-9c3f-4c23-bbed-85513dcea800", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "411ea71f-99b7-4f99-a5ce-7037ff78b8af", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "2b063eb8-f2d6-4a59-85bb-b04c467d9874", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/authenticationMethods\\/1-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/1-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[8]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/1-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "3c59a5d7-9f48-4a5e-b6d1-0913c19adf2a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "5a32d59b-1ac3-4cd0-a2d8-0e934f8182fd", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/1__option--1", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/1__option--1", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/1__option--1", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/1__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/1__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "892ddc96-970b-4dde-9189-0dc9ed197dab", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "64b99135-c3fb-416a-b584-0e1b4b411295", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "64e215d9-6e46-422f-882c-13b6fb102622", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/authenticationMethods\\/2-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/2-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[9]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/2-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "426b095e-3b0c-4cc3-ad1e-3956dc7bd256", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "6a7bce1a-34be-4d4c-b732-d2f198e8b8a1", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/2__option--2", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/2__option--2", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/2__option--2", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/2__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/2__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "f0dd4b79-eab5-4d4b-af2e-07ca661f8288", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .btn", + "targets": [ + ["css=div:nth-child(9) .btn > translate-i18n", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "dacd34b0-9e48-4838-b137-bf22dd027ed0", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/3", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/3", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/3", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/authenticationMethods/3']", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/3-container']/div/input", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "cc9dd18b-ee87-4aa7-91f2-59f02834759b", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/authenticationMethods/3", + "targets": [ + ["id=field87", "id"], + ["css=#field87", "css:finder"], + ["xpath=//input[@id='field87']", "xpath:attributes"], + ["xpath=//div[@id='field87-container']/div/input", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] + ], + "value": "otherThings" + }, { + "id": "7c85fe59-dc95-4328-a010-33d1a06a5ce5", + "comment": "", + "command": "click", + "target": "css=div:nth-child(10) .custom-control-label", + "targets": [ + ["css=div:nth-child(10) .custom-control-label", "css:finder"], + ["xpath=//div[10]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Force AuthN')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "204ea80c-4aac-497f-8956-6370967ba73e", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "553dd570-b1bb-43bb-a469-63ee08a09794", + "comment": "", + "command": "click", + "target": "css=.fa-check", + "targets": [ + ["css=.fa-check", "css:finder"], + ["xpath=//button[@id='/attributeRelease.checkall']/i", "xpath:idRelative"], + ["xpath=//td[2]/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4adb7283-b1ad-4553-a934-afc54fa8b04f", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "14ca713a-313d-4cda-82ca-a0b814ce81dc", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Enable this service?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3baa7bd3-55c0-4d10-8aa3-c0daa63ec4d4", + "comment": "", + "command": "assertText", + "target": "css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", + "targets": [ + ["css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"], + ["xpath=//summary-property/div/span", "xpath:position"], + ["xpath=//span[contains(.,'test-1234')]", "xpath:innerText"] + ], + "value": "test-1234" + }, { + "id": "0d355ff0-0449-49a7-ae75-14d7c405b97c", + "comment": "", + "command": "assertText", + "target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", + "targets": [ + ["css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", "css:finder"], + ["xpath=//div[2]/section[2]/summary-property/div/table/tbody/tr[2]/td", "xpath:position"], + ["xpath=//td[contains(.,'http://test.org/assert2')]", "xpath:innerText"] + ], + "value": "http://test.org/assert2" + }, { + "id": "e53030b6-f344-4361-981d-b8303a721c5d", + "comment": "", + "command": "assertText", + "target": "css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", + "targets": [ + ["css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", "css:finder"], + ["xpath=//li[5]", "xpath:position"], + ["xpath=//li[contains(.,'somethingElse')]", "xpath:innerText"] + ], + "value": "somethingElse" + }, { + "id": "18636780-2feb-458f-97be-cf4a625b22e1", + "comment": "", + "command": "assertText", + "target": "css=summary-property:nth-child(10) .d-block:nth-child(2)", + "targets": [ + ["css=summary-property:nth-child(10) .d-block:nth-child(2)", "css:finder"], + ["xpath=//summary-property[10]/div/span", "xpath:position"] + ], + "value": "true" + }, { + "id": "1406d7e4-907d-4359-8de8-a40206f0993e", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "4e0fa4f5-817f-41fb-9885-60f37b699436", + "comment": "", + "command": "waitForElementVisible", + "target": "css=tr > .text-right", + "targets": [ + ["css=tr > .text-right", "css:finder"], + ["xpath=//td[5]", "xpath:position"], + ["xpath=//td[contains(.,'Enabled')]", "xpath:innerText"] + ], + "value": "10000" + }, { + "id": "ba9fb8e8-d332-45bd-accd-703284744136", + "comment": "", + "command": "assertText", + "target": "css=td:nth-child(1)", + "targets": [ + ["linkText=Test Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/resolver/ee3aedc4-b56a-46c4-b8db-09603dd5b473/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Provider')]", "xpath:innerText"] + ], + "value": "Test Provider" + }, { + "id": "eff4c9fe-7daf-4082-a162-4a9dff323293", + "comment": "", + "command": "assertText", + "target": "css=td:nth-child(2)", + "targets": [ + ["css=td:nth-child(2)", "css:finder"], + ["xpath=//td[2]", "xpath:position"], + ["xpath=//td[contains(.,'test-1234')]", "xpath:innerText"] + ], + "value": "test-1234" + }, { + "id": "b2d9f789-fb94-459f-9947-5364cebc43d1", + "comment": "", + "command": "assertText", + "target": "css=td:nth-child(3)", + "targets": [ + ["css=td:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'root')]", "xpath:innerText"] + ], + "value": "admin" + }, { + "id": "87281e0a-322f-4d3a-9703-3e6966f26759", + "comment": "", + "command": "click", + "target": "id=search", + "targets": [ + ["id=search", "id"], + ["css=#search", "css:finder"], + ["xpath=//input[@id='search']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "fbcf1587-cb27-4deb-80c6-78b4d4aa2478", + "comment": "", + "command": "type", + "target": "id=search", + "targets": [ + ["id=search", "id"], + ["css=#search", "css:finder"], + ["xpath=//input[@id='search']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "test" + }, { + "id": "88007922-625c-4f00-a4c4-17fb77afb2da", + "comment": "", + "command": "sendKeys", + "target": "id=search", + "targets": [ + ["id=search", "id"], + ["css=#search", "css:finder"], + ["xpath=//input[@id='search']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "${KEY_ENTER}" + }, { + "id": "a69f4347-8e82-483d-8a8a-e78a894e7aaa", + "comment": "", + "command": "assertText", + "target": "css=td:nth-child(2)", + "targets": [ + ["css=td:nth-child(2)", "css:finder"], + ["xpath=//td[2]", "xpath:position"], + ["xpath=//td[contains(.,'test-1234')]", "xpath:innerText"] + ], + "value": "test-1234" + }, { + "id": "fcd2d18e-b804-42df-890f-092f3d2e06a4", + "comment": "", + "command": "type", + "target": "id=search", + "targets": [ + ["id=search", "id"], + ["css=#search", "css:finder"], + ["xpath=//input[@id='search']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "foo" + }, { + "id": "d71191f5-8afd-4d9d-b19b-9471bd4640b2", + "comment": "", + "command": "sendKeys", + "target": "id=search", + "targets": [ + ["id=search", "id"], + ["css=#search", "css:finder"], + ["xpath=//input[@id='search']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "${KEY_ENTER}" + }, { + "id": "6de4b65a-266e-4974-9729-cf70502bb8fd", + "comment": "", + "command": "assertElementNotPresent", + "target": "css=td:nth-child(2)", + "targets": [], + "value": "" + }, { + "id": "01da89d4-e043-4f99-9d98-dcb42b9b4777", + "comment": "", + "command": "click", + "target": "css=.btn-link", + "targets": [ + ["css=.btn-link", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Clear')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "188a56b6-5440-4ea7-ac25-481c6b2dddcf", + "comment": "", + "command": "click", + "target": "linkText=Test Provider", + "targets": [ + ["linkText=Test Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/resolver/4e54a9da-4481-4ef2-8296-5616257f4d02/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8ab1e3bf-6de9-4660-b0e1-816fcb0e2261", + "comment": "", + "command": "waitForElementPresent", + "target": "css=.author", + "targets": [], + "value": "10000" + }, { + "id": "c9ea2708-7c12-43ce-b827-f0f34d2f2831", + "comment": "", + "command": "assertText", + "target": "css=.author", + "targets": [ + ["css=.author", "css:finder"], + ["xpath=//div[@id='header']/metadata-header/div/div/h5/span[2]", "xpath:idRelative"], + ["xpath=//span[2]", "xpath:position"], + ["xpath=//span[contains(.,'admin')]", "xpath:innerText"] + ], + "value": "admin" + }, { + "id": "16271513-203c-4528-870f-dcf73f4d81cb", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(2)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(2)", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section/div/div[2]/object-property/primitive-property/div/span[2]", "xpath:idRelative"], + ["xpath=//div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'test-1234')]", "xpath:innerText"] + ], + "value": "test-1234" + }, { + "id": "3f2c3eab-ecbf-45f3-bcdc-a5cad766b27c", + "comment": "", + "command": "assertText", + "target": "css=array-property:nth-child(5) .py-2:nth-child(2) > .d-flex:nth-child(3) > .text-truncate", + "targets": [ + ["css=array-property:nth-child(5) .py-2:nth-child(2) > .d-flex:nth-child(3) > .text-truncate", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section/div/div[2]/object-property/array-property/div/div[2]/div[3]/div[2]", "xpath:idRelative"], + ["xpath=//div[3]/div[2]", "xpath:position"] + ], + "value": "user@test.org" + }, { + "id": "467409c7-1007-4c45-80d2-0b4eea5199a0", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(2) primitive-property:nth-child(2) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(2) primitive-property:nth-child(2) .d-block:nth-child(2)", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section[2]/div/div[2]/object-property/object-property/primitive-property[2]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[2]/div/div[2]/object-property/object-property/primitive-property[2]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'http://test.org/info')]", "xpath:innerText"] + ], + "value": "http://test.org/info" + }, { + "id": "eaaf9d59-1466-4736-924c-56c9b3f7522f", + "comment": "", + "command": "assertText", + "target": "css=array-property:nth-child(2) .text-truncate:nth-child(2)", + "targets": [ + ["css=array-property:nth-child(2) .text-truncate:nth-child(2)", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section[3]/div/div[2]/object-property/object-property/array-property/div/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress')]", "xpath:innerText"] + ], + "value": "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" + }, { + "id": "2a23096f-d5cd-4727-af1b-130388117aa0", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(4) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate", + "targets": [ + ["css=.mb-4:nth-child(4) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section[4]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:idRelative"], + ["xpath=//section[4]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:position"] + ], + "value": "http://test.org/logout2" + }, { + "id": "e1cba732-dd34-4c73-9d4c-89c440975dd8", + "comment": "", + "command": "runScript", + "target": "window.scrollTo(0,2060)", + "targets": [], + "value": "" + }, { + "id": "fe47ffd2-d2a0-4264-90fe-31b998f81ac2", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(5) primitive-property:nth-child(3) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(5) primitive-property:nth-child(3) .d-block:nth-child(2)", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section[5]/div/div[2]/object-property/object-property/primitive-property[3]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[5]/div/div[2]/object-property/object-property/primitive-property[3]/div/span[2]", "xpath:position"] + ], + "value": "true" + }, { + "id": "7300785c-b83e-49b8-97a6-d66516f6c133", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(6) .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate", + "targets": [ + ["css=.mb-4:nth-child(6) .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section[6]/div/div[2]/object-property/array-property/div/div[2]/div/div[2]", "xpath:idRelative"], + ["xpath=//section[6]/div/div[2]/object-property/array-property/div/div[2]/div/div[2]", "xpath:position"] + ], + "value": "http://test.org/assert" + }, { + "id": "951a21c9-4cd3-4989-8dc0-77760ca0dc95", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(7) primitive-property:nth-child(7) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(7) primitive-property:nth-child(7) .d-block:nth-child(2)", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section[7]/div/div[2]/object-property/object-property/primitive-property[7]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[7]/div/div[2]/object-property/object-property/primitive-property[7]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'responder-id-123')]", "xpath:innerText"] + ], + "value": "responder-id-123" + }, { + "id": "e8b794fc-20e2-4317-8bdd-73eee8e94951", + "comment": "", + "command": "assertText", + "target": "css=.d-flex:nth-child(3) > .py-2 > span", + "targets": [ + ["css=.d-flex:nth-child(3) > .py-2 > span", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section[8]/div/div[2]/object-property/array-property/div/div/div[3]/div/span", "xpath:idRelative"], + ["xpath=//section[8]/div/div[2]/object-property/array-property/div/div/div[3]/div/span", "xpath:position"] + ], + "value": "True" + }, { + "id": "cf6660cb-2086-452f-a5e5-ad64db784d92", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(4) > translate-i18n", + "targets": [ + ["css=.btn:nth-child(4) > translate-i18n", "css:finder"], + ["xpath=//div[@id='header']/button/translate-i18n", "xpath:idRelative"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Back to Top')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6a183f25-1a9c-4774-a2cc-975a641ecef7", + "comment": "", + "command": "click", + "target": "css=.btn-link:nth-child(1) > translate-i18n", + "targets": [ + ["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"], + ["xpath=//div/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c0c0f9e1-af95-47b0-8aa8-ed141735d83b", + "comment": "", + "command": "click", + "target": "css=.breadcrumb-item > a", + "targets": [ + ["css=.breadcrumb-item > a", "css:finder"], + ["xpath=//a[contains(text(),'Dashboard')]", "xpath:link"], + ["xpath=(//a[contains(@href, '/dashboard')])[2]", "xpath:href"], + ["xpath=//ol/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "2536386b-315e-4b39-b9a7-badcfd0dfbb1", + "comment": "", + "command": "click", + "target": "linkText=Test Provider", + "targets": [ + ["linkText=Test Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/resolver/5916c370-370b-4fae-94c2-a9a9675ae95b/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2c46cdcd-d5a5-47fe-aa7b-0120fd2fcfc9", + "comment": "", + "command": "click", + "target": "css=.mb-4:nth-child(1) .actions span", + "targets": [ + ["css=.mb-4:nth-child(1) .actions span", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section/div/div/div/button/span", "xpath:idRelative"], + ["xpath=//div/button/span", "xpath:position"], + ["xpath=//span[contains(.,'Edit')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "62348ea5-d2d9-426d-91ae-5e0f5871ad05", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "99731068-2016-4a7f-8a38-febfb711d027", + "comment": "", + "command": "type", + "target": "id=/serviceProviderName", + "targets": [ + ["id=/serviceProviderName", "id"], + ["name=field93", "name"], + ["css=#\\/serviceProviderName", "css:finder"], + ["xpath=//input[@id='/serviceProviderName']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Service Provider v2" + }, { + "id": "c6484ff1-8bf2-4442-8f73-13c7af38634a", + "comment": "", + "command": "type", + "target": "id=/contacts/0/name", + "targets": [ + ["id=/contacts/0/name", "id"], + ["name=field102", "name"], + ["css=#\\/contacts\\/0\\/name", "css:finder"], + ["xpath=//input[@id='/contacts/0/name']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "Test User v2" + }, { + "id": "d424ae83-f36b-41b4-8e08-79c452577d89", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c5985278-503e-4258-bba9-de7d2f157db0", + "comment": "", + "command": "click", + "target": "css=.btn-link:nth-child(1)", + "targets": [ + ["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"], + ["xpath=//div/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fa45c230-dd8d-471d-9cf1-16c508d97ec4", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .custom-control-label", + "targets": [ + ["css=tr:nth-child(1) .custom-control-label", "css:finder"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Check to select')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "35063ee2-cc64-487d-8894-a3d638a27455", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(2) .custom-control-label", + "targets": [ + ["css=tr:nth-child(2) .custom-control-label", "css:finder"], + ["xpath=//tr[2]/td/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "69a5f7ac-6cf2-4eaf-98df-31e7dd034c44", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//history-list/button", "xpath:position"], + ["xpath=//button[contains(.,'Compare Selected(2)')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "978829e9-fa70-4548-9a55-0e2ffa0df9a4", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "1c0b7514-92b7-4e07-b462-467113f4a8cd", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)", "css:finder"], + ["xpath=//primitive-property[2]/div/span[2]", "xpath:position"] + ], + "value": "Service Provider v2" + }, { + "id": "fc7c4e1e-03c7-4108-9a8d-f469e7679ae4", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(3)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(3)", "css:finder"], + ["xpath=//primitive-property[2]/div/span[3]", "xpath:position"], + ["xpath=//span[contains(.,'Test Provider')]", "xpath:innerText"] + ], + "value": "Test Provider" + }, { + "id": "138ad58b-f0a2-436b-a8b0-43484f4180e6", + "comment": "", + "command": "assertText", + "target": "css=.bg-diff > .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(3)", + "targets": [ + ["css=.bg-diff > .py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(3)", "css:finder"], + ["xpath=//div[2]/div/div[2]", "xpath:position"] + ], + "value": "Test User v2" + }, { + "id": "17049c95-4724-4521-ac47-6b64bde822aa", + "comment": "", + "command": "assertText", + "target": "css=.py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(4)", + "targets": [ + ["css=.py-2:nth-child(2) > .d-flex:nth-child(1) > .text-truncate:nth-child(4)", "css:finder"], + ["xpath=//div/div[3]", "xpath:position"] + ], + "value": "Test User" + }, { + "id": "4d1a88de-e41a-444b-b351-38febb7cbab3", + "comment": "", + "command": "click", + "target": "css=.breadcrumb-item > a", + "targets": [ + ["css=.breadcrumb-item > a", "css:finder"], + ["xpath=//a[contains(text(),'Dashboard')]", "xpath:link"], + ["xpath=(//a[contains(@href, '/dashboard')])[2]", "xpath:href"], + ["xpath=//ol/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "dcee0b69-0da6-4434-b1b0-6917e6cfb4b0", + "comment": "", + "command": "click", + "target": "linkText=Service Provider v2", + "targets": [ + ["linkText=Service Provider v2", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Service Provider v2')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/resolver/bf2f07f7-ab56-4a85-a325-eefa2934bc29/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Service Provider v2')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8ff1a53e-948a-4732-8414-2f371e410c7d", + "comment": "", + "command": "click", + "target": "css=.mb-4:nth-child(2) .actions span", + "targets": [ + ["css=.mb-4:nth-child(2) .actions span", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section[2]/div/div/div/button/span", "xpath:idRelative"], + ["xpath=//section[2]/div/div/div/button/span", "xpath:position"] + ], + "value": "" + }, { + "id": "e1748ca6-18b9-4195-8f09-5c18d317fc88", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "6f422a9d-6c2f-4200-bdd3-411ed44773a3", + "comment": "", + "command": "type", + "target": "id=/mdui/displayName", + "targets": [ + ["id=/mdui/displayName", "id"], + ["name=field111", "name"], + ["css=#\\/mdui\\/displayName", "css:finder"], + ["xpath=//input[@id='/mdui/displayName']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Display Name v3" + }, { + "id": "c2d29077-30c4-45cf-81c9-b5790294e11e", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info > translate-i18n", "css:finder"], + ["xpath=//div[2]/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f2e3d420-5cf5-4165-94da-41688839cf82", + "comment": "", + "command": "click", + "target": "css=.btn-link:nth-child(1)", + "targets": [ + ["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"], + ["xpath=//div/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d1389dc8-86b0-44df-a39e-0037bc695403", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .custom-control-label", + "targets": [ + ["css=tr:nth-child(1) .custom-control-label", "css:finder"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Check to select')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "68972f7d-8268-4701-865c-585a39987208", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(3) .custom-control-label", + "targets": [ + ["css=tr:nth-child(2) .custom-control-label", "css:finder"], + ["xpath=//tr[2]/td/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "5b95768e-3e6d-4234-9726-87214bce79a3", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//history-list/button", "xpath:position"], + ["xpath=//button[contains(.,'Compare Selected(2)')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "98aafaee-a430-4a2d-9aa5-b4c9ce0c4908", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "5a976e2c-dc5f-4021-9cc6-3cad12e771ea", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(2)", "css:finder"], + ["xpath=//section[2]/div/div[2]/object-property/object-property/primitive-property/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'Display Name v3')]", "xpath:innerText"] + ], + "value": "Display Name v3" + }, { + "id": "72328587-fe8d-4dc8-bc3d-a163f91a1ad6", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(3)", + "targets": [ + ["css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(3)", "css:finder"], + ["xpath=//section[2]/div/div[2]/object-property/object-property/primitive-property/div/span[3]", "xpath:position"] + ], + "value": "Display Name" + }, { + "id": "04275c4f-c243-46d4-8179-e6aa913ee5f7", + "comment": "", + "command": "click", + "target": "css=.btn-link", + "targets": [ + ["css=.btn-link > translate-i18n", "css:finder"], + ["xpath=//div/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "260d2882-f351-440b-b414-209666745530", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(2) .btn", + "targets": [ + ["css=tr:nth-child(2) .btn", "css:finder"], + ["xpath=//td[4]/button", "xpath:position"], + ["xpath=//button[contains(.,'  Restore')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1a4ed03b-cc8d-4bb2-9b4c-2152d7a577c0", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[2]", "xpath:position"], + ["xpath=//button[contains(.,'Restore')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0e3e455b-e44c-41ee-8b6e-b50df56e7946", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "db39c891-73da-4ad9-9360-00dd8b845f60", + "comment": "", + "command": "type", + "target": "id=/serviceProviderName", + "targets": [ + ["id=/serviceProviderName", "id"], + ["name=field197", "name"], + ["css=#\\/serviceProviderName", "css:finder"], + ["xpath=//input[@id='/serviceProviderName']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Service Provider - Restored" + }, { + "id": "d1bd3a3c-7a7b-4c0a-a513-5eeff3c8bfd8", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d829b597-552a-4b7d-93c7-389b3495f393", + "comment": "", + "command": "click", + "target": "linkText=Version History", + "targets": [ + ["linkText=Version History", "linkText"], + ["css=div:nth-child(1) > .btn", "css:finder"], + ["xpath=//div[@id='navigation']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/resolver/483fafb4-d79a-4dbf-ac5b-04121946228c/configuration/history')]", "xpath:href"], + ["xpath=//div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'  Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "65874803-451a-40fe-b004-c278f5f7ca79", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .custom-control-label", + "targets": [ + ["css=tr:nth-child(1) .custom-control-label", "css:finder"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Check to select')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "cbe517ec-828a-41ae-9fe0-4aa14ce74373", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(3) .custom-control-label", + "targets": [ + ["css=tr:nth-child(3) .custom-control-label", "css:finder"], + ["xpath=//tr[3]/td/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "06df3804-7492-48df-915c-6dd4da757e3f", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//history-list/button", "xpath:position"], + ["xpath=//button[contains(.,'Compare Selected(2)')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "92879253-4fee-4329-987c-781df80ad50a", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "18918b08-9ae1-4bc3-836c-73feb1812cde", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)", "css:finder"], + ["xpath=//primitive-property[2]/div/span[2]", "xpath:position"] + ], + "value": "Service Provider - Restored" + }, { + "id": "e3dc2662-98da-46ad-a25e-fc8f57d29983", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(3)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(3)", "css:finder"], + ["xpath=//primitive-property[2]/div/span[3]", "xpath:position"], + ["xpath=//span[contains(.,'Service Provider v2')]", "xpath:innerText"] + ], + "value": "Service Provider v2" + }, { + "id": "8bf73f7f-def2-4044-835d-695fb701de8d", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(2)", "css:finder"], + ["xpath=//section[2]/div/div[2]/object-property/object-property/primitive-property/div/span[2]", "xpath:position"] + ], + "value": "Display Name" + }, { + "id": "50732e8a-e89d-447a-b9b2-96c218e7e284", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(3)", + "targets": [ + ["css=.mb-4:nth-child(2) primitive-property:nth-child(1) .d-block:nth-child(3)", "css:finder"], + ["xpath=//section[2]/div/div[2]/object-property/object-property/primitive-property/div/span[3]", "xpath:position"] + ], + "value": "Display Name" + }] + }], + "suites": [{ + "id": "d2caeac4-7520-4e3c-96b1-840610b6983c", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["841ade0e-83bd-4a4b-94f2-de6bd5c536b2"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1385-2.side b/backend/src/integration/resources/SHIBUI-1385-2.side new file mode 100644 index 000000000..58b330239 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1385-2.side @@ -0,0 +1,1328 @@ +{ + "id": "6c70c319-3e73-4a13-8ee7-d9da5f802b83", + "version": "2.0", + "name": "SHIBUI-1385-2", + "url": "http://localhost:10101", + "tests": [{ + "id": "1e7a4ca4-b2e6-4e5a-8e38-823ae8a1e20d", + "name": "SHIBUI-1385-2", + "commands": [{ + "id": "29bb3186-81c8-4b3e-a9d9-5ff55d225878", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "302b949f-39b8-4060-813b-d827cf62dff4", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "a7910a51-e40e-4cdb-a72e-5f2cfd1b3656", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "6636b5f6-2b97-4be9-9fc7-44d6b48b8abf", + "comment": "", + "command": "sendKeys", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "${KEY_ENTER}" + }, { + "id": "e7a98419-36c7-4b0f-a99d-087144f6a417", + "comment": "", + "command": "click", + "target": "css=.fa-plus-circle", + "targets": [ + ["css=.fa-plus-circle", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/i", "xpath:idRelative"], + ["xpath=//i", "xpath:position"] + ], + "value": "" + }, { + "id": "74fef022-3979-4bed-9226-b25114514976", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "b49d6ed7-75ea-4be8-9a79-c7fd83287aa0", + "comment": "", + "command": "click", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field1", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "54dc29f7-bbe0-4c2b-a76e-e67a61f57a96", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field1", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Metadata Provider" + }, { + "id": "add874d5-e3b2-4412-8039-2b9d2619ed19", + "comment": "", + "command": "select", + "target": "id=/type", + "targets": [ + ["css=select-component > .widget", "css:finder"], + ["xpath=//select-component/div", "xpath:position"] + ], + "value": "label=FileBackedHttpMetadataProvider" + }, { + "id": "1cc352f4-0d71-4a3e-9399-1d9932816efc", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "d072327c-78b4-4bdb-8020-b825cd26592d", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "86262eda-4a44-41b0-b7aa-fa46406e2601", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=field7", "id"], + ["name=field7", "name"], + ["css=#field7", "css:finder"], + ["xpath=//input[@id='field7']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "123" + }, { + "id": "26cc765d-98c1-414c-97d8-4c7e5c6ab7e2", + "comment": "", + "command": "type", + "target": "id=/metadataURL", + "targets": [ + ["id=field8", "id"], + ["name=field8", "name"], + ["css=#field8", "css:finder"], + ["xpath=//input[@id='field8']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "f0459917-b2a1-4e3c-8800-25273965129f", + "comment": "", + "command": "click", + "target": "id=/initializeFromBackupFile.false", + "targets": [ + ["id=/initializeFromBackupFile.false", "id"], + ["css=#\\/initializeFromBackupFile\\.false", "css:finder"], + ["xpath=//input[@id='/initializeFromBackupFile.false']", "xpath:attributes"], + ["xpath=//div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "5b37cf08-77b9-4091-94f9-c0d539c9010d", + "comment": "", + "command": "type", + "target": "id=/backingFile", + "targets": [ + ["id=/backingFile", "id"], + ["name=field10", "name"], + ["css=#\\/backingFile", "css:finder"], + ["xpath=//input[@id='/backingFile']", "xpath:attributes"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo.txt" + }, { + "id": "e9924807-d5e2-4d54-94ba-d74d19f7d96a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "203d0d3c-d866-422a-8b48-b50181db00e9", + "comment": "", + "command": "click", + "target": "css=.fa-caret-down", + "targets": [ + ["css=.fa-caret-down", "css:finder"], + ["xpath=//div[@id='/backupFileInitNextRefreshDelay-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "8d3c5584-8a55-48cd-85d9-2022d9fde676", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "5fc6a348-0533-4d94-bb76-ebb891a0db8f", + "comment": "", + "command": "click", + "target": "id=/backupFileInitNextRefreshDelay__option--1", + "targets": [ + ["id=/backupFileInitNextRefreshDelay__option--1", "id"], + ["css=#\\/backupFileInitNextRefreshDelay__option--1", "css:finder"], + ["xpath=//li[@id='/backupFileInitNextRefreshDelay__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/backupFileInitNextRefreshDelay__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "bf041d41-5d58-4f69-8fcc-49ec79e5547d", + "comment": "", + "command": "click", + "target": "id=/requireValidMetadata.false", + "targets": [ + ["id=/requireValidMetadata.false", "id"], + ["css=#\\/requireValidMetadata\\.false", "css:finder"], + ["xpath=//input[@id='/requireValidMetadata.false']", "xpath:attributes"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "fba85c75-e218-4deb-b5e1-888ff75b6a4e", + "comment": "", + "command": "click", + "target": "id=/failFastInitialization.false", + "targets": [ + ["id=/failFastInitialization.false", "id"], + ["css=#\\/failFastInitialization\\.false", "css:finder"], + ["xpath=//input[@id='/failFastInitialization.false']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "375b8d6e-179b-4f14-8f00-d8a8cad29d7e", + "comment": "", + "command": "click", + "target": "id=/useDefaultPredicateRegistry.false", + "targets": [ + ["id=/useDefaultPredicateRegistry.false", "id"], + ["css=#\\/useDefaultPredicateRegistry\\.false", "css:finder"], + ["xpath=//input[@id='/useDefaultPredicateRegistry.false']", "xpath:attributes"], + ["xpath=//div[8]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "8b4bf341-62c0-491f-b775-d2faf55477bc", + "comment": "", + "command": "click", + "target": "id=/satisfyAnyPredicates.true", + "targets": [ + ["id=/satisfyAnyPredicates.true", "id"], + ["css=#\\/satisfyAnyPredicates\\.true", "css:finder"], + ["xpath=//input[@id='/satisfyAnyPredicates.true']", "xpath:attributes"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "57ca153c-4121-4531-9ebe-3dfba20fa299", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "d2d7487c-e0d0-4777-bbcb-b78f14e1c70a", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "a188bc3e-fd98-4d49-ae35-a0b78a17607c", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/minRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c5ca7be2-6985-4e96-b0dc-6e00e3b42978", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "a159e056-c870-4e02-a7e9-4b3a60d83718", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--1", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--1", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay__option--1", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "166847ab-46ab-4555-a61a-f3a06a4cef4e", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "7a72cf6a-c97a-49f6-83d0-cbe42f0fdb7d", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .fa", "css:finder"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4c3da8ca-719a-4ce6-bb61-c1ee1e09358f", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "820397f5-aabb-46f5-a65a-56747ce29091", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--3", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--3", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay__option--3", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "b036a851-4ac9-43cb-8686-8e78ed940d72", + "comment": "", + "command": "type", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field20", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "0.5" + }, { + "id": "b48d48d8-2fec-4877-85ae-2f94f15e63eb", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "05de8997-f3d9-4503-b4fb-058b72cad03e", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "232da257-962f-4a4b-8213-038ef90c96c3", + "comment": "", + "command": "click", + "target": "css=.btn-outline-secondary", + "targets": [ + ["css=.btn-outline-secondary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "293cf806-cec0-4b31-a7be-c77e938ac435", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "b8d999f1-0c59-4a9a-9991-91d222f52b8e", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1", + "targets": [ + ["id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1", "id"], + ["css=#\\/metadataFilters\\/RequiredValidUntil\\/maxValidityInterval__option--1", "css:finder"], + ["xpath=//li[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'P14D')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8af1abb5-2c7a-4a4c-a8f7-0eb287100dde", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/SignatureValidation/requireSignedRoot", + "targets": [ + ["css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", "css:finder"], + ["xpath=//div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Require Signed Root')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "323a2a02-9111-4064-8bb0-a3da34330e54", + "comment": "", + "command": "type", + "target": "id=/metadataFilters/SignatureValidation/certificateFile", + "targets": [], + "value": "%{idp.home}/foo.txt" + }, { + "id": "a125e601-f306-441d-9c8c-e97b95817b46", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "74d696db-3f3b-4ff3-a180-34baceb469a2", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/0", + "targets": [], + "value": "label=SPSSODescriptor" + }, { + "id": "532bf2e5-13fc-48d7-b01b-ff16207a554d", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: md:SPSSODescriptor']", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/0']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'SPSSODescriptor')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "12cf80c9-594c-4c4d-bf26-aa36ba636220", + "comment": "", + "command": "click", + "target": "css=.fa-plus", + "targets": [ + ["css=.fa-plus", "css:finder"], + ["xpath=//array-component/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "6cb9854b-293b-482d-8c07-4b7c638d79cb", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(1)", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(1)", "css:finder"], + ["xpath=(//option[@value=''])[2]", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/1']/option", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/select-component/div/select/option", "xpath:position"] + ], + "value": "" + }, { + "id": "f366c86c-1420-4fb7-86c2-82c49d81208d", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/1", + "targets": [], + "value": "label=AttributeAuthorityDescriptor" + }, { + "id": "5dfac033-ecfd-42e8-aa6f-931d5acd4d89", + "comment": "", + "command": "click", + "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", + "targets": [ + ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Roleless Entity Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9d5934f0-fe10-4539-9d71-80b454fc8612", + "comment": "", + "command": "click", + "target": "css=div:nth-child(3) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", + "targets": [ + ["css=div:nth-child(3) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Empty Entities Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "530234cd-ec70-48f2-9cc6-9e0d848c4b82", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "79b96f40-2677-438a-9564-62df0ea2c116", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [], + "value": "" + }, { + "id": "52f5680c-c63d-411e-8332-52901f12ea3b", + "comment": "", + "command": "assertText", + "target": "css=.px-3:nth-child(1) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", + "targets": [ + ["css=.px-3:nth-child(1) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"], + ["xpath=//summary-property/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Test Metadata Provider')]", "xpath:innerText"] + ], + "value": "Test Metadata Provider" + }, { + "id": "67ff44aa-1efd-4b13-a0e9-3648a09911dd", + "comment": "", + "command": "assertText", + "target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", + "targets": [ + ["css=.px-3:nth-child(2) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"], + ["xpath=//section[2]/summary-property/div/span", "xpath:position"], + ["xpath=//span[contains(.,'123')]", "xpath:innerText"] + ], + "value": "123" + }, { + "id": "f5197d46-41a7-4ef2-ac40-19f80c953929", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "1067b0b4-8aff-4972-b6f5-e4479eca9150", + "comment": "", + "command": "waitForElementPresent", + "target": "css=.badge-success", + "targets": [ + ["css=.badge > span", "css:finder"], + ["xpath=//span/span", "xpath:position"] + ], + "value": "10000" + }, { + "id": "f48dd1b5-607a-485b-b1d5-03301f99b9ce", + "comment": "", + "command": "assertText", + "target": "linkText=Test Metadata Provider", + "targets": [ + ["linkText=Test Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/4cc9924f-fd9e-4ef3-bf57-3b24eec9f27f/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Metadata Provider')]", "xpath:innerText"] + ], + "value": "Test Metadata Provider" + }, { + "id": "5eccd4e9-a451-4ec8-a9e1-1e1f8e771677", + "comment": "", + "command": "assertText", + "target": "css=td:nth-child(3)", + "targets": [ + ["css=td:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'FileBackedHttpMetadataResolver')]", "xpath:innerText"] + ], + "value": "FileBackedHttpMetadataResolver" + }, { + "id": "c768c2c1-09d4-46fe-8007-42fb4b3f4aaa", + "comment": "", + "command": "assertText", + "target": "css=td:nth-child(4)", + "targets": [ + ["css=td:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'admin')]", "xpath:innerText"] + ], + "value": "admin" + }, { + "id": "8283ffc5-d46c-4a07-b95e-1534dfd34c02", + "comment": "", + "command": "click", + "target": "linkText=Test Metadata Provider", + "targets": [ + ["linkText=Test Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/ae086029-5871-4951-bcf0-8903d7a1a1f7/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "67578648-0800-4716-8c0c-27741770249a", + "comment": "", + "command": "click", + "target": "css=.mb-4:nth-child(1) .actions span", + "targets": [ + ["css=.mb-4:nth-child(1) .actions span", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section/div/div/div/button/span", "xpath:idRelative"], + ["xpath=//div/button/span", "xpath:position"], + ["xpath=//span[contains(.,'Edit')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5636ef67-71fb-4bca-ba58-7ecf926c7bf0", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "7d641e58-47ce-4d20-908c-e0002ff73cfa", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field38", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "123 version 2" + }, { + "id": "b78c81e9-41ac-41db-837a-0db6bd4f77eb", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "247b04c1-e690-42bc-ae15-dfbedb44d2e9", + "comment": "", + "command": "click", + "target": "id=/satisfyAnyPredicates.false", + "targets": [ + ["id=/satisfyAnyPredicates.false", "id"], + ["css=#\\/satisfyAnyPredicates\\.false", "css:finder"], + ["xpath=//input[@id='/satisfyAnyPredicates.false']", "xpath:attributes"], + ["xpath=//div[10]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "5aacc6b8-b509-4405-8755-c60fa3619e67", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "eb08417b-b8f0-46dc-9e32-e8daf3bc205d", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "cf005a45-74ae-4f7a-a53c-ed59d63f7114", + "comment": "", + "command": "click", + "target": "linkText=Test Metadata Provider", + "targets": [ + ["linkText=Test Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/ae086029-5871-4951-bcf0-8903d7a1a1f7/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ea880e6a-498a-427a-bc08-8058137d62e0", + "comment": "", + "command": "click", + "target": "css=.btn-link:nth-child(1)", + "targets": [ + ["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"], + ["xpath=//div/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c223e329-733c-41eb-9e85-c6f69a840179", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .custom-control-label", + "targets": [ + ["css=tr:nth-child(1) .custom-control-label", "css:finder"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Check to select')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9b764399-76cc-44e7-8d72-5a3383387a5f", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(2) .custom-control-label", + "targets": [ + ["css=tr:nth-child(2) .custom-control-label", "css:finder"], + ["xpath=//tr[2]/td/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "32ef784f-ccf0-4fd7-afff-40f0ba877dad", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary > translate-i18n", "css:finder"], + ["xpath=//history-list/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Compare Selected')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ce328b6a-f6ee-45e9-975c-5a5608f373dc", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)", + "targets": [], + "value": "10000" + }, { + "id": "68103f0e-e3f1-419b-903d-5d8c30bc6700", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)", "css:finder"], + ["xpath=//primitive-property[4]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'123 version 2')]", "xpath:innerText"] + ], + "value": "123 version 2" + }, { + "id": "a13198b9-7827-47e2-ade3-143b981d34ee", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(3)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(3)", "css:finder"], + ["xpath=//primitive-property[4]/div/span[3]", "xpath:position"] + ], + "value": "123" + }, { + "id": "3d83741c-299e-4fcb-9ce6-4b7291c423a4", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(2)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(2)", "css:finder"], + ["xpath=//primitive-property[12]/div/span[2]", "xpath:position"] + ], + "value": "false" + }, { + "id": "190cc157-d427-4046-aff2-180392395ad3", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(3)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(3)", "css:finder"], + ["xpath=//primitive-property[12]/div/span[3]", "xpath:position"] + ], + "value": "true" + }, { + "id": "f6897c4f-763f-4360-95a2-1d144455fa17", + "comment": "", + "command": "click", + "target": "css=.breadcrumb-item > a", + "targets": [ + ["css=.breadcrumb-item > a", "css:finder"], + ["xpath=//a[contains(text(),'Dashboard')]", "xpath:link"], + ["xpath=(//a[contains(@href, '/dashboard')])[2]", "xpath:href"], + ["xpath=//ol/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "41c1d29e-9eaa-41d3-979b-46601fd7a178", + "comment": "", + "command": "click", + "target": "linkText=Metadata Providers", + "targets": [ + ["linkText=Metadata Providers", "linkText"], + ["css=.nav > .nav-item:nth-child(2) > .nav-link", "css:finder"], + ["xpath=//a[contains(text(),'Metadata Providers')]", "xpath:link"], + ["xpath=//a[contains(@href, '/dashboard/metadata/manager/providers')]", "xpath:href"], + ["xpath=//dashboard-page/div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Metadata Providers')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5dd3952e-d716-4d63-8a08-23be4983da23", + "comment": "", + "command": "click", + "target": "linkText=Test Metadata Provider", + "targets": [ + ["linkText=Test Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/eb0ee617-33e2-4a31-83a5-7c42515c3b4f/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c9341f6f-4d13-4378-bb5c-0079e7535008", + "comment": "", + "command": "click", + "target": "css=.mb-4:nth-child(4) .actions span", + "targets": [ + ["css=.mb-4:nth-child(4) .actions span", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section[4]/div/div/div/button/span", "xpath:idRelative"], + ["xpath=//section[4]/div/div/div/button/span", "xpath:position"] + ], + "value": "" + }, { + "id": "270a048e-b903-4bc1-b95b-06ffbdef99de", + "comment": "", + "command": "pause", + "target": "3000", + "targets": [], + "value": "" + }, { + "id": "1cde012c-d521-4fd5-a7d5-7a680bba0e7b", + "comment": "", + "command": "click", + "target": "css=.slider", + "targets": [ + ["css=.slider", "css:finder"], + ["xpath=//toggle-switch[@id='toggle']/label/span", "xpath:idRelative"], + ["xpath=//label/span", "xpath:position"] + ], + "value": "" + }, { + "id": "a91c64f1-c45f-471e-8786-eb55817bc282", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "78967fb5-8f61-46ce-9c14-9b6ceb12b03a", + "comment": "", + "command": "click", + "target": "css=#\\/httpMetadataResolverAttributes\\/connectionRequestTimeout-container .btn", + "targets": [ + ["css=#\\/httpMetadataResolverAttributes\\/connectionRequestTimeout-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/httpMetadataResolverAttributes/connectionRequestTimeout-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "aa3ed5b0-cd6e-4e8d-9c35-57524db80ca7", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "8ba62572-354d-47f4-bb72-f9309c1cb201", + "comment": "", + "command": "click", + "target": "id=/httpMetadataResolverAttributes/connectionRequestTimeout__option--1", + "targets": [ + ["id=/httpMetadataResolverAttributes/connectionRequestTimeout__option--1", "id"], + ["css=#\\/httpMetadataResolverAttributes\\/connectionRequestTimeout__option--1", "css:finder"], + ["xpath=//li[@id='/httpMetadataResolverAttributes/connectionRequestTimeout__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/httpMetadataResolverAttributes/connectionRequestTimeout__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "31d15a76-ef02-42ed-87a0-56543de45b0d", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "d7406190-0bb0-4df8-9c0b-7e393952b6a2", + "comment": "", + "command": "click", + "target": "css=#\\/httpMetadataResolverAttributes\\/connectionTimeout-container .btn", + "targets": [ + ["css=#\\/httpMetadataResolverAttributes\\/connectionTimeout-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/httpMetadataResolverAttributes/connectionTimeout-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "bf37da0d-3a16-4944-b7ae-f116c898040b", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "337ac160-7990-425f-83da-2788d8a0985e", + "comment": "", + "command": "click", + "target": "id=/httpMetadataResolverAttributes/connectionTimeout__option--2", + "targets": [ + ["id=/httpMetadataResolverAttributes/connectionTimeout__option--2", "id"], + ["css=#\\/httpMetadataResolverAttributes\\/connectionTimeout__option--2", "css:finder"], + ["xpath=//li[@id='/httpMetadataResolverAttributes/connectionTimeout__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/httpMetadataResolverAttributes/connectionTimeout__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "603e9774-e7cb-4c31-9e53-43c4262ba58d", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "19182110-0f86-4601-ae12-0b90967ef68a", + "comment": "", + "command": "click", + "target": "css=#\\/httpMetadataResolverAttributes\\/socketTimeout-container .btn", + "targets": [ + ["css=#\\/httpMetadataResolverAttributes\\/socketTimeout-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='/httpMetadataResolverAttributes/socketTimeout-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "70ca5b38-22a6-4c61-b645-9b67b2e88178", + "comment": "", + "command": "pause", + "target": "500", + "targets": [], + "value": "" + }, { + "id": "34693225-4754-4b27-92ee-3e37304a8cd7", + "comment": "", + "command": "click", + "target": "id=/httpMetadataResolverAttributes/socketTimeout__option--3", + "targets": [ + ["id=/httpMetadataResolverAttributes/socketTimeout__option--3", "id"], + ["css=#\\/httpMetadataResolverAttributes\\/socketTimeout__option--3", "css:finder"], + ["xpath=//li[@id='/httpMetadataResolverAttributes/socketTimeout__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/httpMetadataResolverAttributes/socketTimeout__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "d9a9dcb4-bac1-4f5a-a822-047bd2941df0", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c3ad6c24-736a-492a-8952-b368e123d8e1", + "comment": "", + "command": "waitForElementVisible", + "target": "linkText=Test Metadata Provider", + "targets": [], + "value": "10000" + }, { + "id": "8868c054-2e6a-403e-ba2b-499a56730d71", + "comment": "", + "command": "click", + "target": "linkText=Test Metadata Provider", + "targets": [ + ["linkText=Test Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/eb0ee617-33e2-4a31-83a5-7c42515c3b4f/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0092cd5c-a885-4a48-a233-b3af447b02bc", + "comment": "", + "command": "click", + "target": "css=.btn-link:nth-child(1)", + "targets": [ + ["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"], + ["xpath=//div/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2cfe222d-a506-4f2b-8840-4b4a76cf2bfb", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .custom-control-label", + "targets": [ + ["css=tr:nth-child(1) .custom-control-label", "css:finder"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Check to select')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a10e3e37-28f1-403f-b572-8b4020de7904", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(2) .custom-control-label", + "targets": [ + ["css=tr:nth-child(2) .custom-control-label", "css:finder"], + ["xpath=//tr[2]/td/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "d487ae82-707d-4991-8914-89cf181b656e", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//history-list/button", "xpath:position"], + ["xpath=//button[contains(.,'Compare Selected(2)')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9f1380c3-2b99-4b7d-90b7-f20d4fe431d3", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mb-4:nth-child(4) primitive-property:nth-child(2) .d-block:nth-child(2)", + "targets": [], + "value": "10000" + }, { + "id": "8a2c6435-d77b-4c87-8e0e-e1ae6d4629b9", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(4) primitive-property:nth-child(2) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(4) primitive-property:nth-child(2) .d-block:nth-child(2)", "css:finder"], + ["xpath=//section[4]/div/div[2]/object-property/object-property/primitive-property[2]/div/span[2]", "xpath:position"] + ], + "value": "PT30S" + }, { + "id": "0687fe3f-c1af-4a5a-9708-09b7b92734bc", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(4) primitive-property:nth-child(3) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(4) primitive-property:nth-child(3) .d-block:nth-child(2)", "css:finder"], + ["xpath=//section[4]/div/div[2]/object-property/object-property/primitive-property[3]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'PT1M')]", "xpath:innerText"] + ], + "value": "PT1M" + }, { + "id": "a007794f-ab91-47b8-b470-e4294e47a2a7", + "comment": "", + "command": "assertText", + "target": "css=object-property:nth-child(1) > primitive-property:nth-child(4) .d-block:nth-child(2)", + "targets": [ + ["css=object-property:nth-child(1) > primitive-property:nth-child(4) .d-block:nth-child(2)", "css:finder"], + ["xpath=//object-property/object-property/primitive-property[4]/div/span[2]", "xpath:position"] + ], + "value": "PT10M" + }, { + "id": "5279bf64-46c1-4376-a527-e19e217b42fa", + "comment": "", + "command": "assertText", + "target": "css=object-property:nth-child(1) > primitive-property:nth-child(5) .d-block:nth-child(2)", + "targets": [ + ["css=object-property:nth-child(1) > primitive-property:nth-child(5) .d-block:nth-child(2)", "css:finder"], + ["xpath=//object-property/object-property/primitive-property[5]/div/span[2]", "xpath:position"] + ], + "value": "false" + }, { + "id": "ce9e6e24-d05a-41ee-ba62-6b7199503a2e", + "comment": "", + "command": "click", + "target": "css=.btn-link", + "targets": [ + ["css=.btn-link > translate-i18n", "css:finder"], + ["xpath=//div/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9606d709-d654-40ac-a826-5fec8f6bcb11", + "comment": "", + "command": "waitForElementVisible", + "target": "css=tr:nth-child(2) .btn", + "targets": [], + "value": "10000" + }, { + "id": "40ee76e9-443c-4bd1-9820-d7def997b415", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(2) .btn", + "targets": [ + ["css=tr:nth-child(2) .btn", "css:finder"], + ["xpath=//td[4]/button", "xpath:position"], + ["xpath=//button[contains(.,'  Restore')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9d0c944b-99ac-44ed-b199-d859bfbe50bb", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[2]", "xpath:position"], + ["xpath=//button[contains(.,'Restore')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e58a9927-7292-4f25-97da-e478dd9bfc22", + "comment": "", + "command": "pause", + "target": "3000", + "targets": [], + "value": "" + }, { + "id": "5cc819ab-5673-476a-9cc4-b0bfb95b5944", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field144", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Metadata Provider - Restored" + }, { + "id": "4d5e0749-0784-4098-967a-28608ca7ef12", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info > translate-i18n", "css:finder"], + ["xpath=//div[2]/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1efd6980-3e1c-4d9a-974e-d4e36cffbf73", + "comment": "", + "command": "pause", + "target": "3000", + "targets": [], + "value": "" + }, { + "id": "de88473e-4c7c-4769-80d8-8552562c47f2", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(2)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(2)", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section/div/div[2]/object-property/primitive-property/div/span[2]", "xpath:idRelative"], + ["xpath=//div/span[2]", "xpath:position"] + ], + "value": "Test Metadata Provider - Restored" + }, { + "id": "30aae338-393c-4312-8ccc-f3fd8acb3aad", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)", "css:finder"], + ["xpath=//metadata-configuration[@id='configuration']/div/section/div/div[2]/object-property/primitive-property[4]/div/span[2]", "xpath:idRelative"], + ["xpath=//primitive-property[4]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'123 version 2')]", "xpath:innerText"] + ], + "value": "123 version 2" + }, { + "id": "9a8a3d25-0adf-4e20-81fd-cbce85a5d3d5", + "comment": "", + "command": "click", + "target": "css=.btn-link:nth-child(1)", + "targets": [ + ["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"], + ["xpath=//div/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0433b996-84e2-4dbc-82d1-cf9338fa2ddd", + "comment": "", + "command": "waitForElementVisible", + "target": "css=tr:nth-child(1) .custom-control-label", + "targets": [], + "value": "10000" + }, { + "id": "d6c44547-9a6f-4864-822e-8678b6651000", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .custom-control-label", + "targets": [ + ["css=tr:nth-child(1) .custom-control-label", "css:finder"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Check to select')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "60cd002d-b5ae-4228-9003-1f5a52943f9e", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(3) .custom-control-label", + "targets": [ + ["css=tr:nth-child(3) .custom-control-label", "css:finder"], + ["xpath=//tr[3]/td/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "f1666a3b-5c45-4caa-9a88-f5cb96096276", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//history-list/button", "xpath:position"], + ["xpath=//button[contains(.,'Compare Selected(2)')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "20bfdc06-e12b-4287-ad14-3ca578d84de1", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)", + "targets": [], + "value": "10000" + }, { + "id": "a6c78ab6-5584-490f-9bfd-b1eda70b864b", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)", "css:finder"], + ["xpath=//primitive-property[4]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'123 version 2')]", "xpath:innerText"] + ], + "value": "123 version 2" + }, { + "id": "17832263-6fd7-4df8-86ba-f3e2fdc5d8ce", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(3)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(3)", "css:finder"], + ["xpath=//primitive-property[4]/div/span[3]", "xpath:position"] + ], + "value": "123 version 2" + }, { + "id": "f0923b86-0cdd-44af-b24e-8d09a65710d6", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(2)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div/span[2]", "xpath:position"] + ], + "value": "Test Metadata Provider - Restored" + }, { + "id": "aecb6372-976e-4a6e-ba97-88afc017db68", + "comment": "", + "command": "assertText", + "target": "css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(3)", + "targets": [ + ["css=.d-block > primitive-property:nth-child(1) .d-block:nth-child(3)", "css:finder"], + ["xpath=//span[3]", "xpath:position"] + ], + "value": "Test Metadata Provider" + }] + }], + "suites": [{ + "id": "894bbaf7-9978-4d30-b4e3-3c4263e084aa", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["1e7a4ca4-b2e6-4e5a-8e38-823ae8a1e20d"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1391.side b/backend/src/integration/resources/SHIBUI-1391.side new file mode 100644 index 000000000..54e9abafe --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1391.side @@ -0,0 +1,712 @@ +{ + "id": "57bde36d-15e6-4364-b117-4fb36e1e4941", + "version": "2.0", + "name": "SHIBUI-1391", + "url": "http://localhost:10101", + "tests": [{ + "id": "d87336f9-5279-422f-bf4d-73403f34fc85", + "name": "SHIBUI-1391", + "commands": [{ + "id": "2f6aa07a-6a16-439f-8c16-9822163c7b61", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "f1c7d7be-3f12-43f3-8646-ba7294416beb", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "f293afde-ce8a-4b85-9a19-fb77f21df988", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "358c31ea-fab8-4709-9b25-d9e5e82e123c", + "comment": "", + "command": "click", + "target": "name=submit", + "targets": [ + ["name=submit", "name"], + ["css=td:nth-child(1) > input", "css:finder"], + ["xpath=//input[@name='submit']", "xpath:attributes"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "fdea3214-f0e0-4f13-9d5d-e07ef92d71f1", + "comment": "", + "command": "click", + "target": "css=#addNewDropdown", + "targets": [ + ["css=#addNewDropdown > translate-i18n", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], + ["xpath=//translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2c40ac99-5e92-4c1c-923a-5a6100cadf43", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "7a42de04-995f-45aa-ba3f-095900a564ec", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "b2725ef6-b394-4f87-a2a5-031be085cedb", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field4", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "File Backed HTTP Metadata Provider" + }, { + "id": "ca36b018-a4df-43d1-9fbd-973d6653d3e0", + "comment": "", + "command": "select", + "target": "id=/type", + "targets": [ + ["id=/type", "id"], + ["name=field2", "name"], + ["css=#\\/type", "css:finder"], + ["xpath=//select[@id='/type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=FileBackedHttpMetadataProvider" + }, { + "id": "e5d1d696-3029-4f9d-ad53-2e60b4789935", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "352f066f-c2af-4735-81b1-5440ba7a3432", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "e7462621-f4e4-4512-b200-20afa5685fc6", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field7", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "12345" + }, { + "id": "7bfaa2a7-c66d-4e36-b1f4-1de30b02ebd0", + "comment": "", + "command": "type", + "target": "id=/metadataURL", + "targets": [ + ["id=/metadataURL", "id"], + ["name=field8", "name"], + ["css=#\\/metadataURL", "css:finder"], + ["xpath=//input[@id='/metadataURL']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "047e1ea4-e28c-4b1b-86fc-ff19a3c0efcc", + "comment": "", + "command": "click", + "target": "id=/initializeFromBackupFile.false", + "targets": [ + ["id=/initializeFromBackupFile.false", "id"], + ["css=#\\/initializeFromBackupFile\\.false", "css:finder"], + ["xpath=//input[@id='/initializeFromBackupFile.false']", "xpath:attributes"], + ["xpath=//div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "34124b74-7b90-424a-9219-1f0bfbf06b70", + "comment": "", + "command": "type", + "target": "id=/backingFile", + "targets": [ + ["id=/backingFile", "id"], + ["name=field10", "name"], + ["css=#\\/backingFile", "css:finder"], + ["xpath=//input[@id='/backingFile']", "xpath:attributes"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo.txt" + }, { + "id": "0668032d-608b-4a01-9ac8-e4e2ac058294", + "comment": "", + "command": "click", + "target": "css=.btn-outline-secondary", + "targets": [ + ["css=.btn-outline-secondary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/backupFileInitNextRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5aa1d849-42b9-45e8-ac74-d3df1f9458db", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/backupFileInitNextRefreshDelay__option--1", + "targets": [], + "value": "10000" + }, { + "id": "35dfa0f8-c0f2-4356-a6b0-18b5dc35337b", + "comment": "", + "command": "click", + "target": "id=/backupFileInitNextRefreshDelay__option--1", + "targets": [ + ["id=/backupFileInitNextRefreshDelay__option--1", "id"], + ["css=#\\/backupFileInitNextRefreshDelay__option--1", "css:finder"], + ["xpath=//li[@id='/backupFileInitNextRefreshDelay__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/backupFileInitNextRefreshDelay__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b4d0a551-3bc1-466f-b204-ec7164af44ec", + "comment": "", + "command": "click", + "target": "id=/failFastInitialization.false", + "targets": [ + ["id=/failFastInitialization.false", "id"], + ["css=#\\/failFastInitialization\\.false", "css:finder"], + ["xpath=//input[@id='/failFastInitialization.false']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "bef80dbb-25a6-4381-8b0e-331faaeb4392", + "comment": "", + "command": "click", + "target": "id=/satisfyAnyPredicates.true", + "targets": [ + ["id=/satisfyAnyPredicates.true", "id"], + ["css=#\\/satisfyAnyPredicates\\.true", "css:finder"], + ["xpath=//input[@id='/satisfyAnyPredicates.true']", "xpath:attributes"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "d0af8425-5f4c-4037-a549-52553b828179", + "comment": "", + "command": "pause", + "target": "1000", + "targets": [], + "value": "" + }, { + "id": "9fe532ee-4ce6-4ff8-ab6c-ea92eb527ded", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "44e705a1-f284-4303-a0b6-c4bc9896c78d", + "comment": "", + "command": "pause", + "target": "1000", + "targets": [], + "value": "" + }, { + "id": "824b4515-ae14-436e-a56f-d631ea9e1edc", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/minRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9ee7065a-823e-4b4a-b212-0582eeaf7a00", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--0", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--0", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay__option--0", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__listbox']/li", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'PT0S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "618cc5f1-417b-4bc6-9388-3238f2304904", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "a89f1b4d-10bd-48f7-9b97-865710cfe01f", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay__option--2", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "143b781c-56ae-48c6-a7f5-8c93953f6095", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field20", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "dcd01c7a-f733-4977-9cc2-e9084903e079", + "comment": "", + "command": "type", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field20", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "0.5" + }, { + "id": "b7522094-c53a-4e79-8c7c-e38a3b2615f4", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "363af92e-0327-47b9-918c-1560adab40cc", + "comment": "", + "command": "click", + "target": "css=.btn-outline-secondary", + "targets": [ + ["css=.btn-outline-secondary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a4470d6f-04a7-4c4b-8c1e-70cff2f35e8a", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1", + "targets": [ + ["id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1", "id"], + ["css=#\\/metadataFilters\\/RequiredValidUntil\\/maxValidityInterval__option--1", "css:finder"], + ["xpath=//li[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'P14D')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4530c1b4-8f27-4272-9633-c792a3a54f90", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/SignatureValidation/requireSignedRoot.parent']/label", "xpath:idRelative"], + ["xpath=//div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Require Signed Root')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "10cd8cee-fc6a-4e5b-a11b-a7b0a9338f5d", + "comment": "", + "command": "type", + "target": "id=/metadataFilters/SignatureValidation/certificateFile", + "targets": [ + ["id=/metadataFilters/SignatureValidation/certificateFile", "id"], + ["name=field27", "name"], + ["css=#\\/metadataFilters\\/SignatureValidation\\/certificateFile", "css:finder"], + ["xpath=//input[@id='/metadataFilters/SignatureValidation/certificateFile']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo2.txt" + }, { + "id": "a3ce889f-0607-4071-bd39-25b169c30114", + "comment": "", + "command": "click", + "target": "css=div:nth-child(3) > sf-form-element .bg-light", + "targets": [ + ["css=div:nth-child(3) > sf-form-element .bg-light", "css:finder"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/fieldset-object/div/div/fieldset/div", "xpath:position"] + ], + "value": "" + }, { + "id": "f205ec23-b433-44bb-af80-e72330b4c7a3", + "comment": "", + "command": "click", + "target": "css=.fa-plus", + "targets": [ + ["css=.fa-plus", "css:finder"], + ["xpath=//array-component/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4dae6914-ae68-45e2-b332-cc4c1ac71e43", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/0", + "targets": [], + "value": "label=SPSSODescriptor" + }, { + "id": "4b257d69-1948-4c5f-a88d-b1bfa8f2ba72", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: md:SPSSODescriptor']", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/0']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'SPSSODescriptor')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d47fc8b5-4062-4813-90a8-cdc91b777f1d", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "442c5b8d-f108-488e-8779-06171f5081f6", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/1", + "targets": [], + "value": "label=AttributeAuthorityDescriptor" + }, { + "id": "42eddc22-9eed-41d1-aaee-2d4a1d933fa9", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(3)", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(3)", "css:finder"], + ["xpath=(//option[@value='2: md:AttributeAuthorityDescriptor'])[2]", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/1']/option[3]", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/select-component/div/select/option[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "4ebbc08c-ee24-43d8-8c2d-b639a625189c", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeRolelessEntityDescriptors\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeRolelessEntityDescriptors\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/EntityRoleWhiteList/removeRolelessEntityDescriptors.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Roleless Entity Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1c23c527-46e7-4fe6-8f60-37833af073c8", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeEmptyEntitiesDescriptors\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeEmptyEntitiesDescriptors\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/EntityRoleWhiteList/removeEmptyEntitiesDescriptors.parent']/label", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Empty Entities Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ee3d0257-56e2-402d-8fef-c21c8e62b9fe", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "7cd861ea-d86c-4faa-a07b-c1508811b506", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//div[@id='/enabled.parent']/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Enable this service?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0c112a41-8feb-42da-a58b-8fc04e9a3bf6", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "12673aa7-fc4e-4877-9842-a9d88dbc2d97", + "comment": "", + "command": "click", + "target": "linkText=File Backed HTTP Metadata Provider", + "targets": [ + ["linkText=File Backed HTTP Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'File Backed HTTP Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/da22a0b7-40d7-418c-bbe9-7ba4c37d3905/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'File Backed HTTP Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "daa2d46a-d238-4a48-aca7-0f34c9b93d5f", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2) > translate-i18n", + "targets": [ + ["css=.btn:nth-child(2) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/button/translate-i18n", "xpath:idRelative"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Filters')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d86e9a98-a0a1-4696-b454-1bca1d01f9d0", + "comment": "", + "command": "click", + "target": "css=#filters .actions span", + "targets": [ + ["css=#filters .actions span", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a/span", "xpath:idRelative"], + ["xpath=//div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dc41b26d-b101-4ead-866f-482df0bfee04", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "49fe7508-4f42-4eae-a47d-85a0983efb64", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8a52ad88-b583-41b7-92a6-bdb185b03a06", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "b1c779b1-d3ed-47cc-bc88-e5c280161c32", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field37", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Entity Attributes Filter" + }, { + "id": "9ac14c43-206b-4a60-8e58-c4ce64efa2c8", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "a10a6faf-90cd-4713-8ea3-60c768ed935e", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.valuedd", + "targets": [ + ["id=/entityAttributesFilterTarget.valuedd", "id"], + ["css=#\\/entityAttributesFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/entityAttributesFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1f54a508-0b40-4dc0-b6e0-706971fb19bf", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "1f2b93b8-23ae-4a9c-b015-96ca890ae150", + "comment": "", + "command": "click", + "target": "linkText=Regex", + "targets": [ + ["linkText=Regex", "linkText"], + ["css=.dropdown-item:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b2a41370-db61-4bae-a5f7-a8c5e852e15e", + "comment": "", + "command": "pause", + "target": "2000", + "targets": [], + "value": "" + }, { + "id": "5c2ed93d-3630-408c-bb89-0b2baffb73c0", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["name=script", "name"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "66601358-e37c-417b-a174-827037d56969", + "comment": "", + "command": "type", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["name=script", "name"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "*" + }, { + "id": "f4a74feb-0372-4452-a085-64ae37a059cb", + "comment": "", + "command": "assertText", + "target": "css=.form-text:nth-child(2)", + "targets": [ + ["css=.form-text:nth-child(2)", "css:finder"], + ["xpath=//div/div/small", "xpath:position"], + ["xpath=//small[contains(.,'Invalid Regular Expression')]", "xpath:innerText"] + ], + "value": "Invalid Regular Expression" + }, { + "id": "0280c7b8-5714-43b8-89cc-f1260037bd44", + "comment": "", + "command": "type", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["name=script", "name"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": ".*" + }] + }], + "suites": [{ + "id": "248ba015-77cd-430f-b973-d14fd4f39a27", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["d87336f9-5279-422f-bf4d-73403f34fc85"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1392.side b/backend/src/integration/resources/SHIBUI-1392.side new file mode 100644 index 000000000..20cb9c8ee --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1392.side @@ -0,0 +1,500 @@ +{ + "id": "4e005712-0763-4f93-9934-d44663672a48", + "version": "2.0", + "name": "SHIBUI-1392", + "url": "http://localhost:10101", + "tests": [{ + "id": "d35b1f2b-5534-4ddb-9b37-1cc7b809ec9f", + "name": "SHIBUI-1392", + "commands": [{ + "id": "0c418562-dd1c-4727-a304-3f8977acc29f", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "0b42793e-c9ac-47fc-ab89-5996c89eb3d7", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "ae4326d2-6db3-425e-8cec-3e8d95cef71c", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "993b1b6d-5eac-426c-b6fe-89cef25ebc91", + "comment": "", + "command": "click", + "target": "name=submit", + "targets": [ + ["name=submit", "name"], + ["css=td:nth-child(1) > input", "css:finder"], + ["xpath=//input[@name='submit']", "xpath:attributes"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "db2bbd13-3808-4b40-a236-3fe82c1afece", + "comment": "", + "command": "click", + "target": "css=#addNewDropdown", + "targets": [ + ["css=#addNewDropdown > translate-i18n", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], + ["xpath=//translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "32133aaa-76a4-4dd4-8ee6-a9fc5af25ded", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "ea32c92b-9487-499a-8f7a-242ab6fd196f", + "comment": "", + "command": "waitForElementEditable", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "845b34e9-fd90-45de-a38a-469405915292", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field1", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Provider with Script Filter" + }, { + "id": "6daa658d-2560-4448-a522-233ed88e1ad0", + "comment": "", + "command": "select", + "target": "id=/type", + "targets": [], + "value": "label=DynamicHttpMetadataProvider" + }, { + "id": "fb561471-270c-4633-8fe9-ad457ef38459", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "ba2c6633-3813-42e4-95fc-b1b22da875fa", + "comment": "", + "command": "waitForElementEditable", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "09c4adf4-0142-4931-8ffc-ff6ff821e78e", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field7", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "12345" + }, { + "id": "b18627a3-0487-42c0-b3bb-44aa53da8ba3", + "comment": "", + "command": "select", + "target": "id=/metadataRequestURLConstructionScheme/type", + "targets": [], + "value": "label=MetadataQueryProtocol" + }, { + "id": "6548ef95-6862-49ce-82e0-024502aeb9eb", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: MetadataQueryProtocol']", "xpath:attributes"], + ["xpath=//select[@id='/metadataRequestURLConstructionScheme/type']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'MetadataQueryProtocol')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "33263ebe-368a-4804-acb5-8324b822f3ea", + "comment": "", + "command": "click", + "target": "id=/metadataRequestURLConstructionScheme/content", + "targets": [ + ["id=/metadataRequestURLConstructionScheme/content", "id"], + ["name=field10", "name"], + ["css=#\\/metadataRequestURLConstructionScheme\\/content", "css:finder"], + ["xpath=//input[@id='/metadataRequestURLConstructionScheme/content']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "99061d82-049c-40cc-a7d8-98d792061daf", + "comment": "", + "command": "type", + "target": "id=/metadataRequestURLConstructionScheme/content", + "targets": [ + ["id=/metadataRequestURLConstructionScheme/content", "id"], + ["name=field10", "name"], + ["css=#\\/metadataRequestURLConstructionScheme\\/content", "css:finder"], + ["xpath=//input[@id='/metadataRequestURLConstructionScheme/content']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "someString" + }, { + "id": "e771b05f-e720-40e9-8c8c-c9f65725e34c", + "comment": "", + "command": "click", + "target": "css=div:nth-child(4) .form-check:nth-child(4) > .control-label", + "targets": [ + ["css=div:nth-child(4) .form-check:nth-child(4) > .control-label", "css:finder"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label", "xpath:position"] + ], + "value": "" + }, { + "id": "c2af34fb-1edd-4824-bc7a-b0232dcbe841", + "comment": "", + "command": "click", + "target": "id=/requireValidMetadata.false", + "targets": [ + ["id=/requireValidMetadata.false", "id"], + ["css=#\\/requireValidMetadata\\.false", "css:finder"], + ["xpath=//input[@id='/requireValidMetadata.false']", "xpath:attributes"], + ["xpath=//div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "9c8db077-8e61-40db-96ca-e19dd43132ba", + "comment": "", + "command": "click", + "target": "css=.label:nth-child(1)", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//li[3]/button/span", "xpath:position"] + ], + "value": "" + }, { + "id": "f0b9d3be-705a-4811-8651-d1bba323afd0", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e84a4b1e-9e16-4c0f-ba21-5edaac18011e", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/SignatureValidation/requireSignedRoot.parent']/label", "xpath:idRelative"], + ["xpath=//div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Require Signed Root')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "45e080c0-8ea2-4641-951b-aa819d5b9d64", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "cce4434c-9723-4ecb-832d-2e200aefe7e1", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//div[@id='/enabled.parent']/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Metadata Provider?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "542d9338-36f9-4922-89c2-7109c2d288e0", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "1566f2a0-790c-4594-806c-7dd6c9c47143", + "comment": "", + "command": "click", + "target": "linkText=Test Provider with Script Filter", + "targets": [ + ["linkText=Test Provider with Script Filter", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Test Provider with Script Filter')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/194c05bb-df26-4fd3-b970-ca30f8855e0b/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Provider with Script Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3b38c153-5b8d-4a3c-a8c2-f089d86e2ae3", + "comment": "", + "command": "click", + "target": "css=#filters .actions span", + "targets": [ + ["css=#filters .actions span", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a/span", "xpath:idRelative"], + ["xpath=//div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2a2922be-ca4d-4b85-9656-2e6813152ccc", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=NameIDFormat" + }, { + "id": "b32ea0ea-16ea-472a-bd28-09082ef35ca5", + "comment": "", + "command": "click", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field38", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "62e1fdf7-cfb5-4175-8b75-6d2ca52e73f2", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field38", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Filter with Script" + }, { + "id": "493b9b4a-3e87-4cc5-be70-1a93d6d0d8b7", + "comment": "", + "command": "pause", + "target": "3000", + "targets": [], + "value": "" + }, { + "id": "c92e936c-d516-472f-9f28-36de89117e14", + "comment": "", + "command": "click", + "target": "id=/nameIdFormatFilterTarget.valuedd", + "targets": [ + ["id=/nameIdFormatFilterTarget.valuedd", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/nameIdFormatFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "cf3440dc-09b5-4b14-91e6-b7f038b07a97", + "comment": "", + "command": "pause", + "target": "3000", + "targets": [], + "value": "" + }, { + "id": "5699a5a2-d3df-4f99-b95d-f340f9156ffe", + "comment": "", + "command": "click", + "target": "linkText=Script", + "targets": [ + ["linkText=Script", "linkText"], + ["css=.dropdown-item:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'Script')]", "xpath:link"], + ["xpath=(//a[contains(@href, '#')])[3]", "xpath:href"], + ["xpath=//a[3]", "xpath:position"], + ["xpath=//a[contains(.,'Script')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4de0d8ce-74d5-4413-a9e8-73237a906bbd", + "comment": "", + "command": "pause", + "target": "3000", + "targets": [], + "value": "" + }, { + "id": "786cd3cb-46b2-4361-b449-8f679ff97135", + "comment": "", + "command": "waitForElementPresent", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [], + "value": "10000" + }, { + "id": "dcf31546-0976-44ae-9ffc-c29a5255d646", + "comment": "", + "command": "click", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [ + ["id=/nameIdFormatFilterTarget.target", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.target", "css:finder"], + ["xpath=//p[@id='/nameIdFormatFilterTarget.target']", "xpath:attributes"], + ["xpath=//p", "xpath:position"] + ], + "value": "" + }, { + "id": "84be6a98-5739-42e8-b7ca-06a6c86e9f40", + "comment": "", + "command": "editContent", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [], + "value": "(true);" + }, { + "id": "05870356-d3db-4540-bb3f-db34b1cf65f1", + "comment": "", + "command": "sendKeys", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [], + "value": "eval" + }, { + "id": "d7721254-68c9-4140-af2a-1757cce99da7", + "comment": "", + "command": "click", + "target": "css=.section-body", + "targets": [ + ["css=.section-body", "css:finder"], + ["xpath=//section/div[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "ed6eb266-04f0-4517-b874-ea1d0ba68441", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "07ddc80d-1df7-43d3-adf9-a75a2a1348bc", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c51608a2-5e1a-4f70-8856-cbef5eb588ed", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.td-lg:nth-child(4)", + "targets": [], + "value": "10000" + }, { + "id": "83f6f403-40b0-4f12-82e2-a14e301dd7ff", + "comment": "", + "command": "assertText", + "target": "css=.td-lg:nth-child(4)", + "targets": [ + ["css=.td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "NameIDFormat" + }, { + "id": "1b449f50-1c54-41a0-a50b-65364340b7d2", + "comment": "", + "command": "click", + "target": "css=.fa-edit", + "targets": [ + ["css=.fa-edit", "css:finder"], + ["xpath=//td[6]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "ad613704-0718-4b83-97f1-b49897f510eb", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [], + "value": "10000" + }, { + "id": "6762fdb2-6744-4238-a2df-d529ab3b6102", + "comment": "", + "command": "assertText", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [ + ["id=/nameIdFormatFilterTarget.target", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.target", "css:finder"], + ["xpath=//p[@id='/nameIdFormatFilterTarget.target']", "xpath:attributes"], + ["xpath=//p", "xpath:position"], + ["xpath=//p[contains(.,'eval(true)')]", "xpath:innerText"] + ], + "value": "eval(true);" + }] + }], + "suites": [{ + "id": "4f69a686-bcaa-4963-84af-2e592e8c8842", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["d35b1f2b-5534-4ddb-9b37-1cc7b809ec9f"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-950.side b/backend/src/integration/resources/SHIBUI-950.side index 0410a5155..f37692052 100644 --- a/backend/src/integration/resources/SHIBUI-950.side +++ b/backend/src/integration/resources/SHIBUI-950.side @@ -113,15 +113,9 @@ }, { "id": "e5d771f5-57e2-4f11-af50-124c2121d36b", "comment": "", - "command": "type", + "command": "attachFile", "target": "id=fileInput", - "targets": [ - ["id=fileInput", "id"], - ["name=file", "name"], - ["css=#fileInput", "css:finder"], - ["xpath=//input[@id='fileInput']", "xpath:attributes"], - ["xpath=//div[2]/div/input", "xpath:position"] - ], + "targets": [], "value": "${SHIBUI950}" }, { "id": "67ad4a51-7c15-41e1-bc34-62a9f3e83b46", @@ -147,7 +141,7 @@ }, { "id": "185696df-a872-419e-81aa-7c9cfa1e2b90", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "linkText=File Upload Test", "targets": [ ["linkText=File Upload Test", "linkText"], @@ -161,7 +155,7 @@ }, { "id": "25b4b805-3585-4f83-b9ba-a3e8b9ee1050", "comment": "", - "command": "verifyText", + "command": "assertText", "target": "css=td:nth-child(2)", "targets": [ ["css=td:nth-child(2)", "css:finder"], @@ -181,4 +175,4 @@ }], "urls": ["http://localhost:10101/"], "plugins": [] -} \ No newline at end of file +} diff --git a/backend/src/integration/resources/dhmr.side b/backend/src/integration/resources/dhmr.side deleted file mode 100644 index e32e0073e..000000000 --- a/backend/src/integration/resources/dhmr.side +++ /dev/null @@ -1,378 +0,0 @@ -{ - "id": "67487cd1-1e43-4000-ba49-524002c96fb0", - "version": "1.1", - "name": "shibui", - "url": "http://localhost:10101", - "tests": [{ - "id": "be39a393-4d08-45ed-b09a-782ec26c9968", - "name": "create test-dhmr", - "commands": [{ - "id": "c023f973-f799-4dc3-90d0-d75ccade0317", - "comment": "", - "command": "open", - "target": "/login", - "targets": [], - "value": "" - }, { - "id": "492f48b4-97f8-4cb7-b8de-abf963b576af", - "comment": "Use User Login", - "command": "type", - "target": "name=username", - "targets": [ - ["name=username", "name"], - ["css=tr:nth-child(1) input", "css:finder"], - ["xpath=//input[@name='username']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "admin" - }, { - "id": "f61dd17c-d2ee-4200-a8f7-96d841d4ccb8", - "comment": "Use User Password", - "command": "type", - "target": "name=password", - "targets": [ - ["name=password", "name"], - ["css=tr:nth-child(2) input", "css:finder"], - ["xpath=//input[@name='password']", "xpath:attributes"], - ["xpath=//tr[2]/td[2]/input", "xpath:position"] - ], - "value": "adminpass" - }, { - "id": "fdb5a585-49aa-403c-8c23-c4fc548267b3", - "comment": "", - "command": "click", - "target": "name=submit", - "targets": [ - ["name=submit", "name"], - ["css=td:nth-child(1) > input", "css:finder"], - ["xpath=//input[@name='submit']", "xpath:attributes"], - ["xpath=//tr[3]/td/input", "xpath:position"] - ], - "value": "" - }, { - "id": "ee5fb7bf-b12e-485e-95bd-98bb41ea7072", - "comment": "", - "command": "open", - "target": "/metadata/manager/resolvers", - "targets": [], - "value": "" - }, { - "id": "431b86fc-3a9a-413b-9858-0ad29c894252", - "comment": "", - "command": "click", - "target": "id=addNewDropdown", - "targets": [ - ["id=addNewDropdown", "id"], - ["css=#addNewDropdown", "css"], - ["css=#addNewDropdown", "css:finder"], - ["xpath=//button[@id='addNewDropdown']", "xpath:attributes"], - ["xpath=//div[@id='navbar']/ul/li/button", "xpath:idRelative"], - ["xpath=//li/button", "xpath:position"] - ], - "value": "" - }, { - "id": "69472b6e-2715-4db0-a691-ca1aba5e7312", - "comment": "", - "command": "click", - "target": "css=.nav-link:nth-child(2) > translate-i18n", - "targets": [ - ["css=.nav-link:nth-child(2) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navbar']/ul/li/div/a[2]/translate-i18n", "xpath:idRelative"], - ["xpath=//a[2]/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "1650e995-9912-4e59-b3a6-526e7cda20fb", - "comment": "", - "command": "click", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "92b41bd5-f07b-4a67-8890-b22dc3e84789", - "comment": "", - "command": "type", - "target": "id=field1", - "targets": [ - ["id=field1", "id"], - ["name=field1", "name"], - ["css=#field1", "css"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "test-dhmr" - }, { - "id": "626bbe05-4fcb-458a-a0e8-57a0f8599b6b", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "cdbe0634-e8a7-4ef4-903c-36a354f25ddb", - "comment": "", - "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=DynamicHttpMetadataProvider" - }, { - "id": "12fd9d92-23f9-4e66-9bef-5f870bc506ac", - "comment": "", - "command": "click", - "target": "id=field2", - "targets": [ - ["id=field2", "id"], - ["name=field2", "name"], - ["css=#field2", "css"], - ["css=#field2", "css:finder"], - ["xpath=//select[@id='field2']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "502215da-a3d8-46a1-8d8e-c377b75eea02", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[2]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "19b838ad-3390-4c23-97c6-6631c5408d29", - "comment": "", - "command": "mouseOver", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "8eab5f89-af44-4d9e-a51b-8940bdeaa9b9", - "comment": "", - "command": "mouseOut", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "d25ecac8-d5b2-4b5d-a38e-9f2ff8a9953b", - "comment": "", - "command": "click", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "29fc0863-c61a-4fb6-a737-1e1cf940aca4", - "comment": "", - "command": "type", - "target": "id=field4", - "targets": [ - ["id=field4", "id"], - ["name=field4", "name"], - ["css=#field4", "css"], - ["css=#field4", "css:finder"], - ["xpath=//input[@id='field4']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "test-dhmr" - }, { - "id": "ae124910-3b5c-4b8f-806b-4effff0b6252", - "comment": "", - "command": "click", - "target": "id=field6", - "targets": [ - ["id=field6", "id"], - ["name=field6", "name"], - ["css=#field6", "css"], - ["css=#field6", "css:finder"], - ["xpath=//select[@id='field6']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "7b54690b-fea5-4027-9bed-eb9ac5a29c59", - "comment": "", - "command": "select", - "target": "id=field6", - "targets": [], - "value": "label=MetadataQueryProtocol" - }, { - "id": "905ac317-1edb-4e3b-a5e9-ca027d49cbea", - "comment": "", - "command": "click", - "target": "id=field6", - "targets": [ - ["id=field6", "id"], - ["name=field6", "name"], - ["css=#field6", "css"], - ["css=#field6", "css:finder"], - ["xpath=//select[@id='field6']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "17bc7cfc-21ff-4c33-ac9c-0c652be0f5d3", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "d3a6a55b-3887-44d4-bbe3-9022bab2543b", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "5fe726e0-ef96-411e-bb08-944cf0e3a16a", - "comment": "", - "command": "type", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "http://mdq-beta.incommon.org/global" - }, { - "id": "5a3d1274-83a6-45ac-b56c-680771bef806", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "bf0aa10b-5c28-4e8a-902f-6267cf9e000b", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "1eaad11b-2114-4cf1-bb7a-5e776af0186f", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", "css:finder"], - ["xpath=//div/div/label", "xpath:position"] - ], - "value": "" - }, { - "id": "9399d40a-c0eb-4525-9bea-db98b2412990", - "comment": "", - "command": "click", - "target": "css=.next", - "targets": [ - ["css=.next", "css:finder"], - ["xpath=//li[3]/button", "xpath:position"] - ], - "value": "" - }, { - "id": "db831a73-2975-4890-b671-9afcffe9923d", - "comment": "", - "command": "click", - "target": "css=label.custom-control-label", - "targets": [ - ["css=label.custom-control-label", "css"], - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"] - ], - "value": "" - }, { - "id": "0a7cc9b3-3540-4cb5-97cd-73b4ae9da60a", - "comment": "", - "command": "click", - "target": "css=span.direction.pull-right", - "targets": [ - ["css=span.direction.pull-right", "css"], - ["css=.direction:nth-child(2)", "css:finder"], - ["xpath=//li[3]/button/span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "8a4e4432-8f5a-41c2-a905-8fac5ce01527", - "comment": "", - "command": "click", - "target": "css=div.flex-grow-1", - "targets": [ - ["css=div.flex-grow-1", "css"], - ["css=.flex-grow-1", "css:finder"], - ["xpath=//div/div/div[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "baad0142-b169-4534-b4ad-f3096ded31ad", - "comment": "", - "command": "assertText", - "target": "css=.row:nth-child(1) > .col:nth-child(2)", - "targets": [ - ["css=.row:nth-child(1) > .col:nth-child(2)", "css:finder"], - ["xpath=//div[2]/div/div/div/div/div[2]", "xpath:position"] - ], - "value": "test-dhmr" - }] - }], - "suites": [{ - "id": "7f62b935-f9f3-426e-b65f-a82343a3deba", - "name": "Default Suite", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["be39a393-4d08-45ed-b09a-782ec26c9968"] - }], - "urls": ["http://localhost:8080/", "http://localhost:10101/"], - "plugins": [] -} diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataFiltersController.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataFiltersController.java index cbf5051ba..b640f6362 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataFiltersController.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataFiltersController.java @@ -80,7 +80,7 @@ public ResponseEntity getOne(@PathVariable String metadataResolverId, @PathVa @PostMapping("/Filters") public ResponseEntity create(@PathVariable String metadataResolverId, @RequestBody MetadataFilter createdFilter) { MetadataResolver metadataResolver = findResolverOrThrowHttp404(metadataResolverId); - metadataResolver.getMetadataFilters().add(createdFilter); + metadataResolver.addFilter(createdFilter); MetadataResolver persistedMr = repository.save(metadataResolver); // we reload the filters here after save @@ -153,6 +153,8 @@ public ResponseEntity delete(@PathVariable String metadataResolverId, throw HTTP_404_CLIENT_ERROR_EXCEPTION.get(); } resolver.setMetadataFilters(updatedFilters); + //To support envers versioning from MetadataResolver side + resolver.markAsModified(); repository.save(resolver); filterRepository.delete(filterToDelete); diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/filters/EntityAttributesFilterTarget.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/filters/EntityAttributesFilterTarget.java index 0abbbd11c..ffff2ca30 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/filters/EntityAttributesFilterTarget.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/filters/EntityAttributesFilterTarget.java @@ -1,5 +1,6 @@ package edu.internet2.tier.shibboleth.admin.ui.domain.filters; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import edu.internet2.tier.shibboleth.admin.ui.domain.AbstractAuditable; import lombok.EqualsAndHashCode; import org.hibernate.envers.AuditOverride; @@ -9,6 +10,7 @@ import javax.persistence.ElementCollection; import javax.persistence.Entity; +import javax.persistence.FetchType; import javax.persistence.OrderColumn; import java.util.ArrayList; import java.util.List; @@ -17,6 +19,7 @@ @EqualsAndHashCode(callSuper = true) @Audited @AuditOverride(forClass = AbstractAuditable.class) +@JsonIgnoreProperties({"handler", "hibernateLazyInitializer"}) public class EntityAttributesFilterTarget extends AbstractAuditable { public enum EntityAttributesFilterTargetType { ENTITY, CONDITION_SCRIPT, CONDITION_REF, REGEX diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/MetadataResolver.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/MetadataResolver.java index dc30d40d8..9e67a5549 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/MetadataResolver.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/MetadataResolver.java @@ -91,6 +91,12 @@ public int getVersion() { return this.hashCode(); } + public void addFilter(MetadataFilter metadataFilter) { + //To make sure that Spring Data auditing infrastructure recognizes update and "touched" modifiedDate + markAsModified(); + this.metadataFilters.add(metadataFilter); + } + public void markAsModified() { this.versionModifiedTimestamp = System.currentTimeMillis(); } diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index da22edce7..81dba27ae 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -22,6 +22,7 @@ spring.jpa.database-platform=org.hibernate.dialect.H2Dialect spring.h2.console.enabled=true # spring.jackson.default-property-inclusion=non_absent +spring.jackson.default-property-inclusion=NON_NULL # Database Configuration PostgreSQL #spring.datasource.url=jdbc:postgresql://localhost:5432/shibui diff --git a/backend/src/main/resources/i18n/messages.properties b/backend/src/main/resources/i18n/messages.properties index f82153ce6..ff6eb36d2 100644 --- a/backend/src/main/resources/i18n/messages.properties +++ b/backend/src/main/resources/i18n/messages.properties @@ -55,10 +55,13 @@ action.xml=XML action.manage=Manage action.close=Close action.back-to-top=Back to Top +action.restore=Restore +action.view-only-changes=View Only Changes value.enabled=Enabled value.disabled=Disabled value.current=Current +value.not-current=Not Current value.none=None value.file=File value.memory=Memory @@ -416,6 +419,7 @@ label.check-to-select=Check to select label.current=Current label.restore=Restore label.compare-selected=Compare Selected +label.restore-version=Restore Version ({ date }) label.saved=Saved label.by=By @@ -471,6 +475,11 @@ message.database-constraint=There was a database constraint problem processing t message.no-filters=No Filters message.no-filters-added=No filters have been added to this Metadata Provider +message.create-new-version-from-version=Create New Version from Previous Settings +message.restoring-this-version-will-copy=Restoring this version will copy the Version ({ date }) configuration and create a new Version from the selected version settings. You can then edit the configuration before saving the new version. + +message.invalid-regex-pattern=Invalid Regular Expression + tooltip.entity-id=Entity ID tooltip.service-provider-name=Service Provider Name (Dashboard Display Only) tooltip.force-authn=Disallows use (or reuse) of authentication results and login flows that don\u0027t provide a real-time proof of user presence in the login process diff --git a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/BadJSONMetadataSourcesUiDefinitionControllerIntegrationTests.groovy b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/BadJSONMetadataSourcesUiDefinitionControllerIntegrationTests.groovy index af758f131..b9789201f 100644 --- a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/BadJSONMetadataSourcesUiDefinitionControllerIntegrationTests.groovy +++ b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/BadJSONMetadataSourcesUiDefinitionControllerIntegrationTests.groovy @@ -7,6 +7,7 @@ import org.springframework.boot.test.context.SpringBootTest import org.springframework.boot.test.context.TestConfiguration import org.springframework.boot.test.web.client.TestRestTemplate import org.springframework.context.annotation.Bean +import org.springframework.context.annotation.Profile import org.springframework.core.io.ResourceLoader import org.springframework.test.context.ActiveProfiles import spock.lang.Specification @@ -23,7 +24,7 @@ import static edu.internet2.tier.shibboleth.admin.ui.jsonschema.JsonSchemaResour * @author Dmitriy Kopylenko */ @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) -@ActiveProfiles("no-auth") +@ActiveProfiles(["no-auth", "badjson"]) class BadJSONMetadataSourcesUiDefinitionControllerIntegrationTests extends Specification { @Autowired @@ -42,6 +43,7 @@ class BadJSONMetadataSourcesUiDefinitionControllerIntegrationTests extends Speci } @TestConfiguration + @Profile('badjson') static class Config { @Bean JsonSchemaResourceLocationRegistry jsonSchemaResourceLocationRegistry(ResourceLoader resourceLoader, diff --git a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntitiesControllerIntegrationTests.groovy b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntitiesControllerIntegrationTests.groovy index 8bf12484a..d8d9e7afb 100644 --- a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntitiesControllerIntegrationTests.groovy +++ b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntitiesControllerIntegrationTests.groovy @@ -42,25 +42,16 @@ class EntitiesControllerIntegrationTests extends Specification { def "GET /api/entities returns the proper json"() { given: def expectedBody = ''' - { - "id":null, - "serviceProviderName":null, - "entityId":"http://test.scaldingspoon.org/test1", - "organization":null, - "contacts":null, - "mdui":null, + { + "entityId":"http://test.scaldingspoon.org/test1", "serviceProviderSsoDescriptor": { "protocolSupportEnum":"SAML 2", "nameIdFormats":["urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"] - }, - "logoutEndpoints":null, - "securityInfo":null, + }, "assertionConsumerServices":[ {"locationUrl":"https://test.scaldingspoon.org/test1/acs","binding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","makeDefault":false} ], - "serviceEnabled":false, - "createdDate":null, - "modifiedDate":null, + "serviceEnabled":false, "relyingPartyOverrides":{}, "attributeRelease":["givenName","employeeNumber"] } diff --git a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataFiltersControllerIntegrationTests.groovy b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataFiltersControllerIntegrationTests.groovy index 206421f49..098e7ac2b 100644 --- a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataFiltersControllerIntegrationTests.groovy +++ b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/MetadataFiltersControllerIntegrationTests.groovy @@ -188,6 +188,27 @@ class MetadataFiltersControllerIntegrationTests extends Specification { resolverResult_3.body.metadataFilters.size == 5 } + def "POST new Filter updates resolver's modifiedDate - SHIBUI-1500"() { + given: 'MetadataResolver with attached entity attributes is available in data store' + def resolver = generator.buildRandomMetadataResolverOfType('FileBacked') + def filter = generator.entityAttributesFilter() + def resolverResourceId = resolver.resourceId + metadataResolverRepository.save(resolver) + MetadataResolver openSamlRepresentation = metadataResolverConverterService.convertToOpenSamlRepresentation(resolver) + OpenSamlChainingMetadataResolverUtil.updateChainingMetadataResolver((OpenSamlChainingMetadataResolver) chainingMetadataResolver, openSamlRepresentation) + + when: 'Resolver without filter is fetched' + def result = this.restTemplate.getForEntity("$BASE_URI/$resolverResourceId", String) + def originalModifiedDate = jsonSlurper.parseText(result.body).modifiedDate + + and: 'POST call is made with new filter' + result = restTemplate.postForEntity("$BASE_URI/$resolverResourceId/Filters", filter, String) + def afterFilterAddedModifiedDate = jsonSlurper.parseText(result.body).modifiedDate + + then: + originalModifiedDate < afterFilterAddedModifiedDate + } + private HttpEntity createRequestHttpEntityFor(Closure jsonBodySupplier) { new HttpEntity(jsonBodySupplier(), ['Content-Type': 'application/json'] as HttpHeaders) } @@ -203,4 +224,4 @@ class MetadataFiltersControllerIntegrationTests extends Specification { } } } -} \ No newline at end of file +} diff --git a/ui/src/app/metadata/configuration/action/compare.action.ts b/ui/src/app/metadata/configuration/action/compare.action.ts index 410a8dcab..be687d142 100644 --- a/ui/src/app/metadata/configuration/action/compare.action.ts +++ b/ui/src/app/metadata/configuration/action/compare.action.ts @@ -8,7 +8,8 @@ export enum CompareActionTypes { COMPARE_METADATA_SUCCESS = '[Compare Version] Compare Version Success', COMPARE_METADATA_ERROR = '[Compare Version] Compare Version Error', SET_VERSIONS = '[Compare Version] Set Versions', - CLEAR_VERSIONS = '[Compare Version] Clear Versions' + CLEAR_VERSIONS = '[Compare Version] Clear Versions', + SET_VIEW_CHANGED = '[Compare Version] View Changed Only' } export class CompareVersionRequest implements Action { @@ -35,6 +36,11 @@ export class SetMetadataVersions implements Action { constructor(public payload: Metadata[]) { } } +export class ViewChanged implements Action { + readonly type = CompareActionTypes.SET_VIEW_CHANGED; + constructor(public payload: boolean) { } +} + export class ClearVersions implements Action { readonly type = CompareActionTypes.CLEAR_VERSIONS; } @@ -44,4 +50,5 @@ export type CompareActionsUnion = | CompareVersionSuccess | CompareVersionError | SetMetadataVersions - | ClearVersions; + | ClearVersions + | ViewChanged; diff --git a/ui/src/app/metadata/configuration/action/configuration.action.ts b/ui/src/app/metadata/configuration/action/configuration.action.ts index 78e834eea..b1eb9c00a 100644 --- a/ui/src/app/metadata/configuration/action/configuration.action.ts +++ b/ui/src/app/metadata/configuration/action/configuration.action.ts @@ -12,10 +12,11 @@ export enum ConfigurationActionTypes { LOAD_XML_SUCCESS = '[Metadata Configuration] Load XML Success', LOAD_XML_ERROR = '[Metadata Configuration] Load XML Error', - SET_METADATA = '[Metadata Configuration] Set Metadata Model', + SET_METADATA = '[Metadata Configuration] Set Metadata Attributes', SET_DEFINITION = '[Metadata Configuration] Set Metadata Definition', SET_SCHEMA = '[Metadata Configuration] Set Metadata Schema', SET_XML = '[Metadata Configuration] Set Metadata Xml', + SET_METADATA_MODEL = '[Metadata Configuration] Set Metadata Model', DOWNLOAD_XML = '[Metadata Configuration] Download Metadata Xml', @@ -61,16 +62,22 @@ export class LoadXmlError implements Action { export class SetMetadata implements Action { readonly type = ConfigurationActionTypes.SET_METADATA; - constructor(public payload: { id: string, type: string }) { } + constructor(public payload: { id: string, type: string, version?: string }) { } +} + +export class SetMetadataModel implements Action { + readonly type = ConfigurationActionTypes.SET_METADATA_MODEL; + + constructor(public payload: Metadata) { } } -export class SetDefinition implements Action { +export class SetConfigurationDefinition implements Action { readonly type = ConfigurationActionTypes.SET_DEFINITION; constructor(public payload: Wizard) { } } -export class SetSchema implements Action { +export class SetConfigurationSchema implements Action { readonly type = ConfigurationActionTypes.SET_SCHEMA; constructor(public payload: Schema) { } @@ -98,8 +105,8 @@ export type ConfigurationActionsUnion = | LoadXmlSuccess | LoadXmlError | SetMetadata - | SetDefinition - | SetSchema + | SetConfigurationDefinition + | SetConfigurationSchema | SetXml | DownloadXml | ClearConfiguration; diff --git a/ui/src/app/metadata/configuration/action/restore.action.ts b/ui/src/app/metadata/configuration/action/restore.action.ts new file mode 100644 index 000000000..978e9eee4 --- /dev/null +++ b/ui/src/app/metadata/configuration/action/restore.action.ts @@ -0,0 +1,70 @@ +import { Action } from '@ngrx/store'; +import { Metadata } from '../../domain/domain.type'; +import { VersionRequest } from '../model/request'; + +export enum RestoreActionTypes { + RESTORE_VERSION_REQUEST = '[Restore Version] Restore Version Request', + RESTORE_VERSION_SUCCESS = '[Restore Version] Restore Version Success', + RESTORE_VERSION_ERROR = '[Restore Version] Restore Version Error', + + UPDATE_RESTORATION_REQUEST = '[Restore Version] Update Changes Request', + UPDATE_RESTORATION_SUCCESS = '[Restore Version] Update Changes Success', + + UPDATE_STATUS = '[Restore Version] Update Restore Form Status', + SET_SAVING_STATUS = '[Restore Version] Set Saving Status', + + CLEAR_VERSION = '[Restore Version] Clear Versions', + CANCEL_RESTORE = '[Restore Version] Cancel Restore' +} + +export class RestoreVersionRequest implements Action { + readonly type = RestoreActionTypes.RESTORE_VERSION_REQUEST; + constructor() { } +} + +export class RestoreVersionSuccess implements Action { + readonly type = RestoreActionTypes.RESTORE_VERSION_SUCCESS; + constructor(public payload: { id: string, type: string, model: Metadata }) { } +} + +export class RestoreVersionError implements Action { + readonly type = RestoreActionTypes.RESTORE_VERSION_ERROR; + constructor(public payload: any) { } +} + +export class UpdateRestorationChangesRequest implements Action { + readonly type = RestoreActionTypes.UPDATE_RESTORATION_REQUEST; + constructor(public payload: Partial) { } +} + +export class UpdateRestorationChangesSuccess implements Action { + readonly type = RestoreActionTypes.UPDATE_RESTORATION_SUCCESS; + constructor(public payload: Partial) { } +} + +export class UpdateRestoreFormStatus implements Action { + readonly type = RestoreActionTypes.UPDATE_STATUS; + + constructor(public payload: { [key: string]: string }) { } +} + +export class SetSavingStatus implements Action { + readonly type = RestoreActionTypes.SET_SAVING_STATUS; + + constructor(public payload: boolean) { } +} + +export class CancelRestore implements Action { + readonly type = RestoreActionTypes.CANCEL_RESTORE; + constructor() { } +} + +export type RestoreActionsUnion = + | RestoreVersionRequest + | RestoreVersionSuccess + | RestoreVersionError + | UpdateRestorationChangesRequest + | UpdateRestorationChangesSuccess + | UpdateRestoreFormStatus + | SetSavingStatus + | CancelRestore; diff --git a/ui/src/app/metadata/configuration/action/version.action.ts b/ui/src/app/metadata/configuration/action/version.action.ts new file mode 100644 index 000000000..0379a240b --- /dev/null +++ b/ui/src/app/metadata/configuration/action/version.action.ts @@ -0,0 +1,40 @@ +import { Action } from '@ngrx/store'; +import { Metadata } from '../../domain/domain.type'; +import { VersionRequest } from '../model/request'; + +export enum VersionActionTypes { + SELECT_VERSION_SUCCESS = '[Version] Select Version Success', + SELECT_VERSION_ERROR = '[Version] Select Version Error', + SELECT_VERSION_REQUEST = '[Version] Select Version Request', + + CLEAR_VERSION = '[Version] Clear Versions' +} + +export class SelectVersionRequest implements Action { + readonly type = VersionActionTypes.SELECT_VERSION_REQUEST; + + constructor(public payload: VersionRequest) { } +} + +export class SelectVersionSuccess implements Action { + readonly type = VersionActionTypes.SELECT_VERSION_SUCCESS; + + constructor(public payload: Metadata) { } +} +export class SelectVersionError implements Action { + readonly type = VersionActionTypes.SELECT_VERSION_ERROR; + + constructor(public payload: any) { } +} + +export class ClearVersion implements Action { + readonly type = VersionActionTypes.CLEAR_VERSION; + + constructor() { } +} + +export type VersionActionsUnion = + | SelectVersionRequest + | SelectVersionError + | SelectVersionSuccess + | ClearVersion; diff --git a/ui/src/app/metadata/configuration/component/array-property.component.html b/ui/src/app/metadata/configuration/component/array-property.component.html deleted file mode 100644 index baff50a8a..000000000 --- a/ui/src/app/metadata/configuration/component/array-property.component.html +++ /dev/null @@ -1,84 +0,0 @@ -
- -
{{ property.name }}
-
-
-
- {{ property.items.properties[prop].title }} -
- -
- {{ version[i][prop] }} -
-
- - -
-
-
-
-
- - - - - - - - -
- -
-
-
- {{ attr.label }} -
- - true - - - false - -
-
-
-
-
-
- -
- {{ property.name }} - -

-

-
    -
  • - -   - - {{ item }} -
  • -
- -
    -
  • - {{ item }} -
  • -
-
-
-
-
\ No newline at end of file diff --git a/ui/src/app/metadata/configuration/component/editor.component.html b/ui/src/app/metadata/configuration/component/editor.component.html new file mode 100644 index 000000000..fd71771aa --- /dev/null +++ b/ui/src/app/metadata/configuration/component/editor.component.html @@ -0,0 +1,14 @@ +
+ + + {{ lock.value ? 'Locked' : 'Unlocked' }} + + For Advanced Knowledge Only +
+ \ No newline at end of file diff --git a/ui/src/app/metadata/configuration/component/editor.component.ts b/ui/src/app/metadata/configuration/component/editor.component.ts new file mode 100644 index 000000000..59f3ef375 --- /dev/null +++ b/ui/src/app/metadata/configuration/component/editor.component.ts @@ -0,0 +1,29 @@ +import { Component, Input, Output, EventEmitter } from '@angular/core'; +import { FormControl } from '@angular/forms'; +import { Metadata } from '../../domain/domain.type'; + + +@Component({ + selector: 'metadata-editor', + templateUrl: './editor.component.html', + styleUrls: [] +}) +export class MetadataEditorComponent { + + @Input() schema: any; + @Input() bindings: any; + @Input() validators: { [key: string]: any }; + @Input() model: Metadata; + @Input() lockable: boolean; + + @Output() change: EventEmitter = new EventEmitter(); + @Output() status: EventEmitter = new EventEmitter(); + @Output() onLockChange: EventEmitter = new EventEmitter(); + + lock: FormControl = new FormControl(true); + + constructor() { + this.lock.valueChanges.subscribe(locked => this.onLockChange.emit(locked)); + } +} + diff --git a/ui/src/app/metadata/configuration/component/filter-configuration-list-item.component.html b/ui/src/app/metadata/configuration/component/filter-configuration-list-item.component.html index b8df62a11..cf1cfe3be 100644 --- a/ui/src/app/metadata/configuration/component/filter-configuration-list-item.component.html +++ b/ui/src/app/metadata/configuration/component/filter-configuration-list-item.component.html @@ -1,6 +1,6 @@
{{ index + 1 }} -
+

-
+
diff --git a/ui/src/app/metadata/configuration/component/filter-configuration-list-item.component.ts b/ui/src/app/metadata/configuration/component/filter-configuration-list-item.component.ts index ede42a55a..9e5cb7630 100644 --- a/ui/src/app/metadata/configuration/component/filter-configuration-list-item.component.ts +++ b/ui/src/app/metadata/configuration/component/filter-configuration-list-item.component.ts @@ -16,6 +16,7 @@ export class FilterConfigurationListItemComponent implements OnChanges { @Input() index: number; @Input() isFirst: boolean; @Input() isLast: boolean; + @Input() editable: boolean; @Output() onUpdateOrderUp: EventEmitter = new EventEmitter(); @Output() onUpdateOrderDown: EventEmitter = new EventEmitter(); diff --git a/ui/src/app/metadata/configuration/component/filter-configuration-list.component.html b/ui/src/app/metadata/configuration/component/filter-configuration-list.component.html index c49a7738c..03d89d651 100644 --- a/ui/src/app/metadata/configuration/component/filter-configuration-list.component.html +++ b/ui/src/app/metadata/configuration/component/filter-configuration-list.component.html @@ -6,6 +6,7 @@ [index]="i" [isFirst]="isFirst" [isLast]="isLast" + [editable]="editable" (onUpdateOrderDown)="onUpdateOrderDown.emit($event)" (onUpdateOrderUp)="onUpdateOrderUp.emit($event)" (onRemove)="onRemove.emit($event)"> diff --git a/ui/src/app/metadata/configuration/component/filter-configuration-list.component.ts b/ui/src/app/metadata/configuration/component/filter-configuration-list.component.ts index 5208a7f4c..17f377480 100644 --- a/ui/src/app/metadata/configuration/component/filter-configuration-list.component.ts +++ b/ui/src/app/metadata/configuration/component/filter-configuration-list.component.ts @@ -1,8 +1,10 @@ -import { Component } from '@angular/core'; +import { Component, Input } from '@angular/core'; import { FilterListComponent } from '../../filter/component/filter-list.component'; @Component({ selector: 'filter-configuration-list', templateUrl: './filter-configuration-list.component.html' }) -export class FilterConfigurationListComponent extends FilterListComponent { } +export class FilterConfigurationListComponent extends FilterListComponent { + @Input() editable = true; +} diff --git a/ui/src/app/metadata/configuration/component/history-list.component.html b/ui/src/app/metadata/configuration/component/history-list.component.html index 82a275060..668308311 100644 --- a/ui/src/app/metadata/configuration/component/history-list.component.html +++ b/ui/src/app/metadata/configuration/component/history-list.component.html @@ -5,7 +5,6 @@ Select Version - Version Save Date Changed By Actions @@ -21,14 +20,19 @@
- Current (v{{ history.length - i }}) - v{{ history.length - (i) }} - {{ version.date | date:'medium' }} + + + {{ version.date | date:DATE_FORMAT }} (Current) + + + {{ version.date | date:DATE_FORMAT }} + + {{ version.creator }} - diff --git a/ui/src/app/metadata/configuration/component/history-list.component.spec.ts b/ui/src/app/metadata/configuration/component/history-list.component.spec.ts index 3c191c300..35fcbe68d 100644 --- a/ui/src/app/metadata/configuration/component/history-list.component.spec.ts +++ b/ui/src/app/metadata/configuration/component/history-list.component.spec.ts @@ -4,6 +4,7 @@ import { MockI18nModule } from '../../../../testing/i18n.stub'; import { HistoryListComponent } from './history-list.component'; import { MetadataHistory } from '../model/history'; import { MetadataVersion } from '../model/version'; +import { RouterTestingModule } from '@angular/router/testing'; export const TestData = { versions: [ @@ -37,7 +38,8 @@ describe('Metadata History List Component', () => { TestBed.configureTestingModule({ providers: [], imports: [ - MockI18nModule + MockI18nModule, + RouterTestingModule ], declarations: [ HistoryListComponent, diff --git a/ui/src/app/metadata/configuration/component/history-list.component.ts b/ui/src/app/metadata/configuration/component/history-list.component.ts index 7e03468e2..68e596ab5 100644 --- a/ui/src/app/metadata/configuration/component/history-list.component.ts +++ b/ui/src/app/metadata/configuration/component/history-list.component.ts @@ -1,6 +1,7 @@ import { Component, Input, EventEmitter, ChangeDetectionStrategy, Output } from '@angular/core'; import { MetadataHistory } from '../model/history'; import { MetadataVersion } from '../model/version'; +import { CONFIG_DATE_FORMAT } from '../configuration.values'; @Component({ selector: 'history-list', @@ -15,6 +16,8 @@ export class HistoryListComponent { selected: MetadataVersion[] = []; + DATE_FORMAT = CONFIG_DATE_FORMAT; + constructor() {} toggleVersionSelected(version: MetadataVersion): void { diff --git a/ui/src/app/metadata/configuration/component/metadata-configuration.component.html b/ui/src/app/metadata/configuration/component/metadata-configuration.component.html index e45530ebf..e0685e743 100644 --- a/ui/src/app/metadata/configuration/component/metadata-configuration.component.html +++ b/ui/src/app/metadata/configuration/component/metadata-configuration.component.html @@ -1,8 +1,7 @@
-
+

@@ -19,20 +18,26 @@

-
- Option - - Value - {{ date | date:'medium' }} - -
- - + +
+ Option + + Value + {{ date | date:DATE_FORMAT }} + +
+ + +
+ +
+ No Changes +
+
diff --git a/ui/src/app/metadata/configuration/component/metadata-configuration.component.scss b/ui/src/app/metadata/configuration/component/metadata-configuration.component.scss new file mode 100644 index 000000000..82e7a5f37 --- /dev/null +++ b/ui/src/app/metadata/configuration/component/metadata-configuration.component.scss @@ -0,0 +1,20 @@ +@import '../../../../theme/_palette'; + +:host /deep/ { + .bg-diff { + background: #FEE8E9; + position: relative; + border-color: #CCC !important; + &::before { + $size: 24px; + content: "\f06a"; + font-family: 'FontAwesome'; + text-align: center; + width: $size; + height: $size; + position: absolute; + left: -$size; + top: 0.5rem; + } + } +} diff --git a/ui/src/app/metadata/configuration/component/metadata-configuration.component.ts b/ui/src/app/metadata/configuration/component/metadata-configuration.component.ts index 86e8bd23b..1b04ba636 100644 --- a/ui/src/app/metadata/configuration/component/metadata-configuration.component.ts +++ b/ui/src/app/metadata/configuration/component/metadata-configuration.component.ts @@ -2,12 +2,13 @@ import { Component, ChangeDetectionStrategy, Input, Output, EventEmitter } from import { Router, ActivatedRoute } from '@angular/router'; import { MetadataConfiguration } from '../model/metadata-configuration'; import { Metadata } from '../../domain/domain.type'; +import { CONFIG_DATE_FORMAT } from '../configuration.values'; @Component({ selector: 'metadata-configuration', changeDetection: ChangeDetectionStrategy.OnPush, templateUrl: './metadata-configuration.component.html', - styleUrls: [] + styleUrls: ['./metadata-configuration.component.scss'] }) export class MetadataConfigurationComponent { @Input() configuration: MetadataConfiguration; @@ -18,6 +19,8 @@ export class MetadataConfigurationComponent { @Output() preview: EventEmitter = new EventEmitter(); + DATE_FORMAT = CONFIG_DATE_FORMAT; + constructor( private router: Router, private activatedRoute: ActivatedRoute diff --git a/ui/src/app/metadata/configuration/component/metadata-header.component.html b/ui/src/app/metadata/configuration/component/metadata-header.component.html index 64a1a2a2c..5278ed3bd 100644 --- a/ui/src/app/metadata/configuration/component/metadata-header.component.html +++ b/ui/src/app/metadata/configuration/component/metadata-header.component.html @@ -2,16 +2,17 @@
Saved:  - {{ version.date | date:'medium' }} + {{ version.modifiedDate | date:DATE_FORMAT }}
By:  - {{ version.creator }} + {{ version.createdBy }}

Enabled Disabled   Current + Not Current

\ No newline at end of file diff --git a/ui/src/app/metadata/configuration/component/metadata-header.component.spec.ts b/ui/src/app/metadata/configuration/component/metadata-header.component.spec.ts index e8db42c36..f3cfd0d45 100644 --- a/ui/src/app/metadata/configuration/component/metadata-header.component.spec.ts +++ b/ui/src/app/metadata/configuration/component/metadata-header.component.spec.ts @@ -9,7 +9,6 @@ import { MetadataHeaderComponent } from './metadata-header.component'; ` @@ -25,7 +24,6 @@ class TestHostComponent { creator: 'foobar', date: new Date().toDateString() }; - versionNumber = 1; isCurrent = false; } diff --git a/ui/src/app/metadata/configuration/component/metadata-header.component.ts b/ui/src/app/metadata/configuration/component/metadata-header.component.ts index 8d0dcc3db..cc0df37b1 100644 --- a/ui/src/app/metadata/configuration/component/metadata-header.component.ts +++ b/ui/src/app/metadata/configuration/component/metadata-header.component.ts @@ -1,6 +1,7 @@ import { Component, Input } from '@angular/core'; -import { Metadata, MetadataTypes } from '../../domain/domain.type'; -import { MetadataVersion } from '../model/version'; +import { Metadata } from '../../domain/domain.type'; + +import { CONFIG_DATE_FORMAT } from '../configuration.values'; @Component({ selector: 'metadata-header', @@ -10,10 +11,11 @@ import { MetadataVersion } from '../model/version'; export class MetadataHeaderComponent { @Input() isEnabled: boolean; - @Input() version: MetadataVersion; - @Input() versionNumber: number; + @Input() version: Metadata; @Input() isCurrent: boolean; + DATE_FORMAT = CONFIG_DATE_FORMAT; + constructor() {} } diff --git a/ui/src/app/metadata/configuration/component/property/array-property.component.html b/ui/src/app/metadata/configuration/component/property/array-property.component.html new file mode 100644 index 000000000..bfda5c422 --- /dev/null +++ b/ui/src/app/metadata/configuration/component/property/array-property.component.html @@ -0,0 +1,90 @@ +
+
{{ property.name }}
+
+
+ Changed: +
+ {{ property.items.properties[prop].title }} +
+ +
+ {{ version[i][prop] }} +
+
+ - +
+
+
+
+
+ + + + + + + + +
+ +
+
+
+ Changed: + {{ item.label }} +
+ + true + + + false + +
+
+
+
+
+ +
+ Changed: + {{ property.name }} + +

-

+
    +
  • + +   + + {{ item }} +
  • +
+ +
    +
  • + {{ item }} +
  • +
+
+
+
+
\ No newline at end of file diff --git a/ui/src/app/metadata/configuration/component/array-property.component.scss b/ui/src/app/metadata/configuration/component/property/array-property.component.scss similarity index 100% rename from ui/src/app/metadata/configuration/component/array-property.component.scss rename to ui/src/app/metadata/configuration/component/property/array-property.component.scss diff --git a/ui/src/app/metadata/configuration/component/array-property.component.spec.ts b/ui/src/app/metadata/configuration/component/property/array-property.component.spec.ts similarity index 65% rename from ui/src/app/metadata/configuration/component/array-property.component.spec.ts rename to ui/src/app/metadata/configuration/component/property/array-property.component.spec.ts index 614738b06..363b3163a 100644 --- a/ui/src/app/metadata/configuration/component/array-property.component.spec.ts +++ b/ui/src/app/metadata/configuration/component/property/array-property.component.spec.ts @@ -3,13 +3,13 @@ import { TestBed, async, ComponentFixture } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { NgbDropdownModule, NgbPopoverModule } from '@ng-bootstrap/ng-bootstrap'; -import { Property } from '../../domain/model/property'; -import { MockI18nModule } from '../../../../testing/i18n.stub'; -import { SCHEMA } from '../../../../testing/form-schema.stub'; -import { getStepProperty } from '../../domain/utility/configuration'; +import { Property } from '../../../domain/model/property'; +import { MockI18nModule } from '../../../../../testing/i18n.stub'; +import { SCHEMA } from '../../../../../testing/form-schema.stub'; +import { getStepProperty } from '../../../domain/utility/configuration'; import { ArrayPropertyComponent } from './array-property.component'; -import { AttributesService } from '../../domain/service/attributes.service'; -import { MockAttributeService } from '../../../../testing/attributes.stub'; +import { AttributesService } from '../../../domain/service/attributes.service'; +import { MockAttributeService } from '../../../../../testing/attributes.stub'; import { of } from 'rxjs'; @Component({ @@ -69,9 +69,7 @@ describe('Array Property Component', () => { describe('attributeList$ getter', () => { it('should return an empty list when no data or dataUrl is set', () => { - app.attributeList$.subscribe((list) => { - expect(list).toEqual([]); - }); + expect(app.dataList).toBeUndefined(); }); it('should return a list of data items from the schema', () => { const datalist = [ @@ -87,29 +85,7 @@ describe('Array Property Component', () => { } }); fixture.detectChanges(); - app.attributeList$.subscribe(list => { - expect(list).toEqual(datalist); - }); - }); - - it('should call the attribute service with a provided dataUrl', () => { - const datalist = [ - { key: 'foo', label: 'foo' }, - { key: 'bar', label: 'bar' }, - { key: 'baz', label: 'baz' }, - ]; - spyOn(service, 'query').and.returnValue(of(datalist)); - instance.setProperty({ - ...instance.property, - widget: { - id: 'datalist', - dataUrl: '/foo' - } - }); - fixture.detectChanges(); - app.attributeList$.subscribe(list => { - expect(list).toEqual(datalist); - }); + expect(app.dataList).toEqual(datalist); }); }); }); diff --git a/ui/src/app/metadata/configuration/component/array-property.component.ts b/ui/src/app/metadata/configuration/component/property/array-property.component.ts similarity index 61% rename from ui/src/app/metadata/configuration/component/array-property.component.ts rename to ui/src/app/metadata/configuration/component/property/array-property.component.ts index a17ad01da..4d09d9a8f 100644 --- a/ui/src/app/metadata/configuration/component/array-property.component.ts +++ b/ui/src/app/metadata/configuration/component/property/array-property.component.ts @@ -1,9 +1,9 @@ import { Component, Input, OnChanges, Output, EventEmitter } from '@angular/core'; -import { Property } from '../../domain/model/property'; +import { Property } from '../../../domain/model/property'; import { Observable, of } from 'rxjs'; -import { AttributesService } from '../../domain/service/attributes.service'; +import { AttributesService } from '../../../domain/service/attributes.service'; import { ConfigurationPropertyComponent } from './configuration-property.component'; -import UriValidator from '../../../shared/validation/uri.validator'; +import UriValidator from '../../../../shared/validation/uri.validator'; @Component({ selector: 'array-property', @@ -33,14 +33,8 @@ export class ArrayPropertyComponent extends ConfigurationPropertyComponent imple return UriValidator.isUri(str); } - get attributeList$(): Observable<{ key: string, label: string }[]> { - if (this.property.widget && this.property.widget.hasOwnProperty('data')) { - return of(this.property.widget.data); - } - if (this.property.widget && this.property.widget.hasOwnProperty('dataUrl')) { - return this.attrService.query(this.property.widget.dataUrl); - } - return of([]); + get dataList(): { key: string, label: string, differences?: boolean }[] { + return this.property.widget.data; } } diff --git a/ui/src/app/metadata/configuration/component/configuration-property.component.spec.ts b/ui/src/app/metadata/configuration/component/property/configuration-property.component.spec.ts similarity index 85% rename from ui/src/app/metadata/configuration/component/configuration-property.component.spec.ts rename to ui/src/app/metadata/configuration/component/property/configuration-property.component.spec.ts index aa7fd9478..cccfd9114 100644 --- a/ui/src/app/metadata/configuration/component/configuration-property.component.spec.ts +++ b/ui/src/app/metadata/configuration/component/property/configuration-property.component.spec.ts @@ -2,11 +2,11 @@ import { Component, ViewChild, Input } from '@angular/core'; import { TestBed, async, ComponentFixture } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; -import { NgbDropdownModule, NgbPopoverModule } from '@ng-bootstrap/ng-bootstrap'; -import { Property } from '../../domain/model/property'; -import { MockI18nModule } from '../../../../testing/i18n.stub'; -import { SCHEMA } from '../../../../testing/form-schema.stub'; -import { getStepProperties, getStepProperty } from '../../domain/utility/configuration'; +import { NgbPopoverModule } from '@ng-bootstrap/ng-bootstrap'; +import { Property } from '../../../domain/model/property'; +import { MockI18nModule } from '../../../../../testing/i18n.stub'; +import { SCHEMA } from '../../../../../testing/form-schema.stub'; +import { getStepProperty } from '../../../domain/utility/configuration'; import { ConfigurationPropertyComponent } from './configuration-property.component'; @Component({ diff --git a/ui/src/app/metadata/configuration/component/configuration-property.component.ts b/ui/src/app/metadata/configuration/component/property/configuration-property.component.ts similarity index 91% rename from ui/src/app/metadata/configuration/component/configuration-property.component.ts rename to ui/src/app/metadata/configuration/component/property/configuration-property.component.ts index 5418bde30..7e666bc03 100644 --- a/ui/src/app/metadata/configuration/component/configuration-property.component.ts +++ b/ui/src/app/metadata/configuration/component/property/configuration-property.component.ts @@ -1,5 +1,5 @@ import { Component, Input } from '@angular/core'; -import { Property } from '../../domain/model/property'; +import { Property } from '../../../domain/model/property'; @Component({ selector: 'configuration-property', diff --git a/ui/src/app/metadata/configuration/component/filter-target-property.component.html b/ui/src/app/metadata/configuration/component/property/filter-target-property.component.html similarity index 100% rename from ui/src/app/metadata/configuration/component/filter-target-property.component.html rename to ui/src/app/metadata/configuration/component/property/filter-target-property.component.html diff --git a/ui/src/app/metadata/configuration/component/filter-target-property.component.spec.ts b/ui/src/app/metadata/configuration/component/property/filter-target-property.component.spec.ts similarity index 79% rename from ui/src/app/metadata/configuration/component/filter-target-property.component.spec.ts rename to ui/src/app/metadata/configuration/component/property/filter-target-property.component.spec.ts index 98c08d4c4..d1308787d 100644 --- a/ui/src/app/metadata/configuration/component/filter-target-property.component.spec.ts +++ b/ui/src/app/metadata/configuration/component/property/filter-target-property.component.spec.ts @@ -3,15 +3,12 @@ import { TestBed, async, ComponentFixture } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { NgbPopoverModule } from '@ng-bootstrap/ng-bootstrap'; -import { Property } from '../../domain/model/property'; -import { MockI18nModule } from '../../../../testing/i18n.stub'; -import { SCHEMA } from '../../../../testing/form-schema.stub'; -import { getStepProperty } from '../../domain/utility/configuration'; +import { Property } from '../../../domain/model/property'; +import { MockI18nModule } from '../../../../../testing/i18n.stub'; +import { SCHEMA } from '../../../../../testing/form-schema.stub'; +import { getStepProperty } from '../../../domain/utility/configuration'; import { FilterTargetPropertyComponent } from './filter-target-property.component'; -import { PrimitivePropertyComponent } from './primitive-property.component'; -import { ArrayPropertyComponentStub, PrimitivePropertyComponentStub } from '../../../../testing/property-component.stub'; -import { AttributesService } from '../../domain/service/attributes.service'; -import { of } from 'rxjs'; +import { ArrayPropertyComponentStub, PrimitivePropertyComponentStub } from '../../../../../testing/property-component.stub'; @Component({ template: ` diff --git a/ui/src/app/metadata/configuration/component/filter-target-property.component.ts b/ui/src/app/metadata/configuration/component/property/filter-target-property.component.ts similarity index 91% rename from ui/src/app/metadata/configuration/component/filter-target-property.component.ts rename to ui/src/app/metadata/configuration/component/property/filter-target-property.component.ts index 6b7ebf216..8c0e89b00 100644 --- a/ui/src/app/metadata/configuration/component/filter-target-property.component.ts +++ b/ui/src/app/metadata/configuration/component/property/filter-target-property.component.ts @@ -1,5 +1,5 @@ import { Component, Input, Output, EventEmitter } from '@angular/core'; -import { Property } from '../../domain/model/property'; +import { Property } from '../../../domain/model/property'; import { ConfigurationPropertyComponent } from './configuration-property.component'; @Component({ diff --git a/ui/src/app/metadata/configuration/component/object-property.component.html b/ui/src/app/metadata/configuration/component/property/object-property.component.html similarity index 100% rename from ui/src/app/metadata/configuration/component/object-property.component.html rename to ui/src/app/metadata/configuration/component/property/object-property.component.html diff --git a/ui/src/app/metadata/configuration/component/object-property.component.spec.ts b/ui/src/app/metadata/configuration/component/property/object-property.component.spec.ts similarity index 87% rename from ui/src/app/metadata/configuration/component/object-property.component.spec.ts rename to ui/src/app/metadata/configuration/component/property/object-property.component.spec.ts index 8817711c9..d9ddcdd97 100644 --- a/ui/src/app/metadata/configuration/component/object-property.component.spec.ts +++ b/ui/src/app/metadata/configuration/component/property/object-property.component.spec.ts @@ -3,11 +3,11 @@ import { TestBed, async, ComponentFixture } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { NgbPopoverModule } from '@ng-bootstrap/ng-bootstrap'; -import { Property } from '../../domain/model/property'; -import { MockI18nModule } from '../../../../testing/i18n.stub'; +import { Property } from '../../../domain/model/property'; +import { MockI18nModule } from '../../../../../testing/i18n.stub'; import { ObjectPropertyComponent } from './object-property.component'; -import { SCHEMA } from '../../../../testing/form-schema.stub'; -import { getStepProperty } from '../../domain/utility/configuration'; +import { SCHEMA } from '../../../../../testing/form-schema.stub'; +import { getStepProperty } from '../../../domain/utility/configuration'; import { PrimitivePropertyComponent } from './primitive-property.component'; import { ArrayPropertyComponent } from './array-property.component'; import { FilterTargetPropertyComponent } from './filter-target-property.component'; diff --git a/ui/src/app/metadata/configuration/component/object-property.component.ts b/ui/src/app/metadata/configuration/component/property/object-property.component.ts similarity index 89% rename from ui/src/app/metadata/configuration/component/object-property.component.ts rename to ui/src/app/metadata/configuration/component/property/object-property.component.ts index 1fafafa25..9eef4afbd 100644 --- a/ui/src/app/metadata/configuration/component/object-property.component.ts +++ b/ui/src/app/metadata/configuration/component/property/object-property.component.ts @@ -1,5 +1,5 @@ import { Component, Input, Output, EventEmitter } from '@angular/core'; -import { Property } from '../../domain/model/property'; +import { Property } from '../../../domain/model/property'; import { ConfigurationPropertyComponent } from './configuration-property.component'; @Component({ diff --git a/ui/src/app/metadata/configuration/component/primitive-property.component.html b/ui/src/app/metadata/configuration/component/property/primitive-property.component.html similarity index 59% rename from ui/src/app/metadata/configuration/component/primitive-property.component.html rename to ui/src/app/metadata/configuration/component/property/primitive-property.component.html index 4d93c07cc..5e582350d 100644 --- a/ui/src/app/metadata/configuration/component/primitive-property.component.html +++ b/ui/src/app/metadata/configuration/component/property/primitive-property.component.html @@ -1,4 +1,8 @@ -
+
+Changed: +
{{ v ? v : (v === false) ? v : '-' }} +
\ No newline at end of file diff --git a/ui/src/app/metadata/configuration/component/primitive-property.component.spec.ts b/ui/src/app/metadata/configuration/component/property/primitive-property.component.spec.ts similarity index 92% rename from ui/src/app/metadata/configuration/component/primitive-property.component.spec.ts rename to ui/src/app/metadata/configuration/component/property/primitive-property.component.spec.ts index 9ce81bfb5..dbc3eed4f 100644 --- a/ui/src/app/metadata/configuration/component/primitive-property.component.spec.ts +++ b/ui/src/app/metadata/configuration/component/property/primitive-property.component.spec.ts @@ -3,8 +3,8 @@ import { TestBed, async, ComponentFixture } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { Property } from '../../domain/model/property'; -import { MockI18nModule } from '../../../../testing/i18n.stub'; +import { Property } from '../../../domain/model/property'; +import { MockI18nModule } from '../../../../../testing/i18n.stub'; import { PrimitivePropertyComponent } from './primitive-property.component'; @Component({ diff --git a/ui/src/app/metadata/configuration/component/primitive-property.component.ts b/ui/src/app/metadata/configuration/component/property/primitive-property.component.ts similarity index 100% rename from ui/src/app/metadata/configuration/component/primitive-property.component.ts rename to ui/src/app/metadata/configuration/component/property/primitive-property.component.ts diff --git a/ui/src/app/metadata/configuration/configuration.module.ts b/ui/src/app/metadata/configuration/configuration.module.ts index fa395529b..ae332ddf3 100644 --- a/ui/src/app/metadata/configuration/configuration.module.ts +++ b/ui/src/app/metadata/configuration/configuration.module.ts @@ -1,5 +1,5 @@ import { NgModule, ModuleWithProviders } from '@angular/core'; -import { CommonModule } from '@angular/common'; +import { CommonModule, DatePipe } from '@angular/common'; import { StoreModule } from '@ngrx/store'; import { EffectsModule } from '@ngrx/effects'; import { RouterModule } from '@angular/router'; @@ -11,10 +11,12 @@ import { ConfigurationComponent } from './container/configuration.component'; import { MetadataConfigurationService } from './service/configuration.service'; import * as fromConfig from './reducer'; import { MetadataConfigurationEffects } from './effect/configuration.effect'; -import { ConfigurationPropertyComponent } from './component/configuration-property.component'; -import { PrimitivePropertyComponent } from './component/primitive-property.component'; -import { ObjectPropertyComponent } from './component/object-property.component'; -import { ArrayPropertyComponent } from './component/array-property.component'; +import { ConfigurationPropertyComponent } from './component/property/configuration-property.component'; +import { PrimitivePropertyComponent } from './component/property/primitive-property.component'; +import { ObjectPropertyComponent } from './component/property/object-property.component'; +import { ArrayPropertyComponent } from './component/property/array-property.component'; +import { FilterTargetPropertyComponent } from './component/property/filter-target-property.component'; + import { MetadataOptionsComponent } from './container/metadata-options.component'; import { MetadataXmlComponent } from './container/metadata-xml.component'; import { MetadataHeaderComponent } from './component/metadata-header.component'; @@ -29,7 +31,19 @@ import { FilterModule } from '../filter/filter.module'; import { FilterConfigurationListComponent } from './component/filter-configuration-list.component'; import { FilterConfigurationListItemComponent } from './component/filter-configuration-list-item.component'; import { SharedModule } from '../../shared/shared.module'; -import { FilterTargetPropertyComponent } from './component/filter-target-property.component'; + +import { RestoreComponent } from './container/restore.component'; +import { RestoreEffects } from './effect/restore.effect'; +import { VersionComponent } from './container/version.component'; +import { VersionOptionsComponent } from './container/version-options.component'; +import { VersionEffects } from './effect/version.effect'; +import { MetadataEditorComponent } from './component/editor.component'; +import { WizardModule } from '../../wizard/wizard.module'; +import { FormModule } from '../../schema-form/schema-form.module'; +import { RestoreEditComponent } from './container/restore-edit.component'; +import { RestoreEditStepComponent } from './container/restore-edit-step.component'; + +import { IndexResolver } from './service/index-resolver.service'; @NgModule({ declarations: [ @@ -47,7 +61,13 @@ import { FilterTargetPropertyComponent } from './component/filter-target-propert MetadataComparisonComponent, FilterConfigurationListComponent, FilterConfigurationListItemComponent, - FilterTargetPropertyComponent + FilterTargetPropertyComponent, + RestoreComponent, + VersionComponent, + VersionOptionsComponent, + MetadataEditorComponent, + RestoreEditComponent, + RestoreEditStepComponent ], entryComponents: [], imports: [ @@ -57,10 +77,15 @@ import { FilterTargetPropertyComponent } from './component/filter-target-propert RouterModule, DomainModule, FilterModule, - SharedModule + SharedModule, + WizardModule, + FormModule ], exports: [], - providers: [] + providers: [ + DatePipe, + IndexResolver + ] }) export class MetadataConfigurationModule { static forRoot(): ModuleWithProviders { @@ -82,7 +107,9 @@ export class MetadataConfigurationModule { [ MetadataConfigurationEffects, MetadataHistoryEffects, - CompareVersionEffects + CompareVersionEffects, + RestoreEffects, + VersionEffects ]) ], providers: [] diff --git a/ui/src/app/metadata/configuration/configuration.routing.ts b/ui/src/app/metadata/configuration/configuration.routing.ts index 0a77b0c2b..fec3c84da 100644 --- a/ui/src/app/metadata/configuration/configuration.routing.ts +++ b/ui/src/app/metadata/configuration/configuration.routing.ts @@ -4,6 +4,12 @@ import { MetadataOptionsComponent } from './container/metadata-options.component import { MetadataXmlComponent } from './container/metadata-xml.component'; import { MetadataHistoryComponent } from './container/metadata-history.component'; import { MetadataComparisonComponent } from './container/metadata-comparison.component'; +import { RestoreComponent } from './container/restore.component'; +import { VersionComponent } from './container/version.component'; +import { VersionOptionsComponent } from './container/version-options.component'; +import { RestoreEditComponent } from './container/restore-edit.component'; +import { IndexResolver } from './service/index-resolver.service'; +import { RestoreEditStepComponent } from './container/restore-edit-step.component'; export const ConfigurationRoutes: Routes = [ { @@ -29,6 +35,37 @@ export const ConfigurationRoutes: Routes = [ { path: 'compare', component: MetadataComparisonComponent + }, + { + path: 'version/:version', + component: VersionComponent, + children: [ + { + path: 'options', + component: VersionOptionsComponent + }, + { + path: 'restore', + component: RestoreComponent + }, + { + path: 'edit', + redirectTo: 'edit/common' + }, + { + path: 'edit', + component: RestoreEditComponent, + children: [ + { + path: ':index', + component: RestoreEditStepComponent, + resolve: { + index: IndexResolver + } + } + ] + } + ] } ] } diff --git a/ui/src/app/metadata/configuration/configuration.values.ts b/ui/src/app/metadata/configuration/configuration.values.ts index 383486cfd..53c2279e9 100644 --- a/ui/src/app/metadata/configuration/configuration.values.ts +++ b/ui/src/app/metadata/configuration/configuration.values.ts @@ -13,3 +13,5 @@ export enum TYPES { export const DEFINITIONS = { resolver: MetadataSourceEditor }; + +export const CONFIG_DATE_FORMAT = 'MMM dd, yyyy HH:mm:ss'; diff --git a/ui/src/app/metadata/configuration/container/configuration.component.html b/ui/src/app/metadata/configuration/container/configuration.component.html index 53f8fa697..89d017139 100644 --- a/ui/src/app/metadata/configuration/container/configuration.component.html +++ b/ui/src/app/metadata/configuration/container/configuration.component.html @@ -13,11 +13,6 @@ -

- Source - Provider - Configuration -

diff --git a/ui/src/app/metadata/configuration/container/configuration.component.spec.ts b/ui/src/app/metadata/configuration/container/configuration.component.spec.ts index 71bb05ab0..b1d9bc2f2 100644 --- a/ui/src/app/metadata/configuration/container/configuration.component.spec.ts +++ b/ui/src/app/metadata/configuration/container/configuration.component.spec.ts @@ -1,10 +1,9 @@ -import { Component, ViewChild, Input } from '@angular/core'; +import { Component, ViewChild } from '@angular/core'; import { TestBed, async, ComponentFixture } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { StoreModule, combineReducers } from '@ngrx/store'; import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { MetadataConfiguration } from '../model/metadata-configuration'; import { ConfigurationComponent } from './configuration.component'; import * as fromConfiguration from '../reducer'; import * as fromProviders from '../../provider/reducer'; @@ -19,11 +18,6 @@ import { MockI18nModule } from '../../../../testing/i18n.stub'; class TestHostComponent { @ViewChild(ConfigurationComponent) public componentUnderTest: ConfigurationComponent; - - configuration: MetadataConfiguration = { - dates: [], - sections: [] - }; } describe('Metadata Configuration Page Component', () => { diff --git a/ui/src/app/metadata/configuration/container/configuration.component.ts b/ui/src/app/metadata/configuration/container/configuration.component.ts index 4c06d7f9d..c1e2daf35 100644 --- a/ui/src/app/metadata/configuration/container/configuration.component.ts +++ b/ui/src/app/metadata/configuration/container/configuration.component.ts @@ -1,15 +1,13 @@ -import { Component, ChangeDetectionStrategy, OnDestroy, HostListener } from '@angular/core'; -import { ActivatedRoute, Router, Scroll, Event } from '@angular/router'; -import { takeUntil, map, withLatestFrom, filter, timeout, delay } from 'rxjs/operators'; +import { Component, ChangeDetectionStrategy, OnDestroy } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; +import { takeUntil, map } from 'rxjs/operators'; import { Store } from '@ngrx/store'; -import { Observable, Subject, interval } from 'rxjs'; +import { Observable, Subject } from 'rxjs'; import * as fromConfiguration from '../reducer'; import { ClearConfiguration, SetMetadata } from '../action/configuration.action'; -import { LoadHistoryRequest, ClearHistory, SelectVersion } from '../action/history.action'; import * as fromReducer from '../reducer'; -import { ViewportScroller } from '@angular/common'; @Component({ selector: 'configuration-page', @@ -27,32 +25,15 @@ export class ConfigurationComponent implements OnDestroy { private store: Store, private routerState: ActivatedRoute ) { - this.routerState.params.pipe( - takeUntil(this.ngUnsubscribe), - map(params => new SetMetadata({id: params.id, type: params.type})) - ).subscribe(store); this.routerState.params.pipe( takeUntil(this.ngUnsubscribe), - map(params => new LoadHistoryRequest({ id: params.id, type: params.type })) - ).subscribe(store); - - this.store.select(fromReducer.getVersionCollection).pipe( - takeUntil(this.ngUnsubscribe), - withLatestFrom( - this.routerState.queryParams - ), - map(([collection, params]) => { - if (collection && collection.length) { - return params.version || collection[0].id; - } - return null; - }) - ).subscribe(version => { - if (version) { - this.store.dispatch(new SelectVersion(version)); - } - }); + map(({ id, type, version }) => new SetMetadata({ + id, + type, + version + })) + ).subscribe(this.store); this.name$ = this.store.select(fromReducer.getConfigurationModelName); this.type$ = this.store.select(fromReducer.getConfigurationModelType); @@ -62,6 +43,5 @@ export class ConfigurationComponent implements OnDestroy { this.ngUnsubscribe.next(); this.ngUnsubscribe.complete(); this.store.dispatch(new ClearConfiguration()); - this.store.dispatch(new ClearHistory()); } } diff --git a/ui/src/app/metadata/configuration/container/metadata-comparison.component.html b/ui/src/app/metadata/configuration/container/metadata-comparison.component.html index d5b533716..5c93f5ec7 100644 --- a/ui/src/app/metadata/configuration/container/metadata-comparison.component.html +++ b/ui/src/app/metadata/configuration/container/metadata-comparison.component.html @@ -1,12 +1,32 @@ -
+ Compare + Source + Provider + Configuration + +
-
+
  Version History +
- + +
+
+ + Loading...
\ No newline at end of file diff --git a/ui/src/app/metadata/configuration/container/metadata-comparison.component.ts b/ui/src/app/metadata/configuration/container/metadata-comparison.component.ts index 92019297d..06f821633 100644 --- a/ui/src/app/metadata/configuration/container/metadata-comparison.component.ts +++ b/ui/src/app/metadata/configuration/container/metadata-comparison.component.ts @@ -1,12 +1,12 @@ -import { Component, ChangeDetectionStrategy } from '@angular/core'; -import { Observable } from 'rxjs'; +import { Component, ChangeDetectionStrategy, OnDestroy } from '@angular/core'; +import { Observable, BehaviorSubject, Subscription, combineLatest } from 'rxjs'; import { Store } from '@ngrx/store'; import { ActivatedRoute } from '@angular/router'; -import { map } from 'rxjs/operators'; -import { ConfigurationState, getVersionConfigurations, getVersionConfigurationCount } from '../reducer'; -import { Metadata } from '../../domain/domain.type'; -import { CompareVersionRequest } from '../action/compare.action'; +import { map, withLatestFrom } from 'rxjs/operators'; +import { ConfigurationState, getComparisonConfigurationCount } from '../reducer'; +import { CompareVersionRequest, ClearVersions, ViewChanged } from '../action/compare.action'; import { MetadataConfiguration } from '../model/metadata-configuration'; +import * as fromReducer from '../reducer'; @Component({ selector: 'metadata-comparison', @@ -14,10 +14,16 @@ import { MetadataConfiguration } from '../model/metadata-configuration'; templateUrl: './metadata-comparison.component.html', styleUrls: [] }) -export class MetadataComparisonComponent { +export class MetadataComparisonComponent implements OnDestroy { + + limiter: BehaviorSubject = new BehaviorSubject(false); versions$: Observable; numVersions$: Observable; + type$: Observable; + loading$: Observable = this.store.select(fromReducer.getComparisonLoading); + limited$: Observable = this.store.select(fromReducer.getViewChangedOnly); + sub: Subscription; constructor( private store: Store, @@ -25,10 +31,24 @@ export class MetadataComparisonComponent { ) { this.activatedRoute.queryParams.pipe( map(params => params.versions), + map(versions => Array.isArray(versions) ? versions : [versions]), map(versions => new CompareVersionRequest(versions)) ).subscribe(this.store); - this.versions$ = this.store.select(getVersionConfigurations); - this.numVersions$ = this.store.select(getVersionConfigurationCount); + this.versions$ = this.store.select(fromReducer.getLimitedComparisonConfigurations); + this.numVersions$ = this.store.select(getComparisonConfigurationCount); + this.type$ = this.store.select(fromReducer.getConfigurationModelType); + + this.versions$.subscribe(console.log); + + this.sub = this.limiter.pipe( + withLatestFrom(this.limited$), + map(([compare, limit]) => new ViewChanged(!limit)) + ).subscribe(this.store); + } + + ngOnDestroy(): void { + this.sub.unsubscribe(); + this.store.dispatch(new ClearVersions()); } } diff --git a/ui/src/app/metadata/configuration/container/metadata-history.component.html b/ui/src/app/metadata/configuration/container/metadata-history.component.html index 2bcc27fe5..23c2b4595 100644 --- a/ui/src/app/metadata/configuration/container/metadata-history.component.html +++ b/ui/src/app/metadata/configuration/container/metadata-history.component.html @@ -1,5 +1,13 @@ -
+

+ Version History +

+
+ (compare)="compareVersions($event)" + (restore)="restoreVersion($event)">
+
+ + Loading... +
\ No newline at end of file diff --git a/ui/src/app/metadata/configuration/container/metadata-history.component.ts b/ui/src/app/metadata/configuration/container/metadata-history.component.ts index c49e0c70f..c2c1d0a1a 100644 --- a/ui/src/app/metadata/configuration/container/metadata-history.component.ts +++ b/ui/src/app/metadata/configuration/container/metadata-history.component.ts @@ -1,11 +1,17 @@ -import { Component, ChangeDetectionStrategy } from '@angular/core'; -import { Observable } from 'rxjs'; +import { Component, ChangeDetectionStrategy, OnDestroy } from '@angular/core'; +import { Observable, combineLatest, Subject } from 'rxjs'; import { Store } from '@ngrx/store'; -import { ConfigurationState, getVersionCollection } from '../reducer'; +import { + ConfigurationState, + getVersionCollection, + getConfigurationModelId, + getConfigurationModelKind, + getHistoryLoading +} from '../reducer'; import { MetadataVersion } from '../model/version'; -import { CompareVersionRequest } from '../action/compare.action'; import { Router, ActivatedRoute } from '@angular/router'; -import { map } from 'rxjs/operators'; +import { map, takeUntil } from 'rxjs/operators'; +import { LoadHistoryRequest, ClearHistory } from '../action/history.action'; @Component({ selector: 'metadata-history', @@ -13,15 +19,27 @@ import { map } from 'rxjs/operators'; templateUrl: './metadata-history.component.html', styleUrls: [] }) -export class MetadataHistoryComponent { +export class MetadataHistoryComponent implements OnDestroy { + + private ngUnsubscribe: Subject = new Subject(); history$: Observable; + loading$: Observable = this.store.select(getHistoryLoading); constructor( private store: Store, private router: Router, private route: ActivatedRoute ) { + combineLatest( + this.store.select(getConfigurationModelId), + this.store.select(getConfigurationModelKind) + ).pipe( + takeUntil(this.ngUnsubscribe), + map(([id, kind]) => ({ id, type: kind })), + map(request => new LoadHistoryRequest(request)) + ).subscribe(store); + this.history$ = this.store.select(getVersionCollection) .pipe(map(versions => this.sortVersionsByDate(versions))); } @@ -44,4 +62,19 @@ export class MetadataHistoryComponent { } ); } + + restoreVersion(version: MetadataVersion): void { + this.router.navigate( + [ '../', 'version', version.id, 'restore' ], + { + relativeTo: this.route + } + ); + } + + ngOnDestroy() { + this.ngUnsubscribe.next(); + this.ngUnsubscribe.complete(); + this.store.dispatch(new ClearHistory()); + } } diff --git a/ui/src/app/metadata/configuration/container/metadata-options.component.html b/ui/src/app/metadata/configuration/container/metadata-options.component.html index d99166c11..a03e50663 100644 --- a/ui/src/app/metadata/configuration/container/metadata-options.component.html +++ b/ui/src/app/metadata/configuration/container/metadata-options.component.html @@ -1,9 +1,13 @@ +

+ Source + Provider + Configuration +

+
+
+
+ + +
+
+ +
+
+ + diff --git a/ui/src/app/metadata/configuration/container/restore-edit.component.spec.ts b/ui/src/app/metadata/configuration/container/restore-edit.component.spec.ts new file mode 100644 index 000000000..847ab5623 --- /dev/null +++ b/ui/src/app/metadata/configuration/container/restore-edit.component.spec.ts @@ -0,0 +1,79 @@ +import { Component, ViewChild, NO_ERRORS_SCHEMA } from '@angular/core'; +import { TestBed, async, ComponentFixture } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; +import { StoreModule, combineReducers, Store } from '@ngrx/store'; +import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; + +import { RestoreEditComponent } from './restore-edit.component'; +import * as fromConfiguration from '../reducer'; +import * as fromProviders from '../../provider/reducer'; +import * as fromResolvers from '../../resolver/reducer'; +import { MockI18nModule } from '../../../../testing/i18n.stub'; +import { RestoreActionTypes } from '../action/restore.action'; + +@Component({ + template: ` + + ` +}) +class TestHostComponent { + @ViewChild(RestoreEditComponent) + public componentUnderTest: RestoreEditComponent; +} + +describe('Restore Version Edit Component', () => { + + let fixture: ComponentFixture; + let instance: TestHostComponent; + let app: RestoreEditComponent; + let store: Store; + let dispatchSpy; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + imports: [ + NgbDropdownModule, + StoreModule.forRoot({ + 'metadata-configuration': combineReducers(fromConfiguration.reducers), + 'provider': combineReducers(fromProviders.reducers), + 'resolver': combineReducers(fromResolvers.reducers) + }), + MockI18nModule, + RouterTestingModule + ], + declarations: [ + RestoreEditComponent, + TestHostComponent + ], + schemas: [ NO_ERRORS_SCHEMA ] + }).compileComponents(); + + store = TestBed.get(Store); + dispatchSpy = spyOn(store, 'dispatch'); + + fixture = TestBed.createComponent(TestHostComponent); + instance = fixture.componentInstance; + app = instance.componentUnderTest; + fixture.detectChanges(); + })); + + it('should compile', () => { + expect(app).toBeTruthy(); + }); + + describe('save', () => { + it('should dispatch a save request event', () => { + app.save(); + expect(store.dispatch).toHaveBeenCalled(); + expect(dispatchSpy.calls.mostRecent().args[0].type).toBe(RestoreActionTypes.RESTORE_VERSION_REQUEST); + }); + }); + + describe('cancel', () => { + it('should dispatch a cancel request event', () => { + app.cancel(); + expect(store.dispatch).toHaveBeenCalled(); + expect(dispatchSpy.calls.mostRecent().args[0].type).toBe(RestoreActionTypes.CANCEL_RESTORE); + }); + }); +}); diff --git a/ui/src/app/metadata/configuration/container/restore-edit.component.ts b/ui/src/app/metadata/configuration/container/restore-edit.component.ts new file mode 100644 index 000000000..7bd939ee4 --- /dev/null +++ b/ui/src/app/metadata/configuration/container/restore-edit.component.ts @@ -0,0 +1,51 @@ +import { Component } from '@angular/core'; +import { Observable, of } from 'rxjs'; +import { Store } from '@ngrx/store'; +import { + ConfigurationState, + getConfigurationModelKind, + getRestorationIsSaving, + getRestorationIsValid, + getInvalidRestorationForms +} from '../../configuration/reducer'; +import { RestoreVersionRequest, CancelRestore } from '../action/restore.action'; +import { NAV_FORMATS } from '../../domain/component/editor-nav.component'; +import { Metadata } from '../../domain/domain.type'; +import { getVersionModel } from '../reducer'; +import { map } from 'rxjs/operators'; + + +@Component({ + selector: 'restore-edit', + templateUrl: './restore-edit.component.html', + styleUrls: [] +}) + +export class RestoreEditComponent { + + model$: Observable = this.store.select(getVersionModel); + kind$: Observable = this.store.select(getConfigurationModelKind); + + isInvalid$: Observable = this.store.select(getRestorationIsValid).pipe(map(v => !v)); + status$: Observable = this.store.select(getInvalidRestorationForms); + isSaving$: Observable = this.store.select(getRestorationIsSaving); + + validators$: Observable; + + formats = NAV_FORMATS; + + constructor( + private store: Store + ) { + // this.status$.subscribe(console.log); + } + + save() { + this.store.dispatch(new RestoreVersionRequest()); + } + + cancel() { + this.store.dispatch(new CancelRestore()); + } +} + diff --git a/ui/src/app/metadata/configuration/container/restore.component.html b/ui/src/app/metadata/configuration/container/restore.component.html new file mode 100644 index 000000000..3072dbfc3 --- /dev/null +++ b/ui/src/app/metadata/configuration/container/restore.component.html @@ -0,0 +1,26 @@ + +

+ + Restore Version ( date ) + +

+
+
+
+

+ Create New Version from Previous Settings +

+

+ Restoring this version will copy the Version ( date ) configuration and create a new Version from the selected version settings. You can then edit the configuration before saving the new version. +

+   + +
+
+
+
+
+ + Loading... +
\ No newline at end of file diff --git a/ui/src/app/metadata/configuration/container/restore.component.spec.ts b/ui/src/app/metadata/configuration/container/restore.component.spec.ts new file mode 100644 index 000000000..36420e2f6 --- /dev/null +++ b/ui/src/app/metadata/configuration/container/restore.component.spec.ts @@ -0,0 +1,79 @@ +import { Component, ViewChild, Input } from '@angular/core'; +import { TestBed, async, ComponentFixture } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; +import { StoreModule, combineReducers, Store } from '@ngrx/store'; +import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; + +import * as fromConfiguration from '../reducer'; +import * as fromProviders from '../../provider/reducer'; +import * as fromResolvers from '../../resolver/reducer'; +import { MockI18nModule } from '../../../../testing/i18n.stub'; +import { RestoreComponent } from './restore.component'; +import { of } from 'rxjs'; +import { DatePipe } from '@angular/common'; +import { Router } from '@angular/router'; + +@Component({ + template: ` + + ` +}) +class TestHostComponent { + @ViewChild(RestoreComponent) + public componentUnderTest: RestoreComponent; +} + +describe('Metadata Restore Page Component', () => { + + let fixture: ComponentFixture; + let instance: TestHostComponent; + let app: RestoreComponent; + let store: Store; + let router: Router; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + imports: [ + NgbDropdownModule, + StoreModule.forRoot({ + 'metadata-configuration': combineReducers(fromConfiguration.reducers), + 'provider': combineReducers(fromProviders.reducers), + 'resolver': combineReducers(fromResolvers.reducers) + }), + MockI18nModule, + RouterTestingModule + ], + declarations: [ + RestoreComponent, + TestHostComponent + ], + providers: [ + DatePipe + ] + }).compileComponents(); + + store = TestBed.get(Store); + router = TestBed.get(Router); + spyOn(store, 'dispatch'); + spyOn(store, 'select').and.callFake(() => of(new Date().toDateString())); + + fixture = TestBed.createComponent(TestHostComponent); + instance = fixture.componentInstance; + app = instance.componentUnderTest; + fixture.detectChanges(); + })); + + it('should load metadata objects', async(() => { + expect(app).toBeTruthy(); + expect(store.select).toHaveBeenCalledTimes(2); + expect(store.dispatch).not.toHaveBeenCalled(); + })); + + describe('restore method', () => { + it('should navigate to the restore edit page', () => { + spyOn(router, 'navigate').and.callThrough(); + app.restore(); + expect(router.navigate).toHaveBeenCalled(); + }); + }); +}); diff --git a/ui/src/app/metadata/configuration/container/restore.component.ts b/ui/src/app/metadata/configuration/container/restore.component.ts new file mode 100644 index 000000000..bb8ffc2cf --- /dev/null +++ b/ui/src/app/metadata/configuration/container/restore.component.ts @@ -0,0 +1,42 @@ +import { Component, ChangeDetectionStrategy } from '@angular/core'; +import { Store } from '@ngrx/store'; +import { Observable } from 'rxjs'; + +import * as fromConfiguration from '../reducer'; +import { CONFIG_DATE_FORMAT } from '../configuration.values'; +import { CancelRestore } from '../action/restore.action'; +import { map } from 'rxjs/operators'; + +import { DatePipe } from '@angular/common'; +import { Router, ActivatedRoute } from '@angular/router'; + +@Component({ + selector: 'restore-component', + changeDetection: ChangeDetectionStrategy.OnPush, + templateUrl: './restore.component.html', + styleUrls: [] +}) +export class RestoreComponent { + + dateString$ = this.store.select(fromConfiguration.getConfigurationVersionDate); + loading$ = this.store.select(fromConfiguration.getVersionLoading); + loaded$ = this.loading$.pipe(map(loading => !loading)); + date$: Observable; + + constructor( + private store: Store, + private datePipe: DatePipe, + private router: Router, + private route: ActivatedRoute + ) { + this.date$ = this.dateString$.pipe(map((date) => this.datePipe.transform(date, CONFIG_DATE_FORMAT))); + } + + restore() { + this.router.navigate(['../', 'edit'], { relativeTo: this.route }); + } + + cancel() { + this.store.dispatch(new CancelRestore()); + } +} diff --git a/ui/src/app/metadata/configuration/container/version-options.component.html b/ui/src/app/metadata/configuration/container/version-options.component.html new file mode 100644 index 000000000..c4590848f --- /dev/null +++ b/ui/src/app/metadata/configuration/container/version-options.component.html @@ -0,0 +1,47 @@ +

+ Source + Provider + Configuration +

+ +
+ + Loading... +
\ No newline at end of file diff --git a/ui/src/app/metadata/configuration/container/version-options.component.spec.ts b/ui/src/app/metadata/configuration/container/version-options.component.spec.ts new file mode 100644 index 000000000..86f78f839 --- /dev/null +++ b/ui/src/app/metadata/configuration/container/version-options.component.spec.ts @@ -0,0 +1,82 @@ +import { Component, ViewChild, NO_ERRORS_SCHEMA } from '@angular/core'; +import { TestBed, async, ComponentFixture } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; +import { StoreModule, combineReducers } from '@ngrx/store'; +import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; + +import { VersionOptionsComponent } from './version-options.component'; +import * as fromConfiguration from '../reducer'; +import * as fromProviders from '../../provider/reducer'; +import * as fromResolvers from '../../resolver/reducer'; +import { MockI18nModule } from '../../../../testing/i18n.stub'; +import { Metadata } from '../../domain/domain.type'; +import { ViewportScroller } from '@angular/common'; + +@Component({ + template: ` + + ` +}) +class TestHostComponent { + @ViewChild(VersionOptionsComponent) + public componentUnderTest: VersionOptionsComponent; +} + +describe('Metadata Version Options Page Component', () => { + + let fixture: ComponentFixture; + let instance: TestHostComponent; + let app: VersionOptionsComponent; + let scroller: ViewportScroller; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + imports: [ + NgbDropdownModule, + StoreModule.forRoot({ + 'metadata-configuration': combineReducers(fromConfiguration.reducers), + 'provider': combineReducers(fromProviders.reducers), + 'resolver': combineReducers(fromResolvers.reducers) + }), + MockI18nModule, + RouterTestingModule + ], + declarations: [ + VersionOptionsComponent, + TestHostComponent + ], + schemas: [ NO_ERRORS_SCHEMA ] + }).compileComponents(); + + scroller = TestBed.get(ViewportScroller); + + fixture = TestBed.createComponent(TestHostComponent); + instance = fixture.componentInstance; + app = instance.componentUnderTest; + fixture.detectChanges(); + })); + + it('should compile', () => { + expect(app).toBeTruthy(); + }); + + describe('setModel method', () => { + it('should set attributes based on the passed data', () => { + app.setModel({ id: 'foo', '@type': 'bar' } as Metadata); + expect(app.id).toBe('foo'); + expect(app.kind).toBe('provider'); + + app.setModel({ resourceId: 'baz' } as Metadata); + expect(app.id).toBe('baz'); + expect(app.kind).toBe('resolver'); + }); + }); + + describe('onScrollTo method', () => { + it('should set attributes based on the passed data', () => { + spyOn(scroller, 'scrollToAnchor'); + app.onScrollTo('foo'); + expect(scroller.scrollToAnchor).toHaveBeenCalledWith('foo'); + }); + }); +}); diff --git a/ui/src/app/metadata/configuration/container/version-options.component.ts b/ui/src/app/metadata/configuration/container/version-options.component.ts new file mode 100644 index 000000000..9059f079f --- /dev/null +++ b/ui/src/app/metadata/configuration/container/version-options.component.ts @@ -0,0 +1,73 @@ +import { Store } from '@ngrx/store'; +import { Component, ChangeDetectionStrategy, OnDestroy } from '@angular/core'; +import { Observable, Subject } from 'rxjs'; +import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; +import { ViewportScroller } from '@angular/common'; +import { takeUntil, filter } from 'rxjs/operators'; + +import { + ConfigurationState, + getConfigurationSections, + getSelectedVersion, + getConfigurationModelEnabled, + getConfigurationModelType, + getVersionModelFilters, + getVersionLoading +} from '../reducer'; +import { MetadataConfiguration } from '../model/metadata-configuration'; +import { MetadataVersion } from '../model/version'; +import { + ClearFilters +} from '../../filter/action/collection.action'; + +import { Metadata } from '../../domain/domain.type'; +import { getVersionModel, getVersionConfigurationSections } from '../reducer'; + +@Component({ + selector: 'version-options-page', + changeDetection: ChangeDetectionStrategy.OnPush, + templateUrl: './version-options.component.html', + styleUrls: [] +}) +export class VersionOptionsComponent implements OnDestroy { + + protected ngUnsubscribe: Subject = new Subject(); + + configuration$: Observable = this.store.select(getVersionConfigurationSections); + isEnabled$: Observable = this.store.select(getConfigurationModelEnabled); + model$: Observable = this.store.select(getVersionModel); + type$: Observable = this.store.select(getConfigurationModelType); + filters$: Observable = this.store.select(getVersionModelFilters); + loading$: Observable = this.store.select(getVersionLoading); + id: string; + kind: string; + + constructor( + protected store: Store, + protected modalService: NgbModal, + protected scroller: ViewportScroller + ) { + this.model$ + .pipe( + takeUntil(this.ngUnsubscribe), + filter(model => !!model) + ) + .subscribe(p => this.setModel(p)); + } + + setModel(data: Metadata): void { + this.id = 'resourceId' in data ? data.resourceId : data.id; + this.kind = '@type' in data ? 'provider' : 'resolver'; + } + + onScrollTo(element): void { + this.scroller.scrollToAnchor(element); + } + + ngOnDestroy(): void { + this.ngUnsubscribe.next(); + this.ngUnsubscribe.complete(); + + this.store.dispatch(new ClearFilters()); + } +} diff --git a/ui/src/app/metadata/configuration/container/version.component.html b/ui/src/app/metadata/configuration/container/version.component.html new file mode 100644 index 000000000..90c6b6463 --- /dev/null +++ b/ui/src/app/metadata/configuration/container/version.component.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ui/src/app/metadata/configuration/container/version.component.spec.ts b/ui/src/app/metadata/configuration/container/version.component.spec.ts new file mode 100644 index 000000000..ae745f1b4 --- /dev/null +++ b/ui/src/app/metadata/configuration/container/version.component.spec.ts @@ -0,0 +1,56 @@ +import { Component, ViewChild } from '@angular/core'; +import { TestBed, async, ComponentFixture } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; +import { StoreModule, combineReducers } from '@ngrx/store'; +import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; + +import { VersionComponent } from './version.component'; +import * as fromConfiguration from '../reducer'; +import * as fromProviders from '../../provider/reducer'; +import * as fromResolvers from '../../resolver/reducer'; +import { MockI18nModule } from '../../../../testing/i18n.stub'; + +@Component({ + template: ` + + ` +}) +class TestHostComponent { + @ViewChild(VersionComponent) + public componentUnderTest: VersionComponent; +} + +describe('Metadata Version Page Component', () => { + + let fixture: ComponentFixture; + let instance: TestHostComponent; + let app: VersionComponent; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + imports: [ + NgbDropdownModule, + StoreModule.forRoot({ + 'metadata-configuration': combineReducers(fromConfiguration.reducers), + 'provider': combineReducers(fromProviders.reducers), + 'resolver': combineReducers(fromResolvers.reducers) + }), + MockI18nModule, + RouterTestingModule + ], + declarations: [ + VersionComponent, + TestHostComponent + ], + }).compileComponents(); + + fixture = TestBed.createComponent(TestHostComponent); + instance = fixture.componentInstance; + app = instance.componentUnderTest; + fixture.detectChanges(); + })); + + it('should compile', () => { + expect(app).toBeTruthy(); + }); +}); diff --git a/ui/src/app/metadata/configuration/container/version.component.ts b/ui/src/app/metadata/configuration/container/version.component.ts new file mode 100644 index 000000000..22c31601b --- /dev/null +++ b/ui/src/app/metadata/configuration/container/version.component.ts @@ -0,0 +1,42 @@ +import { Component, OnDestroy } from '@angular/core'; +import { Subscription, Subject } from 'rxjs'; +import { Store } from '@ngrx/store'; + +import { ActivatedRoute } from '@angular/router'; +import * as fromConfiguration from '../reducer'; +import { SelectVersionRequest } from '../action/version.action'; +import { map, withLatestFrom } from 'rxjs/operators'; + +@Component({ + selector: 'version-page', + templateUrl: './version.component.html', + styleUrls: [] +}) + +export class VersionComponent implements OnDestroy { + private ngUnsubscribe: Subject = new Subject(); + actionsSubscription: Subscription; + + constructor( + private store: Store, + private route: ActivatedRoute, + ) { + this.route + .params + .pipe( + withLatestFrom( + this.store.select(fromConfiguration.getConfigurationModelKind), + this.store.select(fromConfiguration.getConfigurationModelId) + ), + map(([ params, kind, id ]) => ({ version: params.version, id, type: kind })), + map(request => new SelectVersionRequest(request)) + ) + .subscribe(this.store); + } + + ngOnDestroy() { + this.ngUnsubscribe.next(); + this.ngUnsubscribe.complete(); + } +} + diff --git a/ui/src/app/metadata/configuration/effect/configuration.effect.ts b/ui/src/app/metadata/configuration/effect/configuration.effect.ts index 89abcb6ba..91ce3d37a 100644 --- a/ui/src/app/metadata/configuration/effect/configuration.effect.ts +++ b/ui/src/app/metadata/configuration/effect/configuration.effect.ts @@ -9,10 +9,10 @@ import { MetadataConfigurationService } from '../service/configuration.service'; import { ConfigurationActionTypes, SetMetadata, - SetDefinition, + SetConfigurationDefinition, LoadSchemaRequest, LoadSchemaSuccess, - SetSchema, + SetConfigurationSchema, LoadSchemaError, LoadXmlSuccess, LoadXmlError, @@ -20,18 +20,25 @@ import { DownloadXml } from '../action/configuration.action'; import { ResolverService } from '../../domain/service/resolver.service'; -import { EntityIdService } from '../../domain/service/entity-id.service'; import { State } from '../reducer/configuration.reducer'; import { getConfigurationModel, getConfigurationXml } from '../reducer'; -import { MetadataResolver } from '../../domain/model'; +import { MetadataResolver, MetadataProvider } from '../../domain/model'; import { - SelectProviderRequest, SelectProviderSuccess, ProviderCollectionActionTypes + SelectProviderSuccess, + ProviderCollectionActionTypes } from '../../provider/action/collection.action'; import { - SelectResolver, SelectResolverSuccess, ResolverCollectionActionTypes } from '../../resolver/action/collection.action'; +import { MetadataHistoryService } from '../service/history.service'; +import { Metadata } from '../../domain/domain.type'; +import { SelectVersion } from '../action/history.action'; +import { + SetDefinition, + LoadSchemaSuccess as LoadWizardSchemaSuccess, + LoadSchemaRequest as LoadWizardSchemaRequest +} from '../../../wizard/action/wizard.action'; @Injectable() export class MetadataConfigurationEffects { @@ -40,12 +47,22 @@ export class MetadataConfigurationEffects { loadMetadata$ = this.actions$.pipe( ofType(ConfigurationActionTypes.SET_METADATA), map(action => action.payload), - map(payload => { - const action = (payload.type === 'resolver') ? - new SelectResolver(payload.id) : - new SelectProviderRequest(payload.id); - return action; - }) + switchMap(payload => + this.historyService.getVersion(payload.id, payload.type, payload.version).pipe( + map((response: Metadata) => { + return (payload.type === 'resolver') ? + new SelectResolverSuccess(response as MetadataResolver) : + new SelectProviderSuccess(response as MetadataProvider); + }) + ) + ) + ); + + @Effect() + setMetadataVersion$ = this.actions$.pipe( + ofType(ConfigurationActionTypes.SET_METADATA), + map(action => action.payload), + map(({version}) => new SelectVersion(version)) ); @Effect() @@ -67,21 +84,33 @@ export class MetadataConfigurationEffects { @Effect() setDefinitionOnResolverDataLoad$ = this.actions$.pipe( ofType(ResolverCollectionActionTypes.SELECT_SUCCESS), - map(action => new SetDefinition(this.configService.getDefinition('resolver'))) + map(action => new SetConfigurationDefinition(this.configService.getDefinition('resolver'))) ); @Effect() setDefinitionOnProviderLoad$ = this.actions$.pipe( ofType(ProviderCollectionActionTypes.SELECT_PROVIDER_SUCCESS), - map(action => new SetDefinition(this.configService.getDefinition(action.payload['@type']))) + map(action => new SetConfigurationDefinition(this.configService.getDefinition(action.payload['@type']))) ); @Effect() loadSchemaOnDefinitionSet$ = this.actions$.pipe( - ofType(ConfigurationActionTypes.SET_DEFINITION), + ofType(ConfigurationActionTypes.SET_DEFINITION), map(action => new LoadSchemaRequest(action.payload.schema)) ); + @Effect() + setWizardDefinition$ = this.actions$.pipe( + ofType(ConfigurationActionTypes.SET_DEFINITION), + map(action => new SetDefinition(action.payload)) + ); + + @Effect() + setWizardSchema$ = this.actions$.pipe( + ofType(ConfigurationActionTypes.LOAD_SCHEMA_SUCCESS), + map(action => new LoadWizardSchemaSuccess(action.payload)) + ); + @Effect() loadSchemaData$ = this.actions$.pipe( ofType(ConfigurationActionTypes.LOAD_SCHEMA_REQUEST), @@ -98,7 +127,7 @@ export class MetadataConfigurationEffects { @Effect() setSchema$ = this.actions$.pipe( ofType(ConfigurationActionTypes.LOAD_SCHEMA_SUCCESS), - map(action => new SetSchema(action.payload)) + map(action => new SetConfigurationSchema(action.payload)) ); @Effect({dispatch: false}) @@ -119,7 +148,7 @@ export class MetadataConfigurationEffects { private configService: MetadataConfigurationService, private actions$: Actions, private resolverService: ResolverService, - private entityService: EntityIdService, + private historyService: MetadataHistoryService, private store: Store ) { } } diff --git a/ui/src/app/metadata/configuration/effect/restore.effect.ts b/ui/src/app/metadata/configuration/effect/restore.effect.ts new file mode 100644 index 000000000..f15f21569 --- /dev/null +++ b/ui/src/app/metadata/configuration/effect/restore.effect.ts @@ -0,0 +1,161 @@ +import { Injectable } from '@angular/core'; +import { Actions, Effect, ofType } from '@ngrx/effects'; +import { map, catchError, switchMap, withLatestFrom } from 'rxjs/operators'; + +import { + RestoreActionTypes, + RestoreVersionRequest, + RestoreVersionSuccess, + RestoreVersionError, + CancelRestore, + UpdateRestorationChangesRequest, + UpdateRestorationChangesSuccess, + SetSavingStatus +} from '../action/restore.action'; +import { MetadataHistoryService } from '../service/history.service'; +import { of } from 'rxjs'; +import { Router } from '@angular/router'; + +import { AddNotification } from '../../../notification/action/notification.action'; +import { Notification, NotificationType } from '../../../notification/model/notification'; +import { Store } from '@ngrx/store'; +import { + ConfigurationState, + getConfigurationModel, + getConfigurationModelId, + getConfigurationModelKind, + getConfigurationDefinition, + getRestorationModel +} from '../reducer'; +import { SetMetadata } from '../action/configuration.action'; +import { removeNulls } from '../../../shared/util'; +import { getModel } from '../../../wizard/reducer'; +import { ClearProviderSelection } from '../../provider/action/collection.action'; +import { ClearResolverSelection } from '../../resolver/action/collection.action'; + + +@Injectable() +export class RestoreEffects { + + @Effect() + restoreVersion$ = this.actions$.pipe( + ofType(RestoreActionTypes.RESTORE_VERSION_REQUEST), + withLatestFrom( + this.store.select(getConfigurationModelId), + this.store.select(getConfigurationModelKind), + this.store.select(getConfigurationModel), + this.store.select(getRestorationModel) + ), + switchMap(([action, id, kind, current, version]) => + this.historyService.updateVersion(id, kind, removeNulls({ + ...version, + version: current.version + })).pipe( + map(v => new RestoreVersionSuccess({ id, type: kind, model: v })), + catchError(err => of(new RestoreVersionError(err))) + ) + ) + ); + + @Effect() + restoreVersionSaving$ = this.actions$.pipe( + ofType(RestoreActionTypes.RESTORE_VERSION_REQUEST), + map(() => new SetSavingStatus(true)) + ); + + @Effect() + restoreVersionSaved$ = this.actions$.pipe( + ofType(RestoreActionTypes.RESTORE_VERSION_SUCCESS), + map(() => new SetSavingStatus(false)) + ); + + @Effect() + restoreVersionError$ = this.actions$.pipe( + ofType(RestoreActionTypes.RESTORE_VERSION_ERROR), + map(() => new SetSavingStatus(false)) + ); + + @Effect({ dispatch: false }) + restoreVersionCancel$ = this.actions$.pipe( + ofType(RestoreActionTypes.CANCEL_RESTORE), + withLatestFrom( + this.store.select(getConfigurationModelId), + this.store.select(getConfigurationModelKind) + ), + switchMap(([action, id, kind]) => + this.router.navigate(['/', 'metadata', kind, id, 'configuration', 'history']) + ) + ); + + @Effect() + restoreVersionSuccessNotification$ = this.actions$.pipe( + ofType(RestoreActionTypes.RESTORE_VERSION_SUCCESS), + map(action => action.payload), + map((data) => + new AddNotification(new Notification( + NotificationType.Success, + `Version Restored!`, + 5000 + )) + ) + ); + + @Effect({dispatch: false}) + restoreVersionSuccessRedirect$ = this.actions$.pipe( + ofType(RestoreActionTypes.RESTORE_VERSION_SUCCESS), + map(action => action.payload), + switchMap((data) => + this.router.navigate(['/metadata', data.type, data.id, 'configuration', 'options']) + ) + ); + + @Effect() + restoreVersionSuccessClear$ = this.actions$.pipe( + ofType(RestoreActionTypes.RESTORE_VERSION_SUCCESS), + map(action => action.payload), + map(({ id, type }) => + type === 'provider' ? new ClearProviderSelection() : new ClearResolverSelection() + ) + ); + + @Effect() + restoreVersionSuccessReload$ = this.actions$.pipe( + ofType(RestoreActionTypes.RESTORE_VERSION_SUCCESS), + map(action => action.payload), + map(({id, type}) => + new SetMetadata({ id, type }) + ) + ); + + @Effect() + updateRestorationChanges$ = this.actions$.pipe( + ofType(RestoreActionTypes.UPDATE_RESTORATION_REQUEST), + map(action => action.payload), + withLatestFrom( + this.store.select(getConfigurationDefinition), + this.store.select(getConfigurationModelKind), + this.store.select(getConfigurationModel) + ), + map(([changes, definition, kind, original]) => { + let parsed = definition.parser(changes); + if (kind === 'provider') { + parsed = { + ...parsed, + metadataFilters: [ + ...original.metadataFilters, + ...(parsed.metadataFilters || []) + ] + }; + } + return (parsed); + }), + map(changes => new UpdateRestorationChangesSuccess(changes)) + ); + + constructor( + private store: Store, + private historyService: MetadataHistoryService, + private actions$: Actions, + private router: Router + ) { } +} diff --git a/ui/src/app/metadata/configuration/effect/version.effect.ts b/ui/src/app/metadata/configuration/effect/version.effect.ts new file mode 100644 index 000000000..e48a60cd1 --- /dev/null +++ b/ui/src/app/metadata/configuration/effect/version.effect.ts @@ -0,0 +1,32 @@ +import { Injectable } from '@angular/core'; +import { Actions, Effect, ofType } from '@ngrx/effects'; +import { map, catchError, switchMap } from 'rxjs/operators'; + +import { + VersionActionTypes, + SelectVersionRequest, + SelectVersionError, + SelectVersionSuccess +} from '../action/version.action'; +import { MetadataHistoryService } from '../service/history.service'; +import { of } from 'rxjs'; + + +@Injectable() +export class VersionEffects { + + @Effect() + selectVersionFromId$ = this.actions$.pipe( + ofType(VersionActionTypes.SELECT_VERSION_REQUEST), + map(action => action.payload), + switchMap(({ type, id, version }) => this.historyService.getVersion(id, type, version).pipe( + map(v => new SelectVersionSuccess(v)), + catchError(err => of(new SelectVersionError(err))) + )) + ); + + constructor( + private historyService: MetadataHistoryService, + private actions$: Actions + ) { } +} diff --git a/ui/src/app/metadata/configuration/model/request.ts b/ui/src/app/metadata/configuration/model/request.ts new file mode 100644 index 000000000..0e4e16bec --- /dev/null +++ b/ui/src/app/metadata/configuration/model/request.ts @@ -0,0 +1,5 @@ +export interface VersionRequest { + type: string; + id: string; + version: string; +} diff --git a/ui/src/app/metadata/configuration/model/section.ts b/ui/src/app/metadata/configuration/model/section.ts index fd7f9b00f..50c6a5492 100644 --- a/ui/src/app/metadata/configuration/model/section.ts +++ b/ui/src/app/metadata/configuration/model/section.ts @@ -4,14 +4,18 @@ export interface Section { label: string; pageNumber: number; properties: SectionProperty[]; + differences?: boolean; } export interface SectionProperty { label: string; type: string; value: any[]; + differences?: boolean; + properties?: SectionProperty[]; widget?: { id: string; + data?: any[]; [propertyName: string]: any; }; } diff --git a/ui/src/app/metadata/configuration/reducer/compare.reducer.ts b/ui/src/app/metadata/configuration/reducer/compare.reducer.ts index ea674238f..84eec1558 100644 --- a/ui/src/app/metadata/configuration/reducer/compare.reducer.ts +++ b/ui/src/app/metadata/configuration/reducer/compare.reducer.ts @@ -3,16 +3,36 @@ import { Metadata } from '../../domain/domain.type'; export interface State { models: Metadata[]; - loaded: Boolean; + loaded: boolean; + loading: boolean; + compareChangedOnly: boolean; } export const initialState: State = { models: [], - loaded: false + loaded: false, + loading: false, + compareChangedOnly: false }; export function reducer(state = initialState, action: CompareActionsUnion): State { switch (action.type) { + case CompareActionTypes.SET_VIEW_CHANGED: + return { + ...state, + compareChangedOnly: action.payload + }; + case CompareActionTypes.COMPARE_METADATA_REQUEST: + return { + ...state, + loading: true + }; + case CompareActionTypes.COMPARE_METADATA_ERROR: + case CompareActionTypes.COMPARE_METADATA_SUCCESS: + return { + ...state, + loading: false + }; case CompareActionTypes.SET_VERSIONS: return { ...state, @@ -31,3 +51,5 @@ export function reducer(state = initialState, action: CompareActionsUnion): Stat export const getVersionModels = (state: State) => state.models; export const getVersionModelsLoaded = (state: State) => state.loaded; +export const getComparisonLoading = (state: State) => state.loading; +export const getViewChangedOnly = (state: State) => state.compareChangedOnly; diff --git a/ui/src/app/metadata/configuration/reducer/configuration.reducer.spec.ts b/ui/src/app/metadata/configuration/reducer/configuration.reducer.spec.ts index a0dd05d58..714da74b4 100644 --- a/ui/src/app/metadata/configuration/reducer/configuration.reducer.spec.ts +++ b/ui/src/app/metadata/configuration/reducer/configuration.reducer.spec.ts @@ -27,7 +27,7 @@ describe('Configuration Reducer', () => { describe('SET_DEFINITION action', () => { it('should set the state definition', () => { - const action = new actions.SetDefinition(definition); + const action = new actions.SetConfigurationDefinition(definition); const result = reducer(initialState, action); expect(result).toEqual({ ...initialState, definition }); @@ -36,7 +36,7 @@ describe('Configuration Reducer', () => { describe('SET_SCHEMA action', () => { it('should set the state schema', () => { - const action = new actions.SetSchema(schema); + const action = new actions.SetConfigurationSchema(schema); const result = reducer(initialState, action); expect(result).toEqual({ ...initialState, schema }); diff --git a/ui/src/app/metadata/configuration/reducer/configuration.reducer.ts b/ui/src/app/metadata/configuration/reducer/configuration.reducer.ts index f6976f7e2..d1dc13129 100644 --- a/ui/src/app/metadata/configuration/reducer/configuration.reducer.ts +++ b/ui/src/app/metadata/configuration/reducer/configuration.reducer.ts @@ -9,6 +9,7 @@ export interface State { schema: Schema; definition: Wizard; xml: string; + loading: boolean; } export const initialState: State = { @@ -16,7 +17,8 @@ export const initialState: State = { modelId: null, schema: null, definition: null, - xml: '' + xml: '', + loading: false }; export function reducer(state = initialState, action: ConfigurationActionsUnion): State { diff --git a/ui/src/app/metadata/configuration/reducer/history.reducer.ts b/ui/src/app/metadata/configuration/reducer/history.reducer.ts index 8a2566f59..6fcc154f7 100644 --- a/ui/src/app/metadata/configuration/reducer/history.reducer.ts +++ b/ui/src/app/metadata/configuration/reducer/history.reducer.ts @@ -4,6 +4,7 @@ import { MetadataVersion } from '../model/version'; export interface HistoryState extends EntityState { selectedVersionId: string; + loading: boolean; } export function sortByDate(a: MetadataVersion, b: MetadataVersion): number { @@ -16,11 +17,23 @@ export const adapter: EntityAdapter = createEntityAdapter state.loading; diff --git a/ui/src/app/metadata/configuration/reducer/index.spec.ts b/ui/src/app/metadata/configuration/reducer/index.spec.ts index eba8409be..8a1aa3cb7 100644 --- a/ui/src/app/metadata/configuration/reducer/index.spec.ts +++ b/ui/src/app/metadata/configuration/reducer/index.spec.ts @@ -1,19 +1,89 @@ import { getConfigurationSectionsFn, getConfigurationModelNameFn, - getConfigurationModelEnabledFn + getConfigurationModelEnabledFn, + assignValueToProperties, + getLimitedPropertiesFn, + getConfigurationModelTypeFn, + getSelectedVersionNumberFn, + getSelectedIsCurrentFn } from './index'; import { SCHEMA as schema } from '../../../../testing/form-schema.stub'; -import { MetadataSourceEditor } from '../../domain/model/wizards/metadata-source-editor'; import { Metadata } from '../../domain/domain.type'; +import { MockMetadataWizard } from '../../../../testing/mockMetadataWizard'; describe('Configuration Reducer', () => { const model = { name: 'foo', - '@type': 'MetadataResolver' + serviceEnabled: true, + foo: { + bar: 'bar', + baz: 'baz' + }, + list: [ + 'super', + 'cool' + ] }; - const definition = new MetadataSourceEditor(); + const props = [ + { + id: 'name', + items: null, + name: 'label.metadata-provider-name-dashboard-display-only', + properties: [], + type: 'string', + value: null, + widget: { id: 'string', help: 'message.must-be-unique' } + }, + { + id: 'serviceEnabled', + items: null, + name: 'serviceEnabled', + properties: [], + type: 'string', + value: null, + widget: { id: 'select', disabled: true } + }, + { + id: 'foo', + items: null, + name: 'foo', + type: 'object', + properties: [ + { + id: 'bar', + name: 'bar', + type: 'string', + properties: [] + }, + { + id: 'baz', + name: 'baz', + type: 'string', + properties: [] + } + ] + }, + { + id: 'list', + name: 'list', + type: 'array', + items: { + type: 'string' + }, + widget: { + id: 'datalist', + data: [ + { key: 'super', label: 'super' }, + { key: 'cool', label: 'cool' }, + { key: 'notcool', label: 'notcool' } + ] + } + } + ]; + + const definition = MockMetadataWizard; describe('getConfigurationSectionsFn', () => { it('should parse the schema, definition, and model into a MetadataConfiguration', () => { @@ -37,4 +107,62 @@ describe('Configuration Reducer', () => { expect(getConfigurationModelEnabledFn(null)).toBe(false); }); }); + + describe('assignValueToProperties function', () => { + it('should assign appropriate values to the given schema properties', () => { + const assigned = assignValueToProperties([model], props, definition); + expect(assigned[0].value).toEqual(['foo']); + expect(assigned[1].value).toEqual([true]); + }); + + it('should assign differences when passed multiple models', () => { + const assigned = assignValueToProperties([model, { + ...model, + name: 'bar', + list: [ + 'super', + 'notcool' + ] + }], props, definition); + expect(assigned[0].differences).toBe(true); + }); + }); + + describe('getLimitedPropertiesFn function', () => { + it('should filter properties without differences', () => { + const assigned = assignValueToProperties([model, { + ...model, + name: 'bar' + }], props, definition); + expect(getLimitedPropertiesFn(assigned).length).toBe(1); + }); + }); + + describe('getConfigurationModelTypeFn function ', () => { + it('should return provider type if the object has an @type property', () => { + const md = { '@type': 'FilebackedHttpMetadataResolver' } as Metadata; + expect(getConfigurationModelTypeFn(md)).toBe('FilebackedHttpMetadataResolver'); + }); + it('should return resolver if no type is detected', () => { + const md = { serviceEnabled: true } as Metadata; + expect(getConfigurationModelTypeFn(md)).toBe('resolver'); + }); + }); + + describe('getSelectedVersionNumberFn function ', () => { + it('should return the selected version by id', () => { + const versions = [ { id: 'foo' }, { id: 'bar' } ]; + const id = 'foo'; + expect(getSelectedVersionNumberFn(versions, id)).toBe(1); + }); + }); + + describe('getSelectedIsCurrentFn function ', () => { + it('should return a boolean of whether the selected version is the most current version', () => { + const versions = [{ id: 'foo' }, { id: 'bar' }]; + const id = 'foo'; + expect(getSelectedIsCurrentFn(versions[0], versions)).toBe(true); + expect(getSelectedIsCurrentFn(versions[1], versions)).toBe(false); + }); + }); }); diff --git a/ui/src/app/metadata/configuration/reducer/index.ts b/ui/src/app/metadata/configuration/reducer/index.ts index dfd81dfb6..38087a034 100644 --- a/ui/src/app/metadata/configuration/reducer/index.ts +++ b/ui/src/app/metadata/configuration/reducer/index.ts @@ -4,29 +4,34 @@ import * as fromRoot from '../../../app.reducer'; import * as fromConfiguration from './configuration.reducer'; import * as fromHistory from './history.reducer'; import * as fromCompare from './compare.reducer'; +import * as fromVersion from './version.reducer'; +import * as fromRestore from './restore.reducer'; import { WizardStep } from '../../../wizard/model'; import * as utils from '../../domain/utility/configuration'; -import { getSplitSchema } from '../../../wizard/reducer'; +import { getSplitSchema, getModel } from '../../../wizard/reducer'; import { getInCollectionFn } from '../../domain/domain.util'; import { MetadataConfiguration } from '../model/metadata-configuration'; import { Metadata } from '../../domain/domain.type'; import * as fromResolver from '../../resolver/reducer'; import * as fromProvider from '../../provider/reducer'; -import { provider } from '../../../../testing/provider.stub'; -import { resolver } from '../../../../testing/resolver.stub'; +import { SectionProperty } from '../model/section'; export interface ConfigurationState { configuration: fromConfiguration.State; history: fromHistory.HistoryState; compare: fromCompare.State; + version: fromVersion.State; + restore: fromRestore.RestoreState; } export const reducers = { configuration: fromConfiguration.reducer, history: fromHistory.reducer, - compare: fromCompare.reducer + compare: fromCompare.reducer, + version: fromVersion.reducer, + restore: fromRestore.reducer }; export interface State extends fromRoot.State { @@ -38,28 +43,44 @@ export const getState = createFeatureSelector('metadata-conf export const getConfigurationStateFn = (state: ConfigurationState) => state.configuration; export const getHistoryStateFn = (state: ConfigurationState) => state.history; export const getCompareStateFn = (state: ConfigurationState) => state.compare; -export const getConfigurationModelFn = (kind, provider, resolver) => (kind === 'provider') ? provider : resolver; +export const getVersionStateFn = (state: ConfigurationState) => state.version; +export const getRestoreStateFn = (state: ConfigurationState) => state.restore; export const getConfigurationState = createSelector(getState, getConfigurationStateFn); export const getConfigurationModelKind = createSelector(getConfigurationState, fromConfiguration.getModelKind); export const getConfigurationModelId = createSelector(getConfigurationState, fromConfiguration.getModelId); -export const getConfigurationModel = createSelector( - getConfigurationModelKind, - fromProvider.getSelectedProvider, - fromResolver.getSelectedResolver, - getConfigurationModelFn -); -export const getConfigurationModelList = createSelector(getConfigurationModel, (model) => [model]); + export const getConfigurationDefinition = createSelector(getConfigurationState, fromConfiguration.getDefinition); export const getConfigurationSchema = createSelector(getConfigurationState, fromConfiguration.getSchema); export const getConfigurationXml = createSelector(getConfigurationState, fromConfiguration.getXml); export const assignValueToProperties = (models, properties, definition: any): any[] => { return properties.map(prop => { + const differences = models.some((model, index, array) => { + if (!array) { + return false; + } + return JSON.stringify(model[prop.id]) !== JSON.stringify(array[0][prop.id]); + }); + + const widget = prop.type === 'array' && prop.widget && prop.widget.data ? ({ + ...prop.widget, + data: prop.widget.data.map(item => ({ + ...item, + differences: models + .map((model) => { + const value = model[prop.id]; + return value ? value.indexOf(item.key) > -1 : false; + }) + .reduce((current, val) => current !== val ? true : false, false) + })) + }) : null; + switch (prop.type) { case 'object': return { ...prop, + differences, properties: assignValueToProperties( models.map(model => definition.formatter(model)[prop.id] || {}), prop.properties, @@ -69,18 +90,20 @@ export const assignValueToProperties = (models, properties, definition: any): an default: return { ...prop, + differences, value: models.map(model => { return model[prop.id]; - }) + }), + widget }; } }); }; export const getConfigurationSectionsFn = (models, definition, schema): MetadataConfiguration => { - return !definition || !schema ? null : + return !definition || !schema || !models ? null : ({ - dates: models.map(m => m.modifiedDate), + dates: models.map(m => m ? m.modifiedDate : null), sections: definition.steps .filter(step => step.id !== 'summary') .map( @@ -104,15 +127,14 @@ export const getConfigurationSectionsFn = (models, definition, schema): Metadata properties: assignValueToProperties(models, section.properties, definition) }; }) + .map((section: any) => ({ + ...section, + differences: section.properties.some(prop => prop.differences) + })) }); }; -export const getConfigurationSections = createSelector( - getConfigurationModelList, - getConfigurationDefinition, - getConfigurationSchema, - getConfigurationSectionsFn -); + export const getConfigurationModelEnabledFn = (config: Metadata) => config ? ('serviceEnabled' in config) ? config.serviceEnabled : config.enabled : false; @@ -123,45 +145,182 @@ export const getConfigurationModelNameFn = export const getConfigurationModelTypeFn = (config: Metadata) => config ? ('@type' in config) ? config['@type'] : 'resolver' : null; -export const getConfigurationModelEnabled = createSelector(getConfigurationModel, getConfigurationModelEnabledFn); -export const getConfigurationModelName = createSelector(getConfigurationModel, getConfigurationModelNameFn); -export const getConfigurationModelType = createSelector(getConfigurationModel, getConfigurationModelTypeFn); - -export const getConfigurationHasXml = createSelector(getConfigurationXml, xml => !!xml); -export const getConfigurationFilters = createSelector(getConfigurationModel, model => model.metadataFilters); // Version History export const getHistoryState = createSelector(getState, getHistoryStateFn); +export const getHistoryLoading = createSelector(getHistoryState, fromHistory.getHistoryLoading); export const getVersionEntities = createSelector(getHistoryState, fromHistory.selectVersionEntities); export const getSelectedVersionId = createSelector(getHistoryState, fromHistory.getSelectedVersionId); export const getVersionIds = createSelector(getHistoryState, fromHistory.selectVersionIds); export const getVersionCollection = createSelector(getHistoryState, getVersionIds, fromHistory.selectAllVersions); export const getSelectedVersion = createSelector(getVersionEntities, getSelectedVersionId, getInCollectionFn); +export const getSelectedVersionNumberFn = (versions, selectedId) => versions.indexOf(versions.find(v => v.id === selectedId)) + 1; export const getSelectedVersionNumber = createSelector( getVersionCollection, getSelectedVersionId, - (versions, selectedId) => versions.indexOf(versions.find(v => v.id === selectedId)) + 1 + getSelectedVersionNumberFn ); +export const getSelectedIsCurrentFn = (selected, collection) => { + return selected ? collection[0].id === selected.id : false; +}; + export const getSelectedIsCurrent = createSelector( getSelectedVersion, getVersionCollection, - (selected, collection) => { - return selected ? collection[0].id === selected.id : null; - } + getSelectedIsCurrentFn ); // Version Comparison export const getCompareState = createSelector(getState, getCompareStateFn); -export const getVersionModels = createSelector(getCompareState, fromCompare.getVersionModels); -export const getVersionModelsLoaded = createSelector(getCompareState, fromCompare.getVersionModelsLoaded); -export const getVersionConfigurations = createSelector( +export const getComparisonLoading = createSelector(getCompareState, fromCompare.getComparisonLoading); +export const getComparisonModels = createSelector(getCompareState, fromCompare.getVersionModels); +export const getComparisonModelsLoaded = createSelector(getCompareState, fromCompare.getVersionModelsLoaded); +export const getComparisonConfigurations = createSelector( + getComparisonModels, + getConfigurationDefinition, + getConfigurationSchema, + getConfigurationSectionsFn +); + +export const getComparisonConfigurationCount = createSelector(getComparisonConfigurations, (config) => config ? config.dates.length : 0); + +export const getViewChangedOnly = createSelector(getCompareState, fromCompare.getViewChangedOnly); + +export const getLimitedPropertiesFn = (properties: SectionProperty[]) => { + return ([ + ...properties + .filter(p => p.differences) + .map(p => { + const parsed = { ...p }; + if (p.widget && p.widget.data) { + parsed.widget = { + ...p.widget, + data: p.widget.data.filter(item => item.differences) + }; + } + if (p.properties) { + parsed.properties = getLimitedPropertiesFn(p.properties); + } + return parsed; + }) + ]); +}; + +export const getLimitedConfigurationsFn = (configurations, limited) => configurations ? ({ + ...configurations, + sections: limited ? configurations.sections : + configurations.sections.map(s => ({ + ...s, + properties: getLimitedPropertiesFn(s.properties), + })) +}) : configurations; + +export const getLimitedComparisonConfigurations = createSelector( + getComparisonConfigurations, + getViewChangedOnly, + getLimitedConfigurationsFn +); + +// Version Restoration + +export const getRestoreState = createSelector(getState, getRestoreStateFn); + +export const filterPluginTypes = ['RequiredValidUntil', 'SignatureValidation', 'EntityRoleWhiteList']; +export const isAdditionalFilter = (type) => filterPluginTypes.indexOf(type) === -1; + +export const getVersionModelFiltersFn = + (model, kind) => kind === 'provider' ? + model.metadataFilters.filter(filter => isAdditionalFilter(filter['@type'])) : + null; + +export const getVersionState = createSelector(getState, getVersionStateFn); + +export const getVersionLoading = createSelector(getVersionState, fromVersion.isVersionLoading); + +export const getVersionModel = createSelector(getVersionState, fromVersion.getVersionModel); +export const getVersionModels = createSelector(getVersionModel, (model) => model ? [model] : null); +export const getVersionConfigurationSections = createSelector( getVersionModels, getConfigurationDefinition, getConfigurationSchema, getConfigurationSectionsFn ); -export const getVersionConfigurationCount = createSelector(getVersionConfigurations, (config) => config ? config.dates.length : 0); +export const getVersionModelFilters = createSelector( + getVersionModel, + getConfigurationModelKind, + getVersionModelFiltersFn +); + +export const getRestorationIsValid = createSelector(getRestoreState, fromRestore.isRestorationValid); +export const getRestorationIsSaved = createSelector(getRestoreState, fromRestore.isRestorationSaved); +export const getRestorationChanges = createSelector(getRestoreState, fromRestore.getChanges); +export const getRestorationIsSaving = createSelector(getRestoreState, fromRestore.isRestorationSaving); +export const getRestorationFormStatus = createSelector(getRestoreState, fromRestore.getFormStatus); +export const getInvalidRestorationForms = createSelector(getRestoreState, fromRestore.getInvalidRestorationForms); + +export const getFormattedModel = createSelector( + getVersionModel, + getConfigurationDefinition, + (model, definition) => definition ? definition.formatter(model) : null +); + +export const getFormattedChanges = createSelector( + getRestorationChanges, + getConfigurationDefinition, + (model, definition) => definition ? definition.formatter(model) : null +); + +export const getFormattedModelWithChanges = createSelector( + getVersionModel, + getRestorationChanges, + getConfigurationDefinition, + (model, changes, definition) => definition ? definition.formatter({ + ...model, + ...changes + }) : null +); + +export const getRestorationModel = createSelector( + getVersionModel, + getRestorationChanges, + getModel, + (model, changes, empty) => ({ + ...model, + ...empty, + ...changes + }) +); + +// Mixed states + +export const getConfigurationModelFn = (kind, version, provider, resolver) => { + return (kind === 'provider') ? provider : resolver; +}; + +export const getConfigurationModel = createSelector( + getConfigurationModelKind, + getSelectedVersionId, + fromProvider.getSelectedProvider, + fromResolver.getSelectedResolver, + getConfigurationModelFn +); +export const getConfigurationModelList = createSelector(getConfigurationModel, (model) => [model]); + +export const getConfigurationSections = createSelector( + getConfigurationModelList, + getConfigurationDefinition, + getConfigurationSchema, + getConfigurationSectionsFn +); + +export const getConfigurationModelEnabled = createSelector(getConfigurationModel, getConfigurationModelEnabledFn); +export const getConfigurationModelName = createSelector(getConfigurationModel, getConfigurationModelNameFn); +export const getConfigurationModelType = createSelector(getConfigurationModel, getConfigurationModelTypeFn); + +export const getConfigurationHasXml = createSelector(getConfigurationXml, xml => !!xml); +export const getConfigurationFilters = createSelector(getConfigurationModel, model => model.metadataFilters); +export const getConfigurationVersionDate = createSelector(getVersionModel, version => version && version.modifiedDate); diff --git a/ui/src/app/metadata/configuration/reducer/restore.reducer.spec.ts b/ui/src/app/metadata/configuration/reducer/restore.reducer.spec.ts new file mode 100644 index 000000000..97795549b --- /dev/null +++ b/ui/src/app/metadata/configuration/reducer/restore.reducer.spec.ts @@ -0,0 +1,98 @@ +import { reducer } from './restore.reducer'; +import * as fromRestore from './restore.reducer'; +import { + RestoreActionTypes, + RestoreActionsUnion, + UpdateRestorationChangesSuccess, + SetSavingStatus, + UpdateRestoreFormStatus +} from '../action/restore.action'; +import { Metadata } from '../../domain/domain.type'; + +describe('Restore Reducer', () => { + + const baseState = fromRestore.initialState; + + describe('undefined action', () => { + it('should return the default state', () => { + const result = reducer(undefined, {} as any); + + expect(result).toEqual(fromRestore.initialState); + }); + }); + + describe(`${RestoreActionTypes.UPDATE_RESTORATION_SUCCESS} action`, () => { + it('should set the state metadata model', () => { + const serviceEnabled = true; + const action = new UpdateRestorationChangesSuccess({ serviceEnabled }); + const result = reducer(fromRestore.initialState, action); + + expect(result.changes).toEqual({serviceEnabled} as Metadata); + }); + }); + + describe(`${RestoreActionTypes.SET_SAVING_STATUS} action`, () => { + it('should set the state saving status', () => { + const action = new SetSavingStatus(true); + const result = reducer(fromRestore.initialState, action); + + expect(result.saving).toBe(true); + }); + }); + + describe(`${RestoreActionTypes.UPDATE_STATUS} action`, () => { + it('should set the state saving status', () => { + const action = new UpdateRestoreFormStatus({foo: 'INVALID'}); + const result = reducer(fromRestore.initialState, action); + + expect(result.status.foo).toBe('INVALID'); + }); + }); + + describe('selector function', () => { + describe('getChanges', () => { + it('should return the selected version id', () => { + expect(fromRestore.getChanges({ ...baseState, changes: { serviceEnabled: false } })).toEqual({ serviceEnabled: false }); + }); + }); + + describe('isRestorationSaved', () => { + it('should return false if there are outstanding changes', () => { + expect(fromRestore.isRestorationSaved({ ...baseState, changes: { name: 'too' } })).toBe(false); + }); + + it('should return true if there are no outstanding changes', () => { + expect(fromRestore.isRestorationSaved({ ...baseState, changes: {} })).toBe(true); + }); + }); + + describe('getFormStatus', () => { + it('should return the current form status', () => { + expect(fromRestore.getFormStatus({ ...baseState, status: { common: 'INVALID' } })).toEqual({ common: 'INVALID' }); + }); + }); + + describe('isRestorationSaving', () => { + it('should return the saving status', () => { + expect(fromRestore.isRestorationSaving({ ...baseState })).toBe(false); + expect(fromRestore.isRestorationSaving({ ...baseState, saving: true })).toBe(true); + }); + }); + + describe('isRestorationValid', () => { + it('should return false if any forms have an invalid status', () => { + expect(fromRestore.isRestorationValid({ ...baseState, status: { common: 'INVALID' } })).toBe(false); + }); + + it('should return true if all forms have a valid status', () => { + expect(fromRestore.isRestorationValid({ ...baseState, status: { common: 'VALID' } })).toBe(true); + }); + }); + + describe('getInvalidRestorationForms', () => { + it('should return the form names that are invalid', () => { + expect(fromRestore.getInvalidRestorationForms({ ...baseState, status: { common: 'INVALID' } })).toEqual(['common']); + }); + }); + }); +}); diff --git a/ui/src/app/metadata/configuration/reducer/restore.reducer.ts b/ui/src/app/metadata/configuration/reducer/restore.reducer.ts new file mode 100644 index 000000000..e0c58c2b7 --- /dev/null +++ b/ui/src/app/metadata/configuration/reducer/restore.reducer.ts @@ -0,0 +1,54 @@ +import { Metadata } from '../../domain/domain.type'; +import { RestoreActionTypes, RestoreActionsUnion } from '../action/restore.action'; + +export interface RestoreState { + saving: boolean; + status: { [key: string]: string }; + changes: Partial; +} + +export const initialState: RestoreState = { + saving: false, + status: {}, + changes: {} as Metadata +}; + +export function reducer(state = initialState, action: RestoreActionsUnion): RestoreState { + switch (action.type) { + case RestoreActionTypes.UPDATE_RESTORATION_SUCCESS: + return { + ...state, + changes: { + ...state.changes, + ...action.payload + } + }; + case RestoreActionTypes.SET_SAVING_STATUS: + return { + ...state, + saving: action.payload + }; + case RestoreActionTypes.UPDATE_STATUS: { + return { + ...state, + status: { + ...state.status, + ...action.payload + } + }; + } + default: { + return state; + } + } +} + +export const isRestorationSaved = (state: RestoreState) => !Object.keys(state.changes).length; +export const getChanges = (state: RestoreState) => state.changes; +export const isRestorationSaving = (state: RestoreState) => state.saving; +export const getFormStatus = (state: RestoreState) => state.status; + +export const isRestorationValid = (state: RestoreState) => + !Object.keys(state.status).some(key => state.status[key] === ('INVALID')); +export const getInvalidRestorationForms = (state: RestoreState) => + Object.keys(state.status).filter(key => state.status[key] === 'INVALID'); diff --git a/ui/src/app/metadata/configuration/reducer/version.reducer.spec.ts b/ui/src/app/metadata/configuration/reducer/version.reducer.spec.ts new file mode 100644 index 000000000..a564df384 --- /dev/null +++ b/ui/src/app/metadata/configuration/reducer/version.reducer.spec.ts @@ -0,0 +1,108 @@ +import { + reducer, + getVersionModel, + getVersionModelLoaded, + getSelectedMetadataId, + getSelectedVersionId, + getSelectedVersionType +} from './version.reducer'; +import * as fromVersion from './version.reducer'; +import { + VersionActionTypes, + SelectVersionRequest, + ClearVersion, + SelectVersionSuccess +} from '../action/version.action'; +import { Metadata } from '../../domain/domain.type'; +import { VersionRequest } from '../model/request'; + +describe('Restore Reducer', () => { + + let baseState; + + const req: VersionRequest = { + type: 'provider', + version: 'foo', + id: 'bar' + }; + + const model: Metadata = { + id: 'bar', + name: 'foo', + '@type': 'MetadataProvider', + type: 'provider', + resourceId: 'foo', + createdBy: 'bar' + }; + + beforeEach(() => { + baseState = { ...fromVersion.initialState }; + }); + + describe('undefined action', () => { + it('should return the default state', () => { + const result = reducer(undefined, {} as any); + + expect(result).toEqual(baseState); + }); + }); + + describe(`${VersionActionTypes.SELECT_VERSION_REQUEST} action`, () => { + it('should set the needed metadata properties', () => { + const action = new SelectVersionRequest(req); + const result = reducer(baseState, action); + + expect(result.selectedMetadataId).toEqual(req.id); + }); + }); + + describe(`${VersionActionTypes.SELECT_VERSION_SUCCESS} action`, () => { + it('should set the needed metadata properties', () => { + const action = new SelectVersionSuccess(model as Metadata); + const result = reducer(baseState, action); + + expect(result).toEqual({ ...baseState, model, loaded: true }); + }); + }); + + describe(`${VersionActionTypes.CLEAR_VERSION} action`, () => { + it('should set the needed metadata properties', () => { + const action = new ClearVersion(); + const result = reducer(baseState, action); + + expect(result).toEqual(baseState); + }); + }); + + describe('selector function', () => { + describe('getSelectedMetadataId', () => { + it('should return the selected version id', () => { + expect(getVersionModel({ ...baseState, model })).toEqual(model); + }); + }); + + describe('getSelectedMetadataVersion', () => { + it('should return the selected version id', () => { + expect(getVersionModelLoaded({ ...baseState, loaded: true })).toBe(true); + }); + }); + + describe('getSelectedMetadataId', () => { + it('should return the selected resource id', () => { + expect(getSelectedMetadataId({ ...baseState, selectedMetadataId: req.id})).toEqual(req.id); + }); + }); + + describe('getSelectedMetadataType', () => { + it('should return the selected version type', () => { + expect(getSelectedVersionType({ ...baseState, selectedVersionType: req.type })).toEqual(req.type); + }); + }); + + describe('getSelectedMetadataType', () => { + it('should return the selected version id', () => { + expect(getSelectedVersionId({ ...baseState, selectedVersionId: req.version })).toEqual(req.version); + }); + }); + }); +}); diff --git a/ui/src/app/metadata/configuration/reducer/version.reducer.ts b/ui/src/app/metadata/configuration/reducer/version.reducer.ts new file mode 100644 index 000000000..caaf1f085 --- /dev/null +++ b/ui/src/app/metadata/configuration/reducer/version.reducer.ts @@ -0,0 +1,62 @@ +import { VersionActionTypes, VersionActionsUnion } from '../action/version.action'; +import { Metadata } from '../../domain/domain.type'; + +export interface State { + model: Metadata; + selectedVersionId: string; + selectedVersionType: string; + selectedMetadataId: string; + loaded: boolean; + loading: boolean; +} + +export const initialState: State = { + model: null, + selectedVersionId: null, + selectedMetadataId: null, + selectedVersionType: null, + loaded: false, + loading: false +}; + +export function reducer(state = initialState, action: VersionActionsUnion): State { + switch (action.type) { + case VersionActionTypes.SELECT_VERSION_REQUEST: + return { + ...state, + selectedMetadataId: action.payload.id, + selectedVersionId: action.payload.version, + selectedVersionType: action.payload.type, + loading: true + }; + case VersionActionTypes.SELECT_VERSION_SUCCESS: + return { + ...state, + model: action.payload, + loaded: true, + loading: false + }; + case VersionActionTypes.SELECT_VERSION_ERROR: + return { + ...state, + model: null, + loaded: false, + loading: false + }; + case VersionActionTypes.CLEAR_VERSION: + return { + ...initialState + }; + default: { + return state; + } + } +} + +export const getVersionModel = (state: State) => state.model; +export const getVersionModelLoaded = (state: State) => state.loaded; +export const isVersionLoading = (state: State) => state.loading; + +export const getSelectedMetadataId = (state: State) => state.selectedMetadataId; +export const getSelectedVersionId = (state: State) => state.selectedVersionId; +export const getSelectedVersionType = (state: State) => state.selectedVersionType; diff --git a/ui/src/app/metadata/configuration/service/configuration.service.spec.ts b/ui/src/app/metadata/configuration/service/configuration.service.spec.ts index 40bfb39ac..43fd99c05 100644 --- a/ui/src/app/metadata/configuration/service/configuration.service.spec.ts +++ b/ui/src/app/metadata/configuration/service/configuration.service.spec.ts @@ -7,10 +7,14 @@ import { MetadataSourceEditor } from '../../domain/model/wizards/metadata-source import { ResolverService } from '../../domain/service/resolver.service'; import { of } from 'rxjs'; import { MetadataProviderService } from '../../domain/service/provider.service'; +import { Metadata } from '../../domain/domain.type'; +import { SCHEMA } from '../../../../testing/form-schema.stub'; +import { getConfigurationSectionsFn } from '../reducer'; describe(`Configuration Service`, () => { let resolverService: any; + let providerService: any; let mockService = { find: () => of([]) @@ -36,11 +40,12 @@ describe(`Configuration Service`, () => { }); resolverService = TestBed.get(ResolverService); + providerService = TestBed.get(MetadataProviderService); }); describe('find method', () => { - it(`should send an expected GET request`, async(inject([MetadataConfigurationService, HttpTestingController], + it(`should call the resolver service when type is resolver`, async(inject([MetadataConfigurationService, HttpTestingController], (service: MetadataConfigurationService, backend: HttpTestingController) => { spyOn(resolverService, 'find').and.callThrough(); const type = 'resolver'; @@ -49,6 +54,25 @@ describe(`Configuration Service`, () => { expect(resolverService.find).toHaveBeenCalledWith(id); } ))); + it(`should call the provider service when type is resolver`, async(inject([MetadataConfigurationService, HttpTestingController], + (service: MetadataConfigurationService, backend: HttpTestingController) => { + spyOn(providerService, 'find').and.callThrough(); + const type = 'provider'; + const id = 'foo'; + service.find(id, type).subscribe(); + expect(providerService.find).toHaveBeenCalledWith(id); + } + ))); + it(`should throw an error when a type is not found`, async(inject([MetadataConfigurationService, HttpTestingController], + (service: MetadataConfigurationService, backend: HttpTestingController) => { + spyOn(providerService, 'find').and.callThrough(); + const type = 'bar'; + const id = 'foo'; + service.find(id, type).subscribe(null, (err) => { + expect(err).toEqual(new Error('Type not supported')); + }); + } + ))); }); describe('loadSchema method', () => { @@ -79,4 +103,15 @@ describe(`Configuration Service`, () => { } ))); }); + + describe('getMetadataConfiguration method', () => { + it('should return the parsed configuration', async(inject([MetadataConfigurationService], + (service: MetadataConfigurationService) => { + const model = {} as Metadata; + const definition = {steps: []}; + const expected = getConfigurationSectionsFn([model], definition, SCHEMA); + expect(service.getMetadataConfiguration(model, definition, SCHEMA)).toEqual(expected); + } + ))); + }); }); diff --git a/ui/src/app/metadata/configuration/service/history.service.spec.ts b/ui/src/app/metadata/configuration/service/history.service.spec.ts index 0e8bc77a4..e4fa72dac 100644 --- a/ui/src/app/metadata/configuration/service/history.service.spec.ts +++ b/ui/src/app/metadata/configuration/service/history.service.spec.ts @@ -1,7 +1,10 @@ import { TestBed, async, inject } from '@angular/core/testing'; -import { HttpClientModule } from '@angular/common/http'; +import { HttpClientModule, HttpRequest } from '@angular/common/http'; import { HttpTestingController, HttpClientTestingModule } from '@angular/common/http/testing'; import { MetadataHistoryService } from './history.service'; +import { of } from 'rxjs'; +import { PATHS } from '../configuration.values'; +import { Metadata } from '../../domain/domain.type'; describe(`Attributes Service`, () => { beforeEach(() => { @@ -25,4 +28,56 @@ describe(`Attributes Service`, () => { } ))); }); + + describe('getVersions method', () => { + it(`should join a list of observables`, async(inject([MetadataHistoryService, HttpTestingController], + (service: MetadataHistoryService) => { + spyOn(service, 'getVersion').and.returnValue(of()); + service.getVersions('foo', ['abc', 'def'], 'resolver').subscribe(history => { + expect(service.getVersion).toHaveBeenCalledTimes(2); + }); + } + ))); + }); + + describe('getVersion method', () => { + it(`should get the primary version of the resource`, async(inject([MetadataHistoryService, HttpTestingController], + (service: MetadataHistoryService, backend: HttpTestingController) => { + const resourceId = 'foo'; + const type = 'resource'; + service.getVersion(resourceId, type).subscribe(); + backend.expectOne((req: HttpRequest) => { + return req.url === `/${service.base}/${PATHS[type]}/${resourceId}` + && req.method === 'GET'; + }, `GET schema by path`); + } + ))); + it(`should get the provided version of the resource`, async(inject([MetadataHistoryService, HttpTestingController], + (service: MetadataHistoryService, backend: HttpTestingController) => { + const resourceId = 'foo'; + const type = 'resource'; + const versionId = '1'; + service.getVersion(resourceId, type, versionId).subscribe(); + backend.expectOne((req: HttpRequest) => { + return req.url === `/${service.base}/${PATHS[type]}/${resourceId}/${service.path}/${versionId}` + && req.method === 'GET'; + }, `GET schema by path`); + } + ))); + }); + + describe('updateVersion method', () => { + it(`should send a put request`, async(inject([MetadataHistoryService, HttpTestingController], + (service: MetadataHistoryService, backend: HttpTestingController) => { + const resourceId = 'foo'; + const type = 'resource'; + const versionId = '1'; + service.updateVersion(resourceId, type, {} as Metadata).subscribe(); + backend.expectOne((req: HttpRequest) => { + return req.url === `/${service.base}/${PATHS[type]}/${resourceId}` + && req.method === 'PUT'; + }, `PUT schema by path`); + } + ))); + }); }); diff --git a/ui/src/app/metadata/configuration/service/history.service.ts b/ui/src/app/metadata/configuration/service/history.service.ts index 8dbcf9029..9d3edc212 100644 --- a/ui/src/app/metadata/configuration/service/history.service.ts +++ b/ui/src/app/metadata/configuration/service/history.service.ts @@ -1,6 +1,6 @@ import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { Observable, of, forkJoin } from 'rxjs'; +import { Observable, forkJoin } from 'rxjs'; import { MetadataHistory } from '../model/history'; import { PATHS } from '../../configuration/configuration.values'; @@ -32,7 +32,15 @@ export class MetadataHistoryService { )); } - getVersion(resourceId: string, type: string, versionId: string): Observable { - return this.http.get(`/${this.base}/${PATHS[type]}/${resourceId}/${this.path}/${versionId}`); + getVersion(resourceId: string, type: string, versionId: string = null): Observable { + const api = versionId ? + `/${this.base}/${PATHS[type]}/${resourceId}/${this.path}/${versionId}` + : + `/${this.base}/${PATHS[type]}/${resourceId}`; + return this.http.get(api); + } + + updateVersion(resourceId: string, type: string, model: Metadata): Observable { + return this.http.put(`/${this.base}/${PATHS[type]}/${resourceId}`, model); } } diff --git a/ui/src/app/metadata/configuration/service/index-resolver.service.ts b/ui/src/app/metadata/configuration/service/index-resolver.service.ts new file mode 100644 index 000000000..4bbc5e07e --- /dev/null +++ b/ui/src/app/metadata/configuration/service/index-resolver.service.ts @@ -0,0 +1,14 @@ +import { Injectable } from '@angular/core'; +import { Resolve, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; +import { Store } from '@ngrx/store'; +import { WizardState } from '../../../wizard/reducer'; +import { SetIndex } from '../../../wizard/action/wizard.action'; + +@Injectable() +export class IndexResolver implements Resolve { + constructor(private store: Store) { } + + resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) { + this.store.dispatch(new SetIndex(route.params.index)); + } +} diff --git a/ui/src/app/metadata/domain/component/wizard-summary.component.spec.ts b/ui/src/app/metadata/domain/component/wizard-summary.component.spec.ts index 107ef7241..ecd51b1b9 100644 --- a/ui/src/app/metadata/domain/component/wizard-summary.component.spec.ts +++ b/ui/src/app/metadata/domain/component/wizard-summary.component.spec.ts @@ -12,6 +12,8 @@ import { SummaryPropertyComponent } from './summary-property.component'; import { SCHEMA } from '../../../../testing/form-schema.stub'; import { MockI18nModule } from '../../../../testing/i18n.stub'; import { MetadataProviderWizard } from '../../provider/model'; +import { AttributesService } from '../service/attributes.service'; +import { MockAttributeService } from '../../../../testing/attributes.stub'; @Component({ template: ` @@ -54,7 +56,8 @@ describe('Provider Wizard Summary Component', () => { TestHostComponent ], providers: [ - { provide: WidgetRegistry, useClass: DefaultWidgetRegistry } + { provide: WidgetRegistry, useClass: DefaultWidgetRegistry }, + { provide: AttributesService, useClass: MockAttributeService } ] }).compileComponents(); diff --git a/ui/src/app/metadata/domain/component/wizard-summary.component.ts b/ui/src/app/metadata/domain/component/wizard-summary.component.ts index e8b8deb34..80f246c83 100644 --- a/ui/src/app/metadata/domain/component/wizard-summary.component.ts +++ b/ui/src/app/metadata/domain/component/wizard-summary.component.ts @@ -34,29 +34,28 @@ export class WizardSummaryComponent implements OnChanges { ngOnChanges(changes: SimpleChanges): void { if (changes.summary && this.summary) { - const schemas = this.summary.schema; + const schema = this.summary.schema; const model = this.summary.model; const def = this.summary.definition; const steps = def.steps; - const schema = Object.keys(schemas).reduce((coll, key) => ({ - ...merge(coll, schemas[key]) - }), {} as any); - this.sections = steps .filter(step => step.id !== 'summary') .map( (step: WizardStep, num: number) => { + const { id, index, label } = step; + const split = getSplitSchema(schema, step); + const properties = getStepProperties( + split, + def.formatter(model), + schema.definitions || {} + ); return ({ - id: step.id, + id, pageNumber: num + 1, - index: step.index, - label: step.label, - properties: getStepProperties( - getSplitSchema(schema, step), - def.formatter(model), - schema.definitions || {} - ) + index, + label, + properties }); } ); diff --git a/ui/src/app/metadata/domain/entity/filter/entity-attributes-filter.spec.ts b/ui/src/app/metadata/domain/entity/filter/entity-attributes-filter.spec.ts index 22eae4cda..bb544cf0d 100644 --- a/ui/src/app/metadata/domain/entity/filter/entity-attributes-filter.spec.ts +++ b/ui/src/app/metadata/domain/entity/filter/entity-attributes-filter.spec.ts @@ -14,8 +14,8 @@ describe('EntityAttributesFilter Entity', () => { expect(entity.resourceId).toBe('foo'); expect(entity.enabled).toBe(entity.filterEnabled); expect(entity.id).toBe(entity.resourceId); - expect(entity.getId()).toBe(entity.entityId); - expect(entity.getDisplayId()).toBe(entity.entityId); + expect(entity.getId()).toBe(entity.resourceId); + expect(entity.getDisplayId()).toBe(entity.resourceId); expect(entity.isDraft()).toBe(false); }); }); diff --git a/ui/src/app/metadata/domain/entity/filter/entity-attributes-filter.ts b/ui/src/app/metadata/domain/entity/filter/entity-attributes-filter.ts index 839324879..f536a5b38 100644 --- a/ui/src/app/metadata/domain/entity/filter/entity-attributes-filter.ts +++ b/ui/src/app/metadata/domain/entity/filter/entity-attributes-filter.ts @@ -31,11 +31,11 @@ export class EntityAttributesFilterEntity implements MetadataFilter, MetadataEnt } getId(): string { - return this.entityId; + return this.resourceId; } getDisplayId(): string { - return this.entityId; + return this.resourceId; } isDraft(): boolean { diff --git a/ui/src/app/metadata/domain/entity/filter/nameid-format-filter.spec.ts b/ui/src/app/metadata/domain/entity/filter/nameid-format-filter.spec.ts new file mode 100644 index 000000000..ba39ffbe2 --- /dev/null +++ b/ui/src/app/metadata/domain/entity/filter/nameid-format-filter.spec.ts @@ -0,0 +1,21 @@ +import { NameIDFormatFilterEntity } from './nameid-format-filter'; + +describe('NameIDFormatFilterEntity Entity', () => { + let entity: NameIDFormatFilterEntity; + beforeEach(() => { + entity = new NameIDFormatFilterEntity({ + resourceId: 'foo', + filterEnabled: false + }); + }); + + it('should be an instance', () => { + expect(entity).toBeDefined(); + expect(entity.resourceId).toBe('foo'); + expect(entity.enabled).toBe(entity.filterEnabled); + expect(entity.id).toBe(entity.resourceId); + expect(entity.getId()).toBe(entity.resourceId); + expect(entity.getDisplayId()).toBe(entity.resourceId); + expect(entity.isDraft()).toBe(false); + }); +}); diff --git a/ui/src/app/metadata/domain/entity/resolver/file-backed-http-metadata-resolver.spec.ts b/ui/src/app/metadata/domain/entity/resolver/file-backed-http-metadata-resolver.spec.ts index 669033c19..627a22571 100644 --- a/ui/src/app/metadata/domain/entity/resolver/file-backed-http-metadata-resolver.spec.ts +++ b/ui/src/app/metadata/domain/entity/resolver/file-backed-http-metadata-resolver.spec.ts @@ -1,4 +1,5 @@ import { FileBackedHttpMetadataResolver } from './file-backed-http-metadata-resolver'; +import { MetadataResolver } from '../../model'; describe('Resolver construct', () => { @@ -60,8 +61,8 @@ describe('Resolver construct', () => { } ], serviceEnabled: true, - createdDate: 'string (date)', - modifiedDate: 'string (date)', + createdDate: 'December 17, 1995 03:24:00', + modifiedDate: 'December 17, 1995 03:24:00', relyingPartyOverrides: { 'signAssertion': true, 'dontSignResponse': true, @@ -83,11 +84,51 @@ describe('Resolver construct', () => { 'mail' ] }; - const entity = new FileBackedHttpMetadataResolver(config); it('should populate its own values', () => { + const entity = new FileBackedHttpMetadataResolver(config); Object.keys(config).forEach(key => { expect(entity[key]).toEqual(config[key]); }); }); + + describe('isDraft method', () => { + it('should return false if no createDate defined', () => { + const entity = new FileBackedHttpMetadataResolver(config); + expect(entity.isDraft()).toBe(false); + }); + + it('should return false if no createDate defined', () => { + const { createdDate, ...rest } = config; + const entity = new FileBackedHttpMetadataResolver(rest as MetadataResolver); + expect(entity.isDraft()).toBe(true); + }); + }); + + describe('getCreationDate method', () => { + it('should return false if no createDate defined', () => { + const entity = new FileBackedHttpMetadataResolver(config); + expect(entity.getCreationDate()).toBeDefined(); + }); + + it('should return false if no createDate defined', () => { + const { createdDate, ...rest } = config; + const entity = new FileBackedHttpMetadataResolver(rest as MetadataResolver); + expect(entity.getCreationDate()).toBeNull(); + }); + }); + + describe('enabled getter', () => { + it('should return the serviceEnabled attribute', () => { + const entity = new FileBackedHttpMetadataResolver(config); + expect(entity.enabled).toBe(config.serviceEnabled); + }); + }); + + describe('serialize method', () => { + it('should return itself', () => { + const entity = new FileBackedHttpMetadataResolver(config); + expect(entity.serialize()).toBe(entity); + }); + }); }); diff --git a/ui/src/app/metadata/domain/model/property.ts b/ui/src/app/metadata/domain/model/property.ts index 4768de9e4..51a4bf06e 100644 --- a/ui/src/app/metadata/domain/model/property.ts +++ b/ui/src/app/metadata/domain/model/property.ts @@ -5,10 +5,12 @@ export interface Property { value: any[]; items: Property; properties: Property[]; + differences?: boolean; widget?: { id: string; data?: {key: string, label: string}[]; dataUrl?: string; + differences?: string; [propertyName: string]: any; }; } diff --git a/ui/src/app/metadata/domain/model/wizards/metadata-source-base.ts b/ui/src/app/metadata/domain/model/wizards/metadata-source-base.ts index aab844d5e..106ebcf1d 100644 --- a/ui/src/app/metadata/domain/model/wizards/metadata-source-base.ts +++ b/ui/src/app/metadata/domain/model/wizards/metadata-source-base.ts @@ -3,6 +3,7 @@ import { MetadataResolver } from '../metadata-resolver'; import { FormProperty } from 'ngx-schema-form/lib/model/formproperty'; import { ArrayProperty } from 'ngx-schema-form/lib/model/arrayproperty'; import { ObjectProperty } from 'ngx-schema-form/lib/model/objectproperty'; +import { getAllOtherIds } from '../../../resolver/reducer'; /*istanbul ignore next */ export class MetadataSourceBase implements Wizard { @@ -11,6 +12,8 @@ export class MetadataSourceBase implements Wizard { steps: WizardStep[] = []; schema = ''; + validatorParams = [getAllOtherIds]; + bindings = { '/securityInfo/x509CertificateAvailable': [ { diff --git a/ui/src/app/metadata/domain/service/draft.service.spec.ts b/ui/src/app/metadata/domain/service/draft.service.spec.ts index 199a301d9..f03da6906 100644 --- a/ui/src/app/metadata/domain/service/draft.service.spec.ts +++ b/ui/src/app/metadata/domain/service/draft.service.spec.ts @@ -1,6 +1,7 @@ import { TestBed } from '@angular/core/testing'; import { EntityDraftService } from './draft.service'; import { FileBackedHttpMetadataResolver } from '../entity'; +import { MetadataResolver } from '../model'; describe(`EntityDraftService`, () => { let service: EntityDraftService; @@ -36,5 +37,71 @@ describe(`EntityDraftService`, () => { done(); }); }); + + it(`should return a 404 error if not found`, (done: DoneFn) => { + let id = null; + service.find(id).subscribe(null, err => { + expect(err).toEqual(404); + done(); + }); + }); + }); + + describe('exists', () => { + it('should check if the provided id exists in storage', () => { + spyOn(service.storage, 'query').and.returnValue([{id: 'bar'} as MetadataResolver]); + expect(service.exists('foo')).toBe(false); + expect(service.exists('bar')).toBe(true); + }); + + it('should use the provided attr', () => { + spyOn(service.storage, 'query').and.returnValue([ + { id: 'bar', serviceProviderName: 'foo' } as MetadataResolver + ]); + expect(service.exists('foo', 'serviceProviderName')).toBe(true); + expect(service.exists('bar', 'serviceProviderName')).toBe(false); + }); + }); + + describe('save', () => { + it('should add the provider to storage', () => { + const resolver = { id: 'bar' } as MetadataResolver; + spyOn(service.storage, 'add'); + service.save(resolver).subscribe(); + expect(service.storage.add).toHaveBeenCalledWith(resolver); + }); + }); + + describe('remove', () => { + it('should remove the provider from storage', () => { + const resolver = { id: 'bar' } as MetadataResolver; + spyOn(service.storage, 'removeByAttr'); + service.remove(resolver).subscribe(); + expect(service.storage.removeByAttr).toHaveBeenCalledWith(resolver.id, 'id'); + }); + }); + + describe('update', () => { + it('should remove the provider from storage', () => { + const resolver = { id: 'bar' } as MetadataResolver; + const updates = { id: 'foo', serviceProviderName: 'bar' }; + spyOn(service.storage, 'findByAttr').and.returnValue(resolver); + spyOn(service.storage, 'add'); + spyOn(service.storage, 'removeByAttr'); + service.update(resolver).subscribe(); + expect(service.storage.removeByAttr).toHaveBeenCalled(); + expect(service.storage.add).toHaveBeenCalled(); + expect(service.storage.findByAttr).toHaveBeenCalled(); + }); + + it('should return a 404 if not found', () => { + const resolver = { id: 'bar' } as MetadataResolver; + const updates = { id: 'foo', serviceProviderName: 'bar' }; + spyOn(service.storage, 'findByAttr').and.returnValue(null); + service.update(resolver).subscribe(null, (err) => { + expect(err).toBe(404); + expect(service.storage.findByAttr).toHaveBeenCalled(); + }); + }); }); }); diff --git a/ui/src/app/metadata/domain/service/resolver.service.spec.ts b/ui/src/app/metadata/domain/service/resolver.service.spec.ts index 71d7686e2..c11bb0dd5 100644 --- a/ui/src/app/metadata/domain/service/resolver.service.spec.ts +++ b/ui/src/app/metadata/domain/service/resolver.service.spec.ts @@ -30,13 +30,36 @@ describe(`Resolver Service`, () => { } ))); - xit(`should emit 'true' for 200 Ok`, async(inject([ResolverService, HttpTestingController], + it(`should emit 'true' for 200 Ok`, async(inject([ResolverService, HttpTestingController], (service: ResolverService, backend: HttpTestingController) => { service.query().subscribe((next) => { expect(next).toBeTruthy(); }); - backend.expectOne('/api/EntityDescriptors').flush([], { status: 200, statusText: 'Ok' }); + backend.expectOne('/api/EntityDescriptors').flush(['foo'], { status: 200, statusText: 'Ok' }); + } + ))); + }); + + describe('queryForAdmin', () => { + it(`should send an expected query request`, async(inject([ResolverService, HttpTestingController], + (service: ResolverService, backend: HttpTestingController) => { + service.queryForAdmin().subscribe(); + + backend.expectOne((req: HttpRequest) => { + return req.url === '/api/EntityDescriptor/disabledNonAdmin' + && req.method === 'GET'; + }, `GET EntityDescriptors collection for an admin`); + } + ))); + + it(`should emit 'true' for 200 Ok`, async(inject([ResolverService, HttpTestingController], + (service: ResolverService, backend: HttpTestingController) => { + service.queryForAdmin().subscribe((next) => { + expect(next).toBeTruthy(); + }); + + backend.expectOne('/api/EntityDescriptor/disabledNonAdmin').flush(['foo'], { status: 200, statusText: 'Ok' }); } ))); }); @@ -55,4 +78,103 @@ describe(`Resolver Service`, () => { } ))); }); + + describe('update', () => { + let id = 'foo', + serviceProviderName = 'Test Provider', + createdBy = 'admin'; + + it(`should send an expected PUT request`, async(inject([ResolverService, HttpTestingController], + (service: ResolverService, backend: HttpTestingController) => { + service.update({id, serviceProviderName, createdBy}).subscribe(); + + backend.expectOne((req: HttpRequest) => { + return req.url === `/api/EntityDescriptor/${id}` + && req.method === 'PUT'; + }, `PUT EntityDescriptor by id`); + } + ))); + }); + + describe('create', () => { + let id = 'foo', + serviceProviderName = 'Test Provider', + createdBy = 'admin'; + + it(`should send an expected POST request`, async(inject([ResolverService, HttpTestingController], + (service: ResolverService, backend: HttpTestingController) => { + service.save({ id, serviceProviderName, createdBy }).subscribe(); + + backend.expectOne((req: HttpRequest) => { + return req.url === `/api/EntityDescriptor` + && req.method === 'POST'; + }, `POST new EntityDescriptor`); + } + ))); + }); + + describe('remove', () => { + let id = 'foo', + serviceProviderName = 'Test Provider', + createdBy = 'admin'; + + it(`should send an expected PUT request`, async(inject([ResolverService, HttpTestingController], + (service: ResolverService, backend: HttpTestingController) => { + service.remove({ id, serviceProviderName, createdBy }).subscribe(); + + backend.expectOne((req: HttpRequest) => { + return req.url === `/api/EntityDescriptor/${id}` + && req.method === 'DELETE'; + }, `DELETE an EntityDescriptor`); + } + ))); + }); + + describe('preview', () => { + let id = 'foo'; + + it(`should send an expected GET request`, async(inject([ResolverService, HttpTestingController], + (service: ResolverService, backend: HttpTestingController) => { + service.preview(id).subscribe(); + + backend.expectOne((req: HttpRequest) => { + return req.url === `/api/EntityDescriptor/${id}` + && req.method === 'GET' + && req.headers.get('Accept') === 'application/xml' + && req.responseType === 'text'; + }, `GET an EntityDescriptor (xml)`); + } + ))); + }); + + describe('upload', () => { + it(`should send an expected POST request`, async(inject([ResolverService, HttpTestingController], + (service: ResolverService, backend: HttpTestingController) => { + const name = 'foo', xml = ''; + service.upload(name, xml).subscribe(); + + backend.expectOne((req: HttpRequest) => { + return req.url === `/api/EntityDescriptor` + && req.method === 'POST' + && req.headers.get('Content-Type') === 'application/xml'; + }, `POST new EntityDescriptor`); + } + ))); + }); + + describe('createFromUrl', () => { + it(`should send an expected POST request`, async(inject([ResolverService, HttpTestingController], + (service: ResolverService, backend: HttpTestingController) => { + const name = 'foo', url = 'http://goo.gle'; + service.createFromUrl(name, url).subscribe(); + + backend.expectOne((req: HttpRequest) => { + return req.url === `/api/EntityDescriptor` + && req.method === 'POST' + && req.headers.get('Content-Type') === 'application/x-www-form-urlencoded' + && req.body === `metadataUrl=${url}`; + }, `POST new EntityDescriptor`); + } + ))); + }); }); diff --git a/ui/src/app/metadata/domain/service/resolver.service.ts b/ui/src/app/metadata/domain/service/resolver.service.ts index 2a158f75f..cae3a5ed8 100644 --- a/ui/src/app/metadata/domain/service/resolver.service.ts +++ b/ui/src/app/metadata/domain/service/resolver.service.ts @@ -15,24 +15,15 @@ export class ResolverService { ) {} query(): Observable { - return this.http.get(`${ this.base }${ this.endpoint }s`, {}) - .pipe( - catchError(err => throwError([])) - ); + return this.http.get(`${ this.base }${ this.endpoint }s`, {}); } queryForAdmin(): Observable { - return this.http.get(`${this.base}${this.endpoint}/disabledNonAdmin`, {}) - .pipe( - catchError(err => throwError([])) - ); + return this.http.get(`${this.base}${this.endpoint}/disabledNonAdmin`, {}); } find(id: string): Observable { - return this.http.get(`${ this.base }${ this.endpoint }/${ id }`) - .pipe( - catchError(err => throwError(err)) - ); + return this.http.get(`${ this.base }${ this.endpoint }/${ id }`); } update(provider: MetadataResolver): Observable { @@ -52,9 +43,10 @@ export class ResolverService { return this.http.post(`${this.base}${this.endpoint}`, xml, { headers: new HttpHeaders().set('Content-Type', 'application/xml'), params: new HttpParams().set('spName', name) - }).pipe(catchError(error => { - return throwError({ errorCode: error.status, errorMessage: `Unable to upload file ... ${error.error.errorMessage}` }); - })); + }).pipe(catchError(error => throwError({ + errorCode: error.status, + errorMessage: `Unable to upload file ... ${error.error.errorMessage}` + }))); } createFromUrl(name: string, url: string): Observable { @@ -62,9 +54,12 @@ export class ResolverService { return this.http.post(`${this.base}${this.endpoint}`, body, { headers: new HttpHeaders().set('Content-Type', 'application/x-www-form-urlencoded'), params: new HttpParams().set('spName', name) - }).pipe(catchError(error => { - return throwError({ errorCode: error.status, errorMessage: `Unable to upload file ... ${error.error.errorMessage}` }); - })); + }).pipe(catchError(error => throwError( + { + errorCode: error.status, + errorMessage: `Unable to upload file ... ${error.error.errorMessage}` + } + ))); } preview(id: string): Observable { diff --git a/ui/src/app/metadata/filter/effect/collection.effect.ts b/ui/src/app/metadata/filter/effect/collection.effect.ts index 58ecd41f7..dcf67b246 100644 --- a/ui/src/app/metadata/filter/effect/collection.effect.ts +++ b/ui/src/app/metadata/filter/effect/collection.effect.ts @@ -35,8 +35,7 @@ import { FilterCollectionActionTypes } from '../action/collection.action'; import * as fromFilter from '../reducer'; import * as fromProvider from '../../provider/reducer'; import { MetadataFilter } from '../../domain/model'; -import { removeNulls, array_move } from '../../../shared/util'; -import { EntityAttributesFilterEntity } from '../../domain/entity/filter/entity-attributes-filter'; +import { array_move } from '../../../shared/util'; import { MetadataFilterService } from '../../domain/service/filter.service'; import { SelectProviderRequest } from '../../provider/action/collection.action'; import { UpdateFilterChanges, ClearFilter } from '../action/filter.action'; diff --git a/ui/src/app/metadata/filter/model/entity-attributes-configuration.filter.ts b/ui/src/app/metadata/filter/model/entity-attributes-configuration.filter.ts index 5333e08f1..06a6609b6 100644 --- a/ui/src/app/metadata/filter/model/entity-attributes-configuration.filter.ts +++ b/ui/src/app/metadata/filter/model/entity-attributes-configuration.filter.ts @@ -1,6 +1,5 @@ import { Wizard } from '../../../wizard/model'; import { MetadataFilter } from '../../domain/model'; -import { removeNulls } from '../../../shared/util'; import { EntityAttributesFilter } from './entity-attributes.filter'; export const EntityAttributesFilterConfiguration: Wizard = { diff --git a/ui/src/app/metadata/filter/model/entity-attributes.filter.spec.ts b/ui/src/app/metadata/filter/model/entity-attributes.filter.spec.ts index 53e3630c8..a5505284d 100644 --- a/ui/src/app/metadata/filter/model/entity-attributes.filter.spec.ts +++ b/ui/src/app/metadata/filter/model/entity-attributes.filter.spec.ts @@ -5,7 +5,8 @@ describe('Entity Attributes filter form', () => { it('should return an empty object for validators', () => { expect(Object.keys(EntityAttributesFilter.getValidators())).toEqual([ '/', - '/name' + '/name', + '/entityAttributesFilterTarget' ]); }); diff --git a/ui/src/app/metadata/filter/model/entity-attributes.filter.ts b/ui/src/app/metadata/filter/model/entity-attributes.filter.ts index 78ee24e43..f1d58d915 100644 --- a/ui/src/app/metadata/filter/model/entity-attributes.filter.ts +++ b/ui/src/app/metadata/filter/model/entity-attributes.filter.ts @@ -2,6 +2,11 @@ import { FormDefinition } from '../../../wizard/model'; import { MetadataFilter } from '../../domain/model'; import { removeNulls } from '../../../shared/util'; import { EntityAttributesFilterEntity } from '../../domain/entity'; +import { RegexValidator } from '../../../shared/validation/regex.validator'; +import { getFilterNames } from '../reducer'; +import { memoize } from '../../../shared/memo'; + +const checkRegex = memoize(RegexValidator.isValidRegex); export const EntityAttributesFilter: FormDefinition = { label: 'EntityAttributes', @@ -10,6 +15,7 @@ export const EntityAttributesFilter: FormDefinition = { getEntity(filter: MetadataFilter): EntityAttributesFilterEntity { return new EntityAttributesFilterEntity(filter); }, + validatorParams: [getFilterNames], getValidators(namesList: string[] = []): any { const validators = { '/': (value, property, form_current) => { @@ -35,6 +41,18 @@ export const EntityAttributesFilter: FormDefinition = { params: [value] } : null; return err; + }, + '/entityAttributesFilterTarget': (value, property, form) => { + if (!form || !form.value || !form.value.entityAttributesFilterTarget || + form.value.entityAttributesFilterTarget.entityAttributesFilterTargetType !== 'REGEX') { + return null; + } + return checkRegex(value.value[0]) ? null : { + code: 'INVALID_REGEX', + path: `#${property.path}`, + message: 'message.invalid-regex-pattern', + params: [value.value[0]] + }; } }; return validators; diff --git a/ui/src/app/metadata/filter/model/nameid.filter.spec.ts b/ui/src/app/metadata/filter/model/nameid.filter.spec.ts index f366ca90a..e3d3aca36 100644 --- a/ui/src/app/metadata/filter/model/nameid.filter.spec.ts +++ b/ui/src/app/metadata/filter/model/nameid.filter.spec.ts @@ -5,7 +5,8 @@ describe('NameID Format filter form', () => { it('should return an empty object for validators', () => { expect(Object.keys(NameIDFilter.getValidators())).toEqual([ '/', - '/name' + '/name', + '/nameIdFormatFilterTarget' ]); }); diff --git a/ui/src/app/metadata/filter/model/nameid.filter.ts b/ui/src/app/metadata/filter/model/nameid.filter.ts index f3cf67960..ee48f4f89 100644 --- a/ui/src/app/metadata/filter/model/nameid.filter.ts +++ b/ui/src/app/metadata/filter/model/nameid.filter.ts @@ -1,6 +1,11 @@ import { FormDefinition } from '../../../wizard/model'; import { MetadataFilter } from '../../domain/model'; import { NameIDFormatFilterEntity } from '../../domain/entity/filter/nameid-format-filter'; +import { RegexValidator } from '../../../shared/validation/regex.validator'; +import { getFilterNames } from '../reducer'; +import { memoize } from '../../../shared/memo'; + +const checkRegex = memoize(RegexValidator.isValidRegex); export const NameIDFilter: FormDefinition = { label: 'NameIDFormat', @@ -9,6 +14,7 @@ export const NameIDFilter: FormDefinition = { getEntity(filter: MetadataFilter): NameIDFormatFilterEntity { return new NameIDFormatFilterEntity(filter); }, + validatorParams: [getFilterNames], getValidators(namesList: string[] = []): any { const validators = { '/': (value, property, form_current) => { @@ -34,6 +40,18 @@ export const NameIDFilter: FormDefinition = { params: [value] } : null; return err; + }, + '/nameIdFormatFilterTarget': (value, property, form) => { + if (!form || !form.value || !form.value.nameIdFormatFilterTarget || + form.value.nameIdFormatFilterTarget.nameIdFormatFilterTargetType !== 'REGEX') { + return null; + } + return checkRegex(value.value[0]) ? null : { + code: 'INVALID_REGEX', + path: `#${property.path}`, + message: 'message.invalid-regex-pattern', + params: [value.value[0]] + }; } }; return validators; diff --git a/ui/src/app/metadata/provider/container/provider-edit-step.component.spec.ts b/ui/src/app/metadata/provider/container/provider-edit-step.component.spec.ts index 093dc85c1..a9013176a 100644 --- a/ui/src/app/metadata/provider/container/provider-edit-step.component.spec.ts +++ b/ui/src/app/metadata/provider/container/provider-edit-step.component.spec.ts @@ -52,8 +52,7 @@ describe('Provider Edit Step Component', () => { } } }, - locked: false, - schemaCollection: [] + locked: false } }) }) diff --git a/ui/src/app/metadata/provider/container/provider-edit-step.component.ts b/ui/src/app/metadata/provider/container/provider-edit-step.component.ts index be79bb1fa..c869c8e9c 100644 --- a/ui/src/app/metadata/provider/container/provider-edit-step.component.ts +++ b/ui/src/app/metadata/provider/container/provider-edit-step.component.ts @@ -1,6 +1,7 @@ import { Component, OnDestroy } from '@angular/core'; import { Observable, Subject } from 'rxjs'; import { Store } from '@ngrx/store'; +import { FormControl } from '@angular/forms'; import * as fromProvider from '../reducer'; import { UpdateStatus } from '../action/editor.action'; @@ -9,9 +10,8 @@ import { MetadataProvider } from '../../domain/model'; import { LockEditor, UnlockEditor } from '../../../wizard/action/wizard.action'; import * as fromWizard from '../../../wizard/reducer'; -import { withLatestFrom, map, skipWhile, distinctUntilChanged, takeUntil, filter } from 'rxjs/operators'; +import { withLatestFrom, map, distinctUntilChanged, filter } from 'rxjs/operators'; import { UpdateProvider } from '../action/entity.action'; -import { FormControl } from '@angular/forms'; @Component({ selector: 'provider-edit-step', diff --git a/ui/src/app/metadata/provider/container/provider-edit.component.spec.ts b/ui/src/app/metadata/provider/container/provider-edit.component.spec.ts index bd6ed6698..a5601d594 100644 --- a/ui/src/app/metadata/provider/container/provider-edit.component.spec.ts +++ b/ui/src/app/metadata/provider/container/provider-edit.component.spec.ts @@ -62,8 +62,7 @@ describe('Provider Edit Component', () => { schemaPath: '', loading: false, schema: {}, - locked: false, - schemaCollection: [] + locked: false } }) }), diff --git a/ui/src/app/metadata/provider/container/provider-wizard.component.ts b/ui/src/app/metadata/provider/container/provider-wizard.component.ts index 125966878..f501f7cb8 100644 --- a/ui/src/app/metadata/provider/container/provider-wizard.component.ts +++ b/ui/src/app/metadata/provider/container/provider-wizard.component.ts @@ -63,7 +63,7 @@ export class ProviderWizardComponent implements OnDestroy { this.summary$ = combineLatest( this.store.select(fromWizard.getWizardDefinition), - this.store.select(fromWizard.getSchemaCollection), + this.store.select(fromWizard.getSchemaObject), this.store.select(fromProvider.getEntityChanges) ).pipe( map(([ definition, schema, model ]) => ({ definition, schema, model })) diff --git a/ui/src/app/metadata/provider/effect/editor.effect.ts b/ui/src/app/metadata/provider/effect/editor.effect.ts index f9ac13baf..60ec2d719 100644 --- a/ui/src/app/metadata/provider/effect/editor.effect.ts +++ b/ui/src/app/metadata/provider/effect/editor.effect.ts @@ -12,8 +12,7 @@ import { LoadSchemaSuccess, LoadSchemaFail, SetDefinition, - WizardActionTypes, - AddSchema + WizardActionTypes } from '../../../wizard/action/wizard.action'; import { ResetChanges } from '../action/entity.action'; @@ -38,14 +37,6 @@ export class EditorEffects { ) ); - @Effect() - $loadSchemaSuccess = this.actions$.pipe( - ofType(WizardActionTypes.LOAD_SCHEMA_SUCCESS), - map(action => action.payload), - withLatestFrom(this.store.select(fromWizard.getWizardIndex)), - map(([schema, id]) => new AddSchema({ id, schema })) - ); - @Effect() $resetChanges = this.actions$.pipe( ofType(WizardActionTypes.SET_DEFINITION), diff --git a/ui/src/app/metadata/provider/model/base.provider.form.ts b/ui/src/app/metadata/provider/model/base.provider.form.ts index a27a1cbc6..1fce5263d 100644 --- a/ui/src/app/metadata/provider/model/base.provider.form.ts +++ b/ui/src/app/metadata/provider/model/base.provider.form.ts @@ -1,11 +1,13 @@ import { Wizard } from '../../../wizard/model'; import { BaseMetadataProvider } from '../../domain/model/providers'; +import { getFilteredProviderNames, getFilteredProviderXmlIds } from '../reducer'; export const BaseMetadataProviderEditor: Wizard = { label: 'BaseMetadataProvider', type: 'BaseMetadataResolver', schema: '', - getValidators(namesList: string[]): any { + validatorParams: [getFilteredProviderNames, getFilteredProviderXmlIds], + getValidators(namesList: string[], xmlIdList: string[]): any { const validators = { '/': (value, property, form_current) => { let errors; @@ -29,6 +31,15 @@ export const BaseMetadataProviderEditor: Wizard = { params: [value] } : null; return err; + }, + '/xmlId': (value, property, form) => { + const err = xmlIdList.indexOf(value) > -1 ? { + code: 'INVALID_ID', + path: `#${property.path}`, + message: 'message.id-unique', + params: [value] + } : null; + return err; } }; return validators; diff --git a/ui/src/app/metadata/provider/model/dynamic-http.provider.form.ts b/ui/src/app/metadata/provider/model/dynamic-http.provider.form.ts index 2583e3c69..9ef3bf2bb 100644 --- a/ui/src/app/metadata/provider/model/dynamic-http.provider.form.ts +++ b/ui/src/app/metadata/provider/model/dynamic-http.provider.form.ts @@ -17,16 +17,7 @@ export const DynamicHttpMetadataProviderWizard: Wizard { - const err = xmlIdList.indexOf(value) > -1 ? { - code: 'INVALID_ID', - path: `#${property.path}`, - message: 'message.id-unique', - params: [value] - } : null; - return err; - }; + const validators = BaseMetadataProviderEditor.getValidators(namesList, xmlIdList); validators['/metadataRequestURLConstructionScheme'] = (value, property, form) => { let errors; diff --git a/ui/src/app/metadata/provider/model/file-backed-http.provider.form.ts b/ui/src/app/metadata/provider/model/file-backed-http.provider.form.ts index 0df10c0ea..d3e4d9995 100644 --- a/ui/src/app/metadata/provider/model/file-backed-http.provider.form.ts +++ b/ui/src/app/metadata/provider/model/file-backed-http.provider.form.ts @@ -18,16 +18,7 @@ export const FileBackedHttpMetadataProviderWizard: Wizard { - const err = xmlIdList.indexOf(value) > -1 ? { - code: 'INVALID_ID', - path: `#${property.path}`, - message: 'message.id-unique', - params: [value] - } : null; - return err; - }; + const validators = BaseMetadataProviderEditor.getValidators(namesList, xmlIdList); validators['/metadataURL'] = (value, property, form) => { return !UriValidator.isUri(value) ? { code: 'INVALID_URI', @@ -100,6 +91,8 @@ export const FileBackedHttpMetadataProviderEditor: Wizard { - const err = xmlIdList.indexOf(value) > -1 ? { - code: 'INVALID_ID', - path: `#${property.path}`, - message: 'message.id-unique', - params: [value] - } : null; - return err; - }; - return validators; - }, schema: '/api/ui/MetadataResolver/FilesystemMetadataResolver', steps: [ { diff --git a/ui/src/app/metadata/provider/model/local-dynamic.provider.form.ts b/ui/src/app/metadata/provider/model/local-dynamic.provider.form.ts index aeeef302a..c53562873 100644 --- a/ui/src/app/metadata/provider/model/local-dynamic.provider.form.ts +++ b/ui/src/app/metadata/provider/model/local-dynamic.provider.form.ts @@ -17,19 +17,6 @@ export const LocalDynamicMetadataProviderWizard: Wizard { - const err = xmlIdList.indexOf(value) > -1 ? { - code: 'INVALID_ID', - path: `#${property.path}`, - message: 'message.id-unique', - params: [value] - } : null; - return err; - }; - return validators; - }, schema: '/api/ui/MetadataResolver/LocalDynamicMetadataResolver', steps: [ { diff --git a/ui/src/app/metadata/provider/reducer/collection.reducer.ts b/ui/src/app/metadata/provider/reducer/collection.reducer.ts index 031f915c8..cecd944b0 100644 --- a/ui/src/app/metadata/provider/reducer/collection.reducer.ts +++ b/ui/src/app/metadata/provider/reducer/collection.reducer.ts @@ -21,7 +21,7 @@ export const initialState: CollectionState = adapter.getInitialState({ export function reducer(state = initialState, action: ProviderCollectionActionsUnion): CollectionState { switch (action.type) { case ProviderCollectionActionTypes.SELECT_PROVIDER_SUCCESS: { - return adapter.addOne(action.payload, { + return adapter.upsertOne(action.payload, { ...state, selectedProviderId: action.payload.resourceId }); diff --git a/ui/src/app/metadata/provider/reducer/index.spec.ts b/ui/src/app/metadata/provider/reducer/index.spec.ts new file mode 100644 index 000000000..7ffb3e9db --- /dev/null +++ b/ui/src/app/metadata/provider/reducer/index.spec.ts @@ -0,0 +1,24 @@ +import { getFilteredListFn } from './'; + +describe('Provider Reducer selectors', () => { + describe(`getFilteredListFn method`, () => { + it('should return a list without the provider`s property', () => { + + const fn = getFilteredListFn('name'); + const name = 'foo'; + const collection = ['foo', 'bar', 'baz']; + const provider = { name }; + + expect(fn(collection, provider)).toEqual(['bar', 'baz']); + }); + + it('should return the list if the provider passed is null', () => { + + const fn = getFilteredListFn('name'); + const name = 'foo'; + const collection = ['foo', 'bar', 'baz']; + + expect(fn(collection, null)).toEqual(['foo', 'bar', 'baz']); + }); + }); +}); diff --git a/ui/src/app/metadata/provider/reducer/index.ts b/ui/src/app/metadata/provider/reducer/index.ts index d40313299..8005d63e9 100644 --- a/ui/src/app/metadata/provider/reducer/index.ts +++ b/ui/src/app/metadata/provider/reducer/index.ts @@ -67,8 +67,15 @@ export const getProviderCollectionIsLoaded = createSelector(getCollectionState, export const getProviderNames = createSelector(getAllProviders, (providers: MetadataProvider[]) => providers.map(p => p.name)); +export const getFilteredListFn = (property: string) => + (collection, provider) => !provider ? collection : collection.filter(val => val !== provider[property]); + +export const getFilteredProviderNames = createSelector(getProviderNames, getSelectedProvider, getFilteredListFn('name')); + export const getProviderFilters = createSelector(getSelectedProvider, provider => provider.metadataFilters); export const getProviderXmlIds = createSelector(getAllProviders, (providers: MetadataProvider[]) => providers.map(p => p.xmlId)); export const getOrderedProviders = createSelector(getAllProviders, getProviderOrder, utils.mergeOrderFn); export const getOrderedProvidersInSearch = createSelector(getAllProviders, getProviderOrder, utils.mergeOrderFn); + +export const getFilteredProviderXmlIds = createSelector(getProviderXmlIds, getSelectedProvider, getFilteredListFn('xmlId')); diff --git a/ui/src/app/metadata/resolver/action/collection.action.ts b/ui/src/app/metadata/resolver/action/collection.action.ts index dc3843319..57861b17c 100644 --- a/ui/src/app/metadata/resolver/action/collection.action.ts +++ b/ui/src/app/metadata/resolver/action/collection.action.ts @@ -7,6 +7,8 @@ export enum ResolverCollectionActionTypes { SELECT = '[Metadata Resolver] Select', SELECT_SUCCESS = '[Metadata Resolver] Select Success', + CLEAR_SELECTION = '[Metadata Resolver] Selection Clear', + UPDATE_RESOLVER_REQUEST = '[Metadata Resolver] Update Request', UPDATE_RESOLVER_SUCCESS = '[Metadata Resolver] Update Success', UPDATE_RESOLVER_FAIL = '[Metadata Resolver] Update Fail', @@ -143,6 +145,10 @@ export class CreateResolverFromUrlRequest implements Action { constructor(public payload: { name: string, url: string }) { } } +export class ClearResolverSelection implements Action { + readonly type = ResolverCollectionActionTypes.CLEAR_SELECTION; +} + export type ResolverCollectionActionsUnion = | LoadResolverRequest | LoadResolverSuccess @@ -162,4 +168,5 @@ export type ResolverCollectionActionsUnion = | UpdateResolverFail | UpdateResolverConflict | UploadResolverRequest - | CreateResolverFromUrlRequest; + | CreateResolverFromUrlRequest + | ClearResolverSelection; diff --git a/ui/src/app/metadata/resolver/container/resolver-wizard-step.component.spec.ts b/ui/src/app/metadata/resolver/container/resolver-wizard-step.component.spec.ts index 56c4784a7..c64445dd4 100644 --- a/ui/src/app/metadata/resolver/container/resolver-wizard-step.component.spec.ts +++ b/ui/src/app/metadata/resolver/container/resolver-wizard-step.component.spec.ts @@ -66,11 +66,6 @@ describe('Resolver Wizard Step Component', () => { index: 'common', disabled: false, definition: new MetadataSourceWizard(), - schemaCollection: { - common: { - ...schema - } - }, schemaPath: '/foo/bar', loading: false, schema: { diff --git a/ui/src/app/metadata/resolver/container/resolver-wizard.component.spec.ts b/ui/src/app/metadata/resolver/container/resolver-wizard.component.spec.ts index 1b6c5df32..3cec9bf25 100644 --- a/ui/src/app/metadata/resolver/container/resolver-wizard.component.spec.ts +++ b/ui/src/app/metadata/resolver/container/resolver-wizard.component.spec.ts @@ -72,11 +72,6 @@ describe('Resolver Wizard Component', () => { index: 'page', disabled: false, definition: new MetadataSourceWizard(), - schemaCollection: { - page: { - ...schema - } - }, schemaPath: '/foo/bar', loading: false, schema: { diff --git a/ui/src/app/metadata/resolver/container/resolver-wizard.component.ts b/ui/src/app/metadata/resolver/container/resolver-wizard.component.ts index 3ccddc90e..56848ad5e 100644 --- a/ui/src/app/metadata/resolver/container/resolver-wizard.component.ts +++ b/ui/src/app/metadata/resolver/container/resolver-wizard.component.ts @@ -117,13 +117,13 @@ export class ResolverWizardComponent implements OnDestroy, CanComponentDeactivat this.summary$ = combine( this.store.select(fromWizard.getWizardDefinition), - this.store.select(fromWizard.getSchemaCollection), - this.store.select(fromResolver.getEntityChanges) + this.store.select(fromWizard.getSchemaObject), + this.store.select(fromResolver.getDraftModelWithChanges) ).pipe( map(([definition, schema, model]) => ( { definition, - schema, + schema: schema || {}, model } )) diff --git a/ui/src/app/metadata/resolver/effect/collection.effects.ts b/ui/src/app/metadata/resolver/effect/collection.effects.ts index ff5c5ea9c..2a92b0242 100644 --- a/ui/src/app/metadata/resolver/effect/collection.effects.ts +++ b/ui/src/app/metadata/resolver/effect/collection.effects.ts @@ -35,6 +35,7 @@ import { I18nService } from '../../../i18n/service/i18n.service'; import * as fromRoot from '../../../app.reducer'; import * as fromI18n from '../../../i18n/reducer'; import { FileBackedHttpMetadataResolver } from '../../domain/entity'; +import { UpdateSaving } from '../action/entity.action'; /* istanbul ignore next */ @@ -79,6 +80,21 @@ export class ResolverCollectionEffects { }) ); + @Effect() + updateResolverSavingOnRequest$ = this.actions$.pipe( + ofType(ResolverCollectionActionTypes.UPDATE_RESOLVER_REQUEST), + map(action => new UpdateSaving(true)), + ); + + @Effect() + updateResolverSavingOnResult$ = this.actions$.pipe( + ofType( + ResolverCollectionActionTypes.UPDATE_RESOLVER_SUCCESS, + ResolverCollectionActionTypes.UPDATE_RESOLVER_FAIL + ), + map(action => new UpdateSaving(false)), + ); + @Effect({ dispatch: false }) updateResolverSuccessRedirect$ = this.actions$.pipe( ofType(ResolverCollectionActionTypes.UPDATE_RESOLVER_SUCCESS), diff --git a/ui/src/app/metadata/resolver/reducer/collection.reducer.ts b/ui/src/app/metadata/resolver/reducer/collection.reducer.ts index 925255d96..425e2dee6 100644 --- a/ui/src/app/metadata/resolver/reducer/collection.reducer.ts +++ b/ui/src/app/metadata/resolver/reducer/collection.reducer.ts @@ -33,7 +33,7 @@ export function reducer(state = initialState, action: ResolverCollectionActionsU } case ResolverCollectionActionTypes.SELECT_SUCCESS: { - return adapter.addOne(action.payload, { + return adapter.upsertOne(action.payload, { ...state, selectedResolverId: action.payload.id, }); @@ -51,6 +51,13 @@ export function reducer(state = initialState, action: ResolverCollectionActionsU }); } + case ResolverCollectionActionTypes.CLEAR_SELECTION: { + return { + ...state, + selectedResolverId: null + }; + } + default: { return state; } diff --git a/ui/src/app/metadata/resolver/reducer/index.ts b/ui/src/app/metadata/resolver/reducer/index.ts index bf38715d9..a1cc5256d 100644 --- a/ui/src/app/metadata/resolver/reducer/index.ts +++ b/ui/src/app/metadata/resolver/reducer/index.ts @@ -5,6 +5,7 @@ import * as fromSearch from './search.reducer'; import * as fromCopy from './copy.reducer'; import * as fromDraft from './draft.reducer'; import * as fromCollection from './collection.reducer'; +import * as fromWizard from '../../../wizard/reducer'; import { combineAllFn, getEntityIdsFn, getInCollectionFn, doesExistFn } from '../../domain/domain.util'; @@ -103,3 +104,23 @@ export const getAllResolvers = createSelector(getDraftCollection, getResolverCol export const getAllResolverIds = createSelector(getDraftIds, getResolverIds, combineAllFn); export const getAllEntityIds = createSelector(getAllResolvers, getEntityIdsFn); + +export const getAllOtherIds = createSelector( + getAllResolvers, + getSelectedResolverId, + (ids, selected) => ids.filter(id => id !== selected) +); + +export const getDraftModelWithChanges = createSelector( + fromWizard.getSchema, + fromWizard.getModel, + getSelectedDraft, + getEntityChanges, + fromWizard.getWizardDefinition, + (schema, wizardModel, selectedDraft, changes, definition) => definition.formatter({ + ...wizardModel, + ...selectedDraft, + ...changes + }) +); + diff --git a/ui/src/app/schema-form/service/schema.service.ts b/ui/src/app/schema-form/service/schema.service.ts index 617769de6..0e5905a8a 100644 --- a/ui/src/app/schema-form/service/schema.service.ts +++ b/ui/src/app/schema-form/service/schema.service.ts @@ -28,12 +28,13 @@ export class SchemaService { const conditions = formProperty.parent.schema.anyOf || []; const values = formProperty.parent.value; const currentConditions = conditions.filter(condition => - Object + 'properties' in condition ? Object .keys(condition.properties) .some( key => values.hasOwnProperty(key) && condition.properties[key].enum ? condition.properties[key].enum[0] === values[key] : false ) + : false ); currentConditions.forEach(el => { requiredFields = el.required || []; diff --git a/ui/src/app/schema-form/widget/array/array.component.ts b/ui/src/app/schema-form/widget/array/array.component.ts index 18f93566e..82a089635 100644 --- a/ui/src/app/schema-form/widget/array/array.component.ts +++ b/ui/src/app/schema-form/widget/array/array.component.ts @@ -9,9 +9,9 @@ export interface FormError { code: string; description: string; message: string; - params: any[]; + params?: any[]; path: string; - schemaId: any; + schemaId?: any; } @Component({ diff --git a/ui/src/app/schema-form/widget/datalist/datalist.component.html b/ui/src/app/schema-form/widget/datalist/datalist.component.html index a4f377035..58cf01c46 100644 --- a/ui/src/app/schema-form/widget/datalist/datalist.component.html +++ b/ui/src/app/schema-form/widget/datalist/datalist.component.html @@ -1,5 +1,5 @@
-
diff --git a/ui/src/app/schema-form/widget/filter-target/filter-target.component.ts b/ui/src/app/schema-form/widget/filter-target/filter-target.component.ts index 4107ebfd3..7af0c8b0d 100644 --- a/ui/src/app/schema-form/widget/filter-target/filter-target.component.ts +++ b/ui/src/app/schema-form/widget/filter-target/filter-target.component.ts @@ -2,8 +2,8 @@ import { Component, OnDestroy, AfterViewInit } from '@angular/core'; import { FormControl, Validators, AbstractControl, ValidatorFn } from '@angular/forms'; import { ObjectWidget } from 'ngx-schema-form'; import { Store } from '@ngrx/store'; -import { Observable } from 'rxjs'; -import { distinctUntilChanged, skipWhile, map } from 'rxjs/operators'; +import { Observable, Subject } from 'rxjs'; +import { distinctUntilChanged, skipWhile, takeUntil, map } from 'rxjs/operators'; import * as fromRoot from '../../../app.reducer'; import * as fromFilters from '../../../metadata/filter/reducer'; @@ -17,7 +17,7 @@ import { QueryEntityIds, ClearSearch } from '../../../metadata/filter/action/sea styleUrls: ['./filter-target.component.scss'] }) export class FilterTargetComponent extends ObjectWidget implements OnDestroy, AfterViewInit { - + private ngUnsubscribe: Subject = new Subject(); ids$: Observable; ids: string[]; @@ -32,6 +32,9 @@ export class FilterTargetComponent extends ObjectWidget implements OnDestroy, Af [Validators.required] ); + errors$: Observable; + hasErrors$: Observable; + constructor( private store: Store ) { @@ -42,6 +45,7 @@ export class FilterTargetComponent extends ObjectWidget implements OnDestroy, Af this.search .valueChanges .pipe( + takeUntil(this.ngUnsubscribe), distinctUntilChanged() ) .subscribe(query => this.searchEntityIds(query)); @@ -49,6 +53,7 @@ export class FilterTargetComponent extends ObjectWidget implements OnDestroy, Af this.script .valueChanges .pipe( + takeUntil(this.ngUnsubscribe), distinctUntilChanged(), skipWhile(() => this.targetType === 'ENTITY') ) @@ -61,6 +66,31 @@ export class FilterTargetComponent extends ObjectWidget implements OnDestroy, Af super.ngAfterViewInit(); this.script.setValue(this.targets[0]); this.search.setValidators(this.unique()); + + this.errors$ = this.formProperty.errorsChanges.pipe( + map(errors => + errors && errors.length > 1 ? + Array + .from(new Set(errors.filter(e => e.code !== 'ARRAY_LENGTH_SHORT').map(e => e.code))) + .map(id => ({ ...errors.find(e => e.code === id) })) + : [] + )); + + this.errors$ + .pipe( + takeUntil(this.ngUnsubscribe), + map(errors => errors.reduce((collection, e) => ({ ...collection, [e.code]: e.message }), {})), + map(errors => Object.keys(errors).length > 0 ? errors : null) + ) + .subscribe(errors => this.script.setErrors( + errors, + { + emitEvent: true + } + ) + ); + + this.hasErrors$ = this.errors$.pipe(map(e => e && e.length > 0)); } unique(): ValidatorFn { @@ -138,5 +168,7 @@ export class FilterTargetComponent extends ObjectWidget implements OnDestroy, Af ngOnDestroy(): void { this.store.dispatch(new ClearSearch()); + this.ngUnsubscribe.next(); + this.ngUnsubscribe.complete(); } } diff --git a/ui/src/app/schema-form/widget/select/select.component.html b/ui/src/app/schema-form/widget/select/select.component.html index e923b7c6d..f3f709717 100644 --- a/ui/src/app/schema-form/widget/select/select.component.html +++ b/ui/src/app/schema-form/widget/select/select.component.html @@ -1,5 +1,5 @@
-
diff --git a/ui/src/app/schema-form/widget/select/select.component.ts b/ui/src/app/schema-form/widget/select/select.component.ts index ecd50a75b..0d52b0835 100644 --- a/ui/src/app/schema-form/widget/select/select.component.ts +++ b/ui/src/app/schema-form/widget/select/select.component.ts @@ -61,4 +61,8 @@ export class CustomSelectComponent extends SelectWidget implements AfterViewInit getError(error: string): string { return HARD_CODED_REQUIRED_MSG.test(error) ? 'message.required' : error; } + + get cleanId(): string { + return this.formProperty._canonicalPath.replace('@', ''); + } } diff --git a/ui/src/app/shared/autocomplete/autocomplete.component.html b/ui/src/app/shared/autocomplete/autocomplete.component.html index 1f59e0ab5..95c1ed3dd 100644 --- a/ui/src/app/shared/autocomplete/autocomplete.component.html +++ b/ui/src/app/shared/autocomplete/autocomplete.component.html @@ -1,4 +1,9 @@ -