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 7986db770..91faafe86 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 @@ -20,7 +20,7 @@ class SeleniumSIDETest extends Specification { def "Selenium: just run one"() { setup: - def file = "/SHIBUI-1058_DelegatedAdmin_SubmitSourceWithError.side" + def file = "/CreateAndDeleteNameIDFormatScriptFilter.side" def main = new Main() def config = new DefaultConfig([] as String[]).with { System.properties.contains('') @@ -62,20 +62,26 @@ class SeleniumSIDETest extends Specification { assert result.level.exitCode == 0 where: - 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' + 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' // failing (Failure: Cannot click elements) - 'Create Metadata Source From Copy' | '/CreateMetadataSourceFromCopy.side' //failing, error reported to JJ/Ryan - '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: SubmitSourceWithError' | '/SHIBUI-1058_DelegatedAdmin_SubmitSourceWithError.side' //passing, but with heap problem + 'Create Metadata Source From Copy' | '/CreateMetadataSourceFromCopy.side' //failing, error reported to JJ/Ryan + '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: SubmitSourceWithError' | '/SHIBUI-1058_DelegatedAdmin_SubmitSourceWithError.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' } } diff --git a/backend/src/integration/resources/CreateAndDeleteNameIDFormatEntityIDFilter.side b/backend/src/integration/resources/CreateAndDeleteNameIDFormatEntityIDFilter.side new file mode 100644 index 000000000..a8cfd7aee --- /dev/null +++ b/backend/src/integration/resources/CreateAndDeleteNameIDFormatEntityIDFilter.side @@ -0,0 +1,1150 @@ +{ + "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 new file mode 100644 index 000000000..e7eff30f4 --- /dev/null +++ b/backend/src/integration/resources/CreateAndDeleteNameIDFormatRegexFilter.side @@ -0,0 +1,905 @@ +{ + "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 new file mode 100644 index 000000000..0d79c9e7d --- /dev/null +++ b/backend/src/integration/resources/CreateAndDeleteNameIDFormatScriptFilter.side @@ -0,0 +1,911 @@ +{ + "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 new file mode 100644 index 000000000..a4c8ab1ae --- /dev/null +++ b/backend/src/integration/resources/CreateFilesystemMetadataResolver.side @@ -0,0 +1,361 @@ +{ + "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/CreateLocalDynamicMetadataResolver.side b/backend/src/integration/resources/CreateLocalDynamicMetadataResolver.side new file mode 100644 index 000000000..dbd23a9e6 --- /dev/null +++ b/backend/src/integration/resources/CreateLocalDynamicMetadataResolver.side @@ -0,0 +1,411 @@ +{ + "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/DeleteScriptFilter.side b/backend/src/integration/resources/DeleteScriptFilter.side new file mode 100644 index 000000000..b2fd79399 --- /dev/null +++ b/backend/src/integration/resources/DeleteScriptFilter.side @@ -0,0 +1,860 @@ +{ + "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/SHIBUI-1031_AdminLogin.side b/backend/src/integration/resources/SHIBUI-1031_AdminLogin.side new file mode 100644 index 000000000..6d6ce66c1 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1031_AdminLogin.side @@ -0,0 +1,355 @@ +{ + "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_SubmitSourceWithError.side b/backend/src/integration/resources/SHIBUI-1058_DelegatedAdmin_SubmitSource.side similarity index 88% rename from backend/src/integration/resources/SHIBUI-1058_DelegatedAdmin_SubmitSourceWithError.side rename to backend/src/integration/resources/SHIBUI-1058_DelegatedAdmin_SubmitSource.side index 1c8346330..f95b7f071 100644 --- a/backend/src/integration/resources/SHIBUI-1058_DelegatedAdmin_SubmitSourceWithError.side +++ b/backend/src/integration/resources/SHIBUI-1058_DelegatedAdmin_SubmitSource.side @@ -957,6 +957,124 @@ ["xpath=//span[contains(.,'Save')]", "xpath:innerText"] ], "value": "" + }, { + "id": "bf8f56ff-b9c1-4c73-a41b-9edcf282d0be", + "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": "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=.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": "49cbb664-0971-4fcb-bfb8-2d97163bc2c2", + "comment": "", + "command": "waitForElementPresent", + "target": "css=.text-capitalize", + "targets": [], + "value": "3000" + }, { + "id": "f08049e7-7b4e-452c-8091-a7d67e0e1b81", + "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": "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": "97e9da2d-d3be-4442-ad99-6889369680da", + "comment": "", + "command": "click", + "target": "css=.text-primary", + "targets": [ + ["css=.text-primary", "css:finder"], + ["xpath=//div/i", "xpath:position"] + ], + "value": "" + }, { + "id": "0383aa75-506c-4309-b074-b28e3ada6c3f", + "comment": "", + "command": "waitForElementPresent", + "target": "css=.row:nth-child(1) > .col:nth-child(2)", + "targets": [], + "value": "3000" + }, { + "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" }] }], "suites": [{ diff --git a/backend/src/integration/resources/SHIBUI-1062.side b/backend/src/integration/resources/SHIBUI-1062.side new file mode 100644 index 000000000..b85710e5d --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1062.side @@ -0,0 +1,293 @@ +{ + "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