From f79ab8a8fe1167fe39fa07ca2364b707e3638831 Mon Sep 17 00:00:00 2001 From: chasegawa Date: Fri, 1 Oct 2021 13:24:17 -0700 Subject: [PATCH 01/20] SHIBUI-2110 Adding the display name for the custom attributes --- .../admin/ui/service/JsonSchemaBuilderService.groovy | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy index a45448016..bf41de0ef 100644 --- a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy +++ b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy @@ -30,9 +30,10 @@ class JsonSchemaBuilderService { resultNames.add(bundle.getName()) }) - result.addAll(customPropertiesConfiguration.getAttributes().collect { - it['name'] - }) + for (Map attribute : customPropertiesConfiguration.getAttributes()) { + result.add(attribute.get("name")) + resultNames.add(attribute.get("displayName")) + } json['enum'] = result json['enumNames'] = resultNames From 8950becc272e132f05070192505bb56ff3b08eae Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Sun, 3 Oct 2021 16:56:34 -0700 Subject: [PATCH 02/20] 2126 Added automated tests for all custom attribute types. Note that there is a bug with the list type, so the test for that one is incompete. --- .../admin/ui/SeleniumSIDETest.groovy | 7 + .../integration/resources/SHIBUI-1732-1.side | 1032 +++++++++++++++++ .../integration/resources/SHIBUI-1732-2.side | 975 ++++++++++++++++ .../integration/resources/SHIBUI-1732-3.side | 634 ++++++++++ .../integration/resources/SHIBUI-1732-4.side | 1007 ++++++++++++++++ .../integration/resources/SHIBUI-1732-5.side | 1014 ++++++++++++++++ .../integration/resources/SHIBUI-1732-6.side | 1025 ++++++++++++++++ .../integration/resources/SHIBUI-1732-7.side | 990 ++++++++++++++++ .../admin/ui/controller/DangerController.java | 10 +- 9 files changed, 6689 insertions(+), 5 deletions(-) create mode 100644 backend/src/integration/resources/SHIBUI-1732-1.side create mode 100644 backend/src/integration/resources/SHIBUI-1732-2.side create mode 100644 backend/src/integration/resources/SHIBUI-1732-3.side create mode 100644 backend/src/integration/resources/SHIBUI-1732-4.side create mode 100644 backend/src/integration/resources/SHIBUI-1732-5.side create mode 100644 backend/src/integration/resources/SHIBUI-1732-6.side create mode 100644 backend/src/integration/resources/SHIBUI-1732-7.side 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 9102edb52..370c17c9a 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 @@ -139,6 +139,13 @@ class SeleniumSIDETest extends Specification { 'SHIBUI-1744: Verify attribute bundles in metadata sources' | '/SHIBUI-1744-2.side' 'SHIBUI-1744: Verify attribute bundles in entity attribute filters' | '/SHIBUI-1744-3.side' 'SHIBUI-2116: Verify entity attribute bundle highlights' | '/SHIBUI-2116.side' // Note that this script WILL NOT PASS in the Selenium IDE due to ${driver} not being set (it is provided by this groovy script). + 'SHIBUI-1732: Create, use, and delete CEA String' | '/SHIBUI-1732-1.side' + 'SHIBUI-1732: Create, use, and delete CEA Boolean' | '/SHIBUI-1732-2.side' + 'SHIBUI-1732: Create, use, and delete CEA List' | '/SHIBUI-1732-3.side' // broken by a regression bug + 'SHIBUI-1732: Create, use, and delete CEA Long' | '/SHIBUI-1732-4.side' + 'SHIBUI-1732: Create, use, and delete CEA Double' | '/SHIBUI-1732-5.side' + 'SHIBUI-1732: Create, use, and delete CEA Duration' | '/SHIBUI-1732-6.side' + 'SHIBUI-1732: Create, use, and delete CEA Spring Bean' | '/SHIBUI-1732-7.side' 'SHIBUI-1392: Verify provider with script filter is persistable' | '/SHIBUI-1392.side' // Something about this test breaks all the other ones after it } } diff --git a/backend/src/integration/resources/SHIBUI-1732-1.side b/backend/src/integration/resources/SHIBUI-1732-1.side new file mode 100644 index 000000000..bd1d7cb7e --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1732-1.side @@ -0,0 +1,1032 @@ +{ + "id": "33610211-4c16-45ce-97a4-be5a2d07fbd1", + "version": "2.0", + "name": "SHIBUI-1732-1", + "url": "http://localhost:10101", + "tests": [{ + "id": "cf26eb5f-7a7e-4714-9b0c-9fb87e6932c6", + "name": "SHIBUI-1732-1", + "commands": [{ + "id": "f25d2952-1220-426a-8d43-67a442956d76", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "87f7d0f7-c026-4a78-8a4b-533835db340d", + "comment": "", + "command": "type", + "target": "id=username", + "targets": [ + ["id=username", "id"], + ["name=username", "name"], + ["css=#username", "css:finder"], + ["xpath=//input[@id='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "65214d46-18ff-40da-b546-2dc98c6167b1", + "comment": "", + "command": "type", + "target": "id=password", + "targets": [ + ["id=password", "id"], + ["name=password", "name"], + ["css=#password", "css:finder"], + ["xpath=//input[@id='password']", "xpath:attributes"], + ["xpath=//p[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "5cf1d4c9-e5d0-493e-9dea-2d5e40da76c0", + "comment": "", + "command": "click", + "target": "css=.btn", + "targets": [ + ["css=.btn", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'Sign in')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9d97ac5e-01a6-46f9-b89b-140a2ef15de5", + "comment": "", + "command": "waitForElementEditable", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [], + "value": "30000" + }, { + "id": "7fa2dae0-8538-4235-893f-0f94ced72439", + "comment": "", + "command": "open", + "target": "/api/heheheheheheheWipeout", + "targets": [], + "value": "" + }, { + "id": "6d1e3a09-ff22-44b3-9930-f0666a55319a", + "comment": "", + "command": "assertText", + "target": "css=body", + "targets": [], + "value": "yes, you did it" + }, { + "id": "0c432041-e046-4437-bade-ed8bab0764e8", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "4855e695-a233-438c-bab1-a22e2c000d7b", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d883d703-1b61-4427-9a49-333e33670848", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "619d0ea1-8b76-4bbc-acea-05cfc536b5cf", + "comment": "", + "command": "click", + "target": "linkText=Add new attribute", + "targets": [ + ["linkText=Add new attribute", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'  Add new attribute')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "641dffb9-09eb-4df5-ac60-bb3ad839a841", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "CustomString" + }, { + "id": "6a0a1bed-5e39-4681-908a-5d472758ba3b", + "comment": "", + "command": "select", + "target": "id=root_attributeType", + "targets": [], + "value": "label=String" + }, { + "id": "9d7df866-b2ca-4e49-9d1c-f2425d2d8b1b", + "comment": "", + "command": "type", + "target": "id=root_attributeFriendlyName", + "targets": [ + ["id=root_attributeFriendlyName", "id"], + ["css=#root_attributeFriendlyName", "css:finder"], + ["xpath=//input[@id='root_attributeFriendlyName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[3]/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/input", "xpath:position"] + ], + "value": "Custom String Friendly" + }, { + "id": "521dc1de-a239-4653-9dbd-070be886e521", + "comment": "", + "command": "type", + "target": "id=root_attributeName", + "targets": [ + ["id=root_attributeName", "id"], + ["css=#root_attributeName", "css:finder"], + ["xpath=//input[@id='root_attributeName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "Custom String Attribute" + }, { + "id": "9d1e9edd-125e-4798-beea-623ea68c7894", + "comment": "", + "command": "type", + "target": "id=root_displayName", + "targets": [ + ["id=root_displayName", "id"], + ["css=#root_displayName", "css:finder"], + ["xpath=//input[@id='root_displayName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[5]/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/input", "xpath:position"] + ], + "value": "Custom String Display" + }, { + "id": "13f96517-addf-4f90-bbde-6f7caeddae2c", + "comment": "", + "command": "type", + "target": "id=root_helpText", + "targets": [ + ["id=root_helpText", "id"], + ["css=#root_helpText", "css:finder"], + ["xpath=//input[@id='root_helpText']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[6]/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/input", "xpath:position"] + ], + "value": "Custom String Help" + }, { + "id": "c5ac0275-69ec-4b1c-aef8-7a2385359671", + "comment": "", + "command": "type", + "target": "id=root_defaultValue", + "targets": [ + ["id=root_defaultValue", "id"], + ["css=#root_defaultValue", "css:finder"], + ["xpath=//input[@id='root_defaultValue']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/input", "xpath:position"] + ], + "value": "Custom String Default" + }, { + "id": "69fccaf3-9fd2-48d2-99d1-e8cbf68127e1", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1fa1d68e-4b44-4dc8-b648-3ec245d4321a", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "68aa5967-2c0e-411f-b765-cae0293e9927", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-source", + "targets": [ + ["id=metadata-nav-dropdown-source", "id"], + ["linkText=Add a new metadata source", "linkText"], + ["css=#metadata-nav-dropdown-source", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata source')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-source']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata source')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "eb489ded-700b-4ada-9b8c-c6f534315b21", + "comment": "", + "command": "waitForElementEditable", + "target": "id=root_serviceProviderName", + "targets": [], + "value": "30000" + }, { + "id": "1e35f48c-8a6a-4167-80f9-5c649fb4ea55", + "comment": "", + "command": "click", + "target": "id=root_serviceProviderName", + "targets": [ + ["id=root_serviceProviderName", "id"], + ["css=#root_serviceProviderName", "css:finder"], + ["xpath=//input[@id='root_serviceProviderName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "70859a96-f31e-437f-aa04-077da53ad110", + "comment": "", + "command": "type", + "target": "id=root_serviceProviderName", + "targets": [ + ["id=root_serviceProviderName", "id"], + ["css=#root_serviceProviderName", "css:finder"], + ["xpath=//input[@id='root_serviceProviderName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "3ab3b955-056d-4d2a-874e-24959a575144", + "comment": "", + "command": "click", + "target": "id=root_entityId", + "targets": [ + ["id=root_entityId", "id"], + ["css=#root_entityId", "css:finder"], + ["xpath=//input[@id='root_entityId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "e53b6d49-8847-4c9a-b096-d833fe165181", + "comment": "", + "command": "type", + "target": "id=root_entityId", + "targets": [ + ["id=root_entityId", "id"], + ["css=#root_entityId", "css:finder"], + ["xpath=//input[@id='root_entityId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "c8c880f1-0ba6-4263-88c5-85df93d52cad", + "comment": "", + "command": "click", + "target": "css=.nav-link", + "targets": [ + ["css=.nav-link", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/nav/ul/li[2]/button", "xpath:idRelative"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "f8816f22-9925-4e6d-bf72-5759861b1135", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'3. User Interface / MDUI Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f62a87ae-0bb3-4468-8a73-27574593f4db", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. SP SSO Descriptor Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c4220e3a-58d6-4b08-961b-89ceaf546427", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "677638f7-a62a-4da9-8a2d-09171d0fc8ff", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "c13329a9-5bd0-4698-a549-c5ced793de0e", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'7. Assertion Consumer Service')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2c76e323-0ce2-4fea-adac-69aeb546c50d", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'8. Relying Party Overrides')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "002e853c-ed14-430a-ba32-a3c59da26305", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(7) span", + "targets": [ + ["css=.row:nth-child(7) span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/label/span", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/label/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom String Display')]", "xpath:innerText"] + ], + "value": "Custom String Display" + }, { + "id": "f0042162-66b3-466c-9525-b9df15dab57e", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomString", + "targets": [ + ["id=root_relyingPartyOverrides_CustomString", "id"], + ["css=#root_relyingPartyOverrides_CustomString", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomString']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "Custom String Default" + }, { + "id": "9883d188-01b9-455e-99cd-f81c5b8fec6b", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomString", + "targets": [ + ["id=root_relyingPartyOverrides_CustomString", "id"], + ["css=#root_relyingPartyOverrides_CustomString", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomString']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "18d47b12-fb78-4a33-9838-23c8cd38bb31", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomString", + "targets": [ + ["id=root_relyingPartyOverrides_CustomString", "id"], + ["css=#root_relyingPartyOverrides_CustomString", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomString']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "Custom String Default Edited" + }, { + "id": "8e40dd0d-6a5c-45a3-aef4-4c271468c0b6", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "2f34963c-7900-43b1-a634-3d2f05ca6202", + "comment": "", + "command": "click", + "target": "css=.direction:nth-child(2)", + "targets": [ + ["css=.direction:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span[2]", "xpath:idRelative"], + ["xpath=//li[3]/button/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'Next')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "220200b4-4b3f-4c1b-9d89-e17a136fb4c1", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:idRelative"], + ["xpath=//section[8]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom String Display')]", "xpath:innerText"] + ], + "value": "Custom String Display" + }, { + "id": "33312edd-a161-428c-9e5a-63d1d245b1c7", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[8]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'Custom String Default Edited')]", "xpath:innerText"] + ], + "value": "Custom String Default Edited" + }, { + "id": "dfd0c28b-e997-400b-b84f-b06df3e6e73f", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "f7ff143f-a77e-4c73-85de-262a0c9b00f6", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/703fdd0e-c971-4d78-9128-3a8d1f4f458d/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "98fec20c-6391-479c-8340-fbe90488afbe", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(2)", + "targets": [], + "value": "30000" + }, { + "id": "77768da6-c87e-49c6-a2d1-322218196038", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[7]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'Custom String Default Edited')]", "xpath:innerText"] + ], + "value": "Custom String Default Edited" + }, { + "id": "edb8ae5b-b1d6-4078-b3d2-d41ece0bbd28", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:idRelative"], + ["xpath=//section[7]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom String Display')]", "xpath:innerText"] + ], + "value": "Custom String Display" + }, { + "id": "0a3b27ae-3833-4790-8106-ca46efdc585b", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7d163610-1a3b-4b21-aedc-792c6f6b35fe", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-provider", + "targets": [ + ["id=metadata-nav-dropdown-provider", "id"], + ["linkText=Add a new metadata provider", "linkText"], + ["css=#metadata-nav-dropdown-provider", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata provider')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-provider']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/new')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c6e4f105-81ce-4132-b82b-d28d11f27746", + "comment": "", + "command": "type", + "target": "name=name", + "targets": [ + ["name=name", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//input[@name='name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/div/form/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "2c98e69c-d595-48a7-ac67-eca5d9f3a784", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=FileBackedHttpMetadataResolver" + }, { + "id": "9f71997a-16cf-4703-b0e9-57a179a535a1", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "14f9bdcf-a54a-4f3b-9c4a-e4e9e94647ba", + "comment": "", + "command": "type", + "target": "id=root_xmlId", + "targets": [ + ["id=root_xmlId", "id"], + ["css=#root_xmlId", "css:finder"], + ["xpath=//input[@id='root_xmlId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "1" + }, { + "id": "82f4bea2-911a-48c6-9828-a78dfc205ca8", + "comment": "", + "command": "type", + "target": "id=root_metadataURL", + "targets": [ + ["id=root_metadataURL", "id"], + ["css=#root_metadataURL", "css:finder"], + ["xpath=//input[@id='root_metadataURL']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "0b4842ab-99d5-48aa-8154-04903b093184", + "comment": "", + "command": "click", + "target": "id=root_initializeFromBackupFile-No", + "targets": [ + ["id=root_initializeFromBackupFile-No", "id"], + ["css=#root_initializeFromBackupFile-No", "css:finder"], + ["xpath=//input[@id='root_initializeFromBackupFile-No']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[3]/div/div/div[2]/input", "xpath:idRelative"], + ["xpath=//div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "c8379569-bac3-4330-ac9c-b008df778ddc", + "comment": "", + "command": "type", + "target": "id=root_backingFile", + "targets": [ + ["id=root_backingFile", "id"], + ["css=#root_backingFile", "css:finder"], + ["xpath=//input[@id='root_backingFile']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo" + }, { + "id": "0a66e428-5884-4dae-b7a9-0e3f65b7428f", + "comment": "", + "command": "click", + "target": "css=.rbt-input-main", + "targets": [ + ["css=.rbt-input-main", "css:finder"], + ["xpath=//input[@value='']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[5]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b1f14d82-d268-4c50-b1bc-dc33cf852d01", + "comment": "", + "command": "click", + "target": "id=option-selector-root_backupFileInitNextRefreshDelay-item-1", + "targets": [ + ["id=option-selector-root_backupFileInitNextRefreshDelay-item-1", "id"], + ["linkText=PT30S", "linkText"], + ["css=#option-selector-root_backupFileInitNextRefreshDelay-item-1", "css:finder"], + ["xpath=//a[@id='option-selector-root_backupFileInitNextRefreshDelay-item-1']", "xpath:attributes"], + ["xpath=//div[@id='option-selector-root_backupFileInitNextRefreshDelay']/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div[2]/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3379faa0-519c-4b8f-a648-d3b48c6dafdd", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "74b99d1c-823d-45ad-a5e6-03fd69ac9755", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. Metadata Filter Plugins')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "98f58fa5-85de-4b1c-a564-ba10431ac999", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "b90e8182-d0d7-4dc0-8bf7-8095616d7b63", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "5fb3d963-787a-4105-a6aa-a7e7aa1d0926", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/cf3ddc35-0526-4a54-a1b6-fa023ccd6b9d/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f8ea5fbd-0899-4464-afeb-288ae427ae10", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=#filters .btn", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/cf3ddc35-0526-4a54-a1b6-fa023ccd6b9d/filter/new')]", "xpath:href"], + ["xpath=//div[3]/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c77586b9-2975-410f-81c7-8cf5a088eed0", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "56914983-23a7-4e94-af7e-8a9387b246d2", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Filter" + }, { + "id": "61a26546-bd4b-452f-add1-7640b993e116", + "comment": "", + "command": "click", + "target": "id=dropdown-label.filter-target-type", + "targets": [ + ["id=dropdown-label.filter-target-type", "id"], + ["css=#dropdown-label\\.filter-target-type", "css:finder"], + ["xpath=//button[@id='dropdown-label.filter-target-type']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ea91362a-0140-4883-8420-be858391f0d9", + "comment": "", + "command": "click", + "target": "css=.show > .dropdown-item:nth-child(3)", + "targets": [ + ["css=.show > .dropdown-item:nth-child(3)", "css:finder"], + ["xpath=(//button[@type='button'])[17]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/div/button[3]", "xpath:idRelative"], + ["xpath=//div/button[3]", "xpath:position"], + ["xpath=//button[contains(.,'Script')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8a23d043-6701-4d53-968e-18409a8fc41b", + "comment": "", + "command": "type", + "target": "css=.npm__react-simple-code-editor__textarea", + "targets": [ + ["css=.npm__react-simple-code-editor__textarea", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div[2]/div/div/div/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "eval(true);" + }, { + "id": "09314892-17c8-40a8-be29-42626663b257", + "comment": "", + "command": "click", + "target": "css=.nav-link:nth-child(2)", + "targets": [ + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[10]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div/nav/button[2]", "xpath:idRelative"], + ["xpath=//nav/button[2]", "xpath:position"], + ["xpath=//button[contains(.,'Options')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "62aae077-0f97-48ec-97cb-2111ea9e3400", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(7) > .col-12 > .form-group > div > .mb-0 span", + "targets": [ + ["css=.row:nth-child(7) > .col-12 > .form-group > div > .mb-0 span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[7]/div/div/div/div/label/span", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/label/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom String Display')]", "xpath:innerText"] + ], + "value": "Custom String Display" + }, { + "id": "2de49051-ce60-4f45-9cdc-740620f976ea", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomString", + "targets": [ + ["id=root_relyingPartyOverrides_CustomString", "id"], + ["css=#root_relyingPartyOverrides_CustomString", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomString']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "Custom String Default" + }, { + "id": "2bd9c701-fad0-4bae-bbad-9206dc244bbc", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomString", + "targets": [ + ["id=root_relyingPartyOverrides_CustomString", "id"], + ["css=#root_relyingPartyOverrides_CustomString", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomString']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "4261bcf8-7c6b-41a9-8c5d-a63667c76b93", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomString", + "targets": [ + ["id=root_relyingPartyOverrides_CustomString", "id"], + ["css=#root_relyingPartyOverrides_CustomString", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomString']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "Custom String Default Edited" + }, { + "id": "8d5bcff3-ec07-420e-bdff-41d043cfb6ba", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[7]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3c45f035-bfe7-425e-b46e-bf35b69e8e27", + "comment": "", + "command": "click", + "target": "css=.mx-4", + "targets": [ + ["css=.mx-4", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='filters']/ul/li/div/button", "xpath:idRelative"], + ["xpath=//li/div/button", "xpath:position"], + ["xpath=//button[contains(.,'test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "848c273e-a5b1-4ff8-90e2-ee0ecbadff2d", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(1) > div:nth-child(7) .d-block:nth-child(1)", + "targets": [ + ["css=div:nth-child(1) > div:nth-child(7) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div[7]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom String Display')]", "xpath:innerText"] + ], + "value": "Custom String Display" + }, { + "id": "4524e88f-bbfc-4f4f-b72d-30cce97564da", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(1) > div:nth-child(7) .text-truncate", + "targets": [ + ["css=div:nth-child(1) > div:nth-child(7) .text-truncate", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div[7]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'Custom String Default')]", "xpath:innerText"] + ], + "value": "Custom String Default Edited" + }, { + "id": "c62392e1-3fc5-4266-857c-6839757b2f2f", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "59102da0-eb09-492e-b5a7-bf9d4fe52ea1", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1f30bf5d-72cb-42e9-b78c-f6950babafa2", + "comment": "", + "command": "click", + "target": "css=.fa-trash", + "targets": [ + ["css=.fa-trash", "css:finder"] + ], + "value": "" + }, { + "id": "10f39e34-44be-49f1-aaaa-d895277994e4", + "comment": "", + "command": "click", + "target": "css=.btn-danger", + "targets": [ + ["css=.btn-danger", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[3]/div/div/div[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "331c4ecd-f294-432b-97d0-ded4efdc6454", + "comment": "", + "command": "waitForElementVisible", + "target": "linkText=Add new attribute", + "targets": [ + ["linkText=Add new attribute", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes/new')]", "xpath:href"], + ["xpath=//section/div/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'  Add new attribute')]", "xpath:innerText"] + ], + "value": "30000" + }, { + "id": "4d53dbf8-67de-4cce-be3a-748559187023", + "comment": "", + "command": "assertElementNotPresent", + "target": "css=table > tbody > tr", + "targets": [], + "value": "" + }] + }], + "suites": [{ + "id": "a9b788f1-5f67-4d2c-82a5-30dc53eb75e9", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["cf26eb5f-7a7e-4714-9b0c-9fb87e6932c6"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1732-2.side b/backend/src/integration/resources/SHIBUI-1732-2.side new file mode 100644 index 000000000..82bfdd00a --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1732-2.side @@ -0,0 +1,975 @@ +{ + "id": "aa9168a6-06a8-48f1-bbe1-93be329bbc3d", + "version": "2.0", + "name": "SHIBUI-1732-2", + "url": "http://localhost:10101", + "tests": [{ + "id": "1c2e8860-20d7-42d2-93aa-31bf5d845257", + "name": "SHIBUI-1732-2", + "commands": [{ + "id": "1c33433a-b200-47e9-8bbd-f927e80af670", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "54315958-12d7-4851-8257-29fb1cc88c57", + "comment": "", + "command": "type", + "target": "id=username", + "targets": [ + ["id=username", "id"], + ["name=username", "name"], + ["css=#username", "css:finder"], + ["xpath=//input[@id='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "0df12db0-923a-43ce-af7b-ef4930a825a3", + "comment": "", + "command": "type", + "target": "id=password", + "targets": [ + ["id=password", "id"], + ["name=password", "name"], + ["css=#password", "css:finder"], + ["xpath=//input[@id='password']", "xpath:attributes"], + ["xpath=//p[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "47bd2f5b-6e4a-4630-bbd3-e54a7a3675ed", + "comment": "", + "command": "click", + "target": "css=.btn", + "targets": [ + ["css=.btn", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'Sign in')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f2163126-c0a8-40a0-8446-81a8c3ceb51f", + "comment": "", + "command": "waitForElementVisible", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [], + "value": "30000" + }, { + "id": "464e306a-d281-4805-b002-14348f444856", + "comment": "", + "command": "open", + "target": "/api/heheheheheheheWipeout", + "targets": [], + "value": "" + }, { + "id": "0cb7e597-d665-46ae-a45b-e7055510181e", + "comment": "", + "command": "assertText", + "target": "css=body", + "targets": [], + "value": "yes, you did it" + }, { + "id": "eaa2c5e6-f91c-4127-800a-aaa74024b87d", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "e545904b-753b-405b-8979-fc887ad3dda9", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9a365129-81f8-44f9-ad35-5be2b6f2cf81", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3811e53a-a4c9-4f5a-a0eb-25e14394cb98", + "comment": "", + "command": "click", + "target": "linkText=Add new attribute", + "targets": [ + ["linkText=Add new attribute", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes/new')]", "xpath:href"], + ["xpath=//section/div/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'  Add new attribute')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e31303fb-780e-461f-8ab9-8f1dacd68b60", + "comment": "", + "command": "select", + "target": "id=root_attributeType", + "targets": [], + "value": "label=Boolean" + }, { + "id": "412a1565-2229-4879-b7d5-ed2193320ab8", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "CustomBoolean" + }, { + "id": "45c3d4e9-10ef-4b8f-8e5b-277384386207", + "comment": "", + "command": "type", + "target": "id=root_attributeFriendlyName", + "targets": [ + ["id=root_attributeFriendlyName", "id"], + ["css=#root_attributeFriendlyName", "css:finder"], + ["xpath=//input[@id='root_attributeFriendlyName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[3]/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/input", "xpath:position"] + ], + "value": "Custom Boolean Friendly" + }, { + "id": "eae63294-c3f8-4e18-84dc-04c3775fa863", + "comment": "", + "command": "type", + "target": "id=root_attributeName", + "targets": [ + ["id=root_attributeName", "id"], + ["css=#root_attributeName", "css:finder"], + ["xpath=//input[@id='root_attributeName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "Custom Boolean Attribute" + }, { + "id": "28afd378-b30a-409c-8fa2-985bbef67192", + "comment": "", + "command": "type", + "target": "id=root_displayName", + "targets": [ + ["id=root_displayName", "id"], + ["css=#root_displayName", "css:finder"], + ["xpath=//input[@id='root_displayName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[5]/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/input", "xpath:position"] + ], + "value": "Custom Boolean Display" + }, { + "id": "44d18393-0805-4ce9-a784-1cbfd5ba9164", + "comment": "", + "command": "type", + "target": "id=root_helpText", + "targets": [ + ["id=root_helpText", "id"], + ["css=#root_helpText", "css:finder"], + ["xpath=//input[@id='root_helpText']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[6]/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/input", "xpath:position"] + ], + "value": "Custom Boolean Help" + }, { + "id": "1c1e0a14-a4be-406d-80c5-809de8704799", + "comment": "", + "command": "type", + "target": "id=root_persistValue", + "targets": [ + ["id=root_persistValue", "id"], + ["css=#root_persistValue", "css:finder"], + ["xpath=//input[@id='root_persistValue']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "CustomBooleanPersist" + }, { + "id": "130b44b4-b1d8-49ef-b3c5-a1ae3174b53b", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f25470c5-ab3e-4218-9b72-3f3faf124e41", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c34f5f32-2eaf-404a-8114-eeab0fed0979", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-source", + "targets": [ + ["id=metadata-nav-dropdown-source", "id"], + ["linkText=Add a new metadata source", "linkText"], + ["css=#metadata-nav-dropdown-source", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata source')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-source']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata source')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7a4c5749-6a9e-4628-9f01-876fd6fb71d4", + "comment": "", + "command": "waitForElementEditable", + "target": "id=root_serviceProviderName", + "targets": [], + "value": "30000" + }, { + "id": "184fd613-23f4-42c1-bbfc-8685803a7b6c", + "comment": "", + "command": "type", + "target": "id=root_serviceProviderName", + "targets": [ + ["id=root_serviceProviderName", "id"], + ["css=#root_serviceProviderName", "css:finder"], + ["xpath=//input[@id='root_serviceProviderName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "fb769658-5c9c-47cf-a9cb-670a93d6a223", + "comment": "", + "command": "type", + "target": "id=root_entityId", + "targets": [ + ["id=root_entityId", "id"], + ["css=#root_entityId", "css:finder"], + ["xpath=//input[@id='root_entityId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "8114f45f-fa25-4a56-9b9b-4482d724e1d5", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "dffdfe75-03bd-41aa-bf3a-c02a75a97ae9", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8843724b-132b-4436-b28e-a261f9eeae8a", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "82d234b3-40ce-4898-8d9a-e1b56de5d6d2", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "d6fd7771-e8bb-4c9e-a8c7-63a95b3276f5", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "b45b1e34-686e-4115-bc37-0675438243f4", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "956c8eb3-df9e-4221-8065-ad51976717af", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "fb8782e1-3376-4c59-af8a-5cf383c78239", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(6) .d-flex > span", + "targets": [ + ["css=.row:nth-child(6) .d-flex > span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/label/span/span", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/label/span/span", "xpath:position"] + ], + "value": "Custom Boolean Display" + }, { + "id": "2b10ecc7-3e52-4a79-8d9c-a9305eae4cce", + "comment": "", + "command": "assertNotChecked", + "target": "id=root_relyingPartyOverrides_CustomBoolean", + "targets": [ + ["id=root_relyingPartyOverrides_CustomBoolean", "id"], + ["css=#root_relyingPartyOverrides_CustomBoolean", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomBoolean']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "d7360ebc-7dc0-46d0-98f2-ac8ca1902c0e", + "comment": "", + "command": "click", + "target": "id=root_relyingPartyOverrides_CustomBoolean", + "targets": [ + ["id=root_relyingPartyOverrides_CustomBoolean", "id"], + ["css=#root_relyingPartyOverrides_CustomBoolean", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomBoolean']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b533b683-a670-41d5-aa69-4b654ebe1fbb", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "f26bf0d1-96d3-412f-920d-5d42452a88fe", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "a7db0511-2584-4cb0-bbaa-2341a705ef07", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(8) div:nth-child(6) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(8) div:nth-child(6) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[6]/div/span", "xpath:idRelative"], + ["xpath=//section[8]/div/div[2]/div[2]/div/div[6]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Boolean Display')]", "xpath:innerText"] + ], + "value": "Custom Boolean Display" + }, { + "id": "771a8f70-ed99-486f-90f3-3401215d8743", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(8) div:nth-child(6) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(8) div:nth-child(6) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[6]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[8]/div/div[2]/div[2]/div/div[6]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'true')]", "xpath:innerText"] + ], + "value": "true" + }, { + "id": "459429bc-5f00-4ac5-9b43-3576ace9cd01", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "55c7f3cb-feb6-47a2-b30f-7f642996fff4", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/e5a4c95b-b860-4006-af5c-53b48633e717/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "90d005ef-dee5-46a6-8f80-fbc72b812eea", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mb-4:nth-child(9) div:nth-child(6) .d-block:nth-child(1)", + "targets": [], + "value": "30000" + }, { + "id": "4dc24329-7c83-43c9-86d6-95f9bf5da92d", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(9) div:nth-child(6) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(9) div:nth-child(6) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[6]/div/span", "xpath:idRelative"], + ["xpath=//section[7]/div/div[2]/div[2]/div/div[6]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Boolean Display')]", "xpath:innerText"] + ], + "value": "Custom Boolean Display" + }, { + "id": "32f6aaa6-a256-4c36-932e-7c45b4045cba", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(9) div:nth-child(6) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(9) div:nth-child(6) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[6]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[7]/div/div[2]/div[2]/div/div[6]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'true')]", "xpath:innerText"] + ], + "value": "true" + }, { + "id": "0fb6eb28-b554-4a12-9e9a-87d6219d681c", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "de8f7afc-fb7f-4883-a22d-8df5309c4de0", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-provider", + "targets": [ + ["id=metadata-nav-dropdown-provider", "id"], + ["linkText=Add a new metadata provider", "linkText"], + ["css=#metadata-nav-dropdown-provider", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata provider')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-provider']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/new')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "32d9424e-f20c-4fae-a671-f69a8e892837", + "comment": "", + "command": "waitForElementEditable", + "target": "name=type", + "targets": [], + "value": "30000" + }, { + "id": "28e3357f-8561-4503-840a-699622386327", + "comment": "", + "command": "type", + "target": "name=name", + "targets": [ + ["name=name", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//input[@name='name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/div/form/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "7c10b23a-a427-4cc4-bae9-9e5606712b6e", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=FileBackedHttpMetadataResolver" + }, { + "id": "d2e08bc7-a77d-4794-b2c6-d97c5bb1baf0", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.nav-link", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/nav/ul/li[2]/button", "xpath:idRelative"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "41989186-becb-41b1-8c8d-067421587617", + "comment": "", + "command": "type", + "target": "id=root_xmlId", + "targets": [ + ["id=root_xmlId", "id"], + ["css=#root_xmlId", "css:finder"], + ["xpath=//input[@id='root_xmlId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "1" + }, { + "id": "7cfa57b0-2074-4948-8633-ec40976b83df", + "comment": "", + "command": "type", + "target": "id=root_metadataURL", + "targets": [ + ["id=root_metadataURL", "id"], + ["css=#root_metadataURL", "css:finder"], + ["xpath=//input[@id='root_metadataURL']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "ce621524-3048-4cac-9e0a-dc19eb409e9c", + "comment": "", + "command": "type", + "target": "id=root_backingFile", + "targets": [ + ["id=root_backingFile", "id"], + ["css=#root_backingFile", "css:finder"], + ["xpath=//input[@id='root_backingFile']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo" + }, { + "id": "925edf68-26c9-4309-8739-6b08a8c04537", + "comment": "", + "command": "click", + "target": "css=.rbt-input-main", + "targets": [ + ["css=.rbt-input-main", "css:finder"], + ["xpath=//input[@value='']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[5]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "0c0e50f7-3733-4404-ac57-94ebbfb6d0cd", + "comment": "", + "command": "click", + "target": "id=option-selector-root_backupFileInitNextRefreshDelay-item-1", + "targets": [ + ["id=option-selector-root_backupFileInitNextRefreshDelay-item-1", "id"], + ["linkText=PT30S", "linkText"], + ["css=#option-selector-root_backupFileInitNextRefreshDelay-item-1", "css:finder"], + ["xpath=//a[@id='option-selector-root_backupFileInitNextRefreshDelay-item-1']", "xpath:attributes"], + ["xpath=//div[@id='option-selector-root_backupFileInitNextRefreshDelay']/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div[2]/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "610609cc-d109-425a-bbb7-e1de4407352c", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "574ce5ed-446b-4070-94ae-5c35dc574b25", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. Metadata Filter Plugins')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "093e3bb3-be73-4584-822c-fec3046d5543", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "38a774d9-2fc3-4b3f-a7b1-6b61bd44ca0d", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "38455734-1406-41f3-8d02-17cddaea140c", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/52364d49-e2b7-4cb5-b507-a73aaedf4998/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "122fbc81-89ff-4ae2-b03d-b245cc747ed3", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=#filters .btn", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/52364d49-e2b7-4cb5-b507-a73aaedf4998/filter/new')]", "xpath:href"], + ["xpath=//div[3]/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a41cc9f7-1b58-4ebb-977c-af0db91c8d52", + "comment": "", + "command": "waitForElementEditable", + "target": "name=type", + "targets": [], + "value": "30000" + }, { + "id": "d117745a-9678-4cae-9179-f7ae32ce4579", + "comment": "", + "command": "click", + "target": "name=type", + "targets": [ + ["name=type", "name"], + ["css=.custom-select", "css:finder"], + ["xpath=//select[@name='type']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/div/div/div/form/div/select", "xpath:idRelative"], + ["xpath=//select", "xpath:position"] + ], + "value": "" + }, { + "id": "107b35c6-2b55-4e13-8450-a9bc48175735", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "c27ce717-8d01-4e19-9810-c90fc3ae8263", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Filter" + }, { + "id": "b9e15f63-d5d9-4a0a-9d85-2907f97e45b9", + "comment": "", + "command": "click", + "target": "id=dropdown-label.filter-target-type", + "targets": [ + ["id=dropdown-label.filter-target-type", "id"], + ["css=#dropdown-label\\.filter-target-type", "css:finder"], + ["xpath=//button[@id='dropdown-label.filter-target-type']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d3f12408-7323-4b82-b402-13701efd8f85", + "comment": "", + "command": "click", + "target": "css=.show > .dropdown-item:nth-child(3)", + "targets": [ + ["css=.show > .dropdown-item:nth-child(3)", "css:finder"], + ["xpath=(//button[@type='button'])[17]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/div/button[3]", "xpath:idRelative"], + ["xpath=//div/button[3]", "xpath:position"], + ["xpath=//button[contains(.,'Script')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "09379d53-e8eb-4679-9b1c-2186b4019371", + "comment": "", + "command": "click", + "target": "css=.npm__react-simple-code-editor__textarea", + "targets": [ + ["css=.npm__react-simple-code-editor__textarea", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div[2]/div/div/div/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "79e09c6d-cf83-4fbf-93c1-2791047e2b5b", + "comment": "", + "command": "type", + "target": "css=.npm__react-simple-code-editor__textarea", + "targets": [ + ["css=.npm__react-simple-code-editor__textarea", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div[2]/div/div/div/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "eval(true);" + }, { + "id": "6190b2b4-4c9c-4ad2-b9d7-2473d3e0d41a", + "comment": "", + "command": "click", + "target": "css=.nav-link:nth-child(2)", + "targets": [ + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[10]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div/nav/button[2]", "xpath:idRelative"], + ["xpath=//nav/button[2]", "xpath:position"], + ["xpath=//button[contains(.,'Options')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "73e0928e-a395-4cdd-b90c-229a01cbe7c4", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(6) .d-flex > span", + "targets": [ + ["css=.row:nth-child(6) .d-flex > span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[6]/div/div/div/div/div/label/span/span", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/label/span/span", "xpath:position"] + ], + "value": "Custom Boolean Display" + }, { + "id": "86d86094-13ee-47de-85e6-7346172d8c67", + "comment": "", + "command": "click", + "target": "id=root_relyingPartyOverrides_CustomBoolean", + "targets": [ + ["id=root_relyingPartyOverrides_CustomBoolean", "id"], + ["css=#root_relyingPartyOverrides_CustomBoolean", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomBoolean']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[6]/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b67065c2-3953-4e91-ac7d-732f3802afa6", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[7]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "92fc6d10-d626-4384-8268-faae72946100", + "comment": "", + "command": "pause", + "target": "3000", + "targets": [], + "value": "" + }, { + "id": "2ffb3643-6816-4a65-a29b-f91c04c83c42", + "comment": "", + "command": "click", + "target": "css=.mx-4", + "targets": [ + ["css=.mx-4", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='filters']/ul/li/div/button", "xpath:idRelative"], + ["xpath=//li/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Test Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d445f01f-b936-4ebb-b011-8ce2f056e06c", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(1) > div:nth-child(6) > .d-flex > .d-block:nth-child(1)", + "targets": [ + ["css=div:nth-child(1) > div:nth-child(6) > .d-flex > .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[6]/div/span", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div[6]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Boolean Display')]", "xpath:innerText"] + ], + "value": "Custom Boolean Display" + }, { + "id": "662f922e-4d41-4274-b7a3-aae312fe8c36", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(1) > div:nth-child(6) > .d-flex > .text-truncate", + "targets": [ + ["css=div:nth-child(1) > div:nth-child(6) > .d-flex > .text-truncate", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[6]/div/span[2]", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div[6]/div/span[2]", "xpath:position"] + ], + "value": "true" + }, { + "id": "6147ff08-6c93-42be-9dc5-3733eaf55d96", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8725a8a7-97f8-4ca2-a8bd-0ac9c542933d", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a5fa0649-7780-4371-9292-470957d582bc", + "comment": "", + "command": "click", + "target": "css=.fa-trash > path", + "targets": [ + ["css=.fa-trash > path", "css:finder"] + ], + "value": "" + }, { + "id": "175b83c8-05b0-4045-b69a-502cb79c3a3c", + "comment": "", + "command": "click", + "target": "css=.btn-danger", + "targets": [ + ["css=.btn-danger", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[3]/div/div/div[3]/button", "xpath:position"] + ], + "value": "" + }] + }], + "suites": [{ + "id": "4c985215-babb-4f22-8422-505980ce939b", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["1c2e8860-20d7-42d2-93aa-31bf5d845257"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1732-3.side b/backend/src/integration/resources/SHIBUI-1732-3.side new file mode 100644 index 000000000..ae15566bb --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1732-3.side @@ -0,0 +1,634 @@ +{ + "id": "3200c2aa-0382-48f4-a83d-5ecbc3ebdf29", + "version": "2.0", + "name": "SHIBUI-1732-3", + "url": "http://localhost:10101", + "tests": [{ + "id": "4827d8a8-0f07-40ad-aab3-b4858faf45a6", + "name": "SHIBUI-1732-3", + "commands": [{ + "id": "69a71870-d55c-42d1-80dd-493c28479b98", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "7962ad24-0a23-4693-b19c-1c8fd5f263ea", + "comment": "", + "command": "type", + "target": "id=username", + "targets": [ + ["id=username", "id"], + ["name=username", "name"], + ["css=#username", "css:finder"], + ["xpath=//input[@id='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "03540e0d-6f3b-4ddc-9236-908402a9c23f", + "comment": "", + "command": "type", + "target": "id=password", + "targets": [ + ["id=password", "id"], + ["name=password", "name"], + ["css=#password", "css:finder"], + ["xpath=//input[@id='password']", "xpath:attributes"], + ["xpath=//p[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "473a14ad-593f-4d8f-b41f-7b1af3d7059d", + "comment": "", + "command": "click", + "target": "css=.btn", + "targets": [ + ["css=.btn", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'Sign in')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "da7d071b-42d1-44eb-8937-916993bd1ba4", + "comment": "", + "command": "waitForElementVisible", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [], + "value": "30000" + }, { + "id": "fe43133b-346d-4931-a8aa-5401b8bf90bb", + "comment": "", + "command": "open", + "target": "/api/heheheheheheheWipeout", + "targets": [], + "value": "" + }, { + "id": "dcc7311c-6448-4c6b-bd79-740b74082ef4", + "comment": "", + "command": "assertText", + "target": "css=body", + "targets": [], + "value": "yes, you did it" + }, { + "id": "8cef2009-da1b-47d9-bd42-1802016e92bd", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "83d61f40-9fb9-49db-a15a-3cbd4c50187b", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b1ac8d53-da06-41c2-8235-65cf47a2de24", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7043d404-beb5-4bb6-8650-827c9de14641", + "comment": "", + "command": "click", + "target": "linkText=Add new attribute", + "targets": [ + ["linkText=Add new attribute", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'  Add new attribute')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "21003a02-13d3-4f42-a221-ce2e2fa1163d", + "comment": "", + "command": "select", + "target": "id=root_attributeType", + "targets": [], + "value": "label=List" + }, { + "id": "8e5ef6c4-105d-4d07-9b05-c538d4c4910a", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "CustomList" + }, { + "id": "7184884b-7e34-40e4-8506-064a06488730", + "comment": "", + "command": "type", + "target": "id=root_attributeFriendlyName", + "targets": [ + ["id=root_attributeFriendlyName", "id"], + ["css=#root_attributeFriendlyName", "css:finder"], + ["xpath=//input[@id='root_attributeFriendlyName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[3]/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/input", "xpath:position"] + ], + "value": "Custom List Friendly" + }, { + "id": "7b658849-d100-4a94-84af-df8edce46b06", + "comment": "", + "command": "type", + "target": "id=root_attributeName", + "targets": [ + ["id=root_attributeName", "id"], + ["css=#root_attributeName", "css:finder"], + ["xpath=//input[@id='root_attributeName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "Custom List Attribute" + }, { + "id": "f5a2227c-a7b3-4bb2-adc5-ce864c785c2e", + "comment": "", + "command": "type", + "target": "id=root_displayName", + "targets": [ + ["id=root_displayName", "id"], + ["css=#root_displayName", "css:finder"], + ["xpath=//input[@id='root_displayName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[5]/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/input", "xpath:position"] + ], + "value": "Custom List Display" + }, { + "id": "d4ad67eb-5c77-4a7c-aaff-eb54aaca0522", + "comment": "", + "command": "type", + "target": "id=root_helpText", + "targets": [ + ["id=root_helpText", "id"], + ["css=#root_helpText", "css:finder"], + ["xpath=//input[@id='root_helpText']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[6]/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/input", "xpath:position"] + ], + "value": "Custom List Help" + }, { + "id": "a87d69dc-79c7-45bc-8566-c5bbf0ccc3a6", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.array-add-button", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7fb1fd5a-3f7b-4261-b443-40fc11b3af65", + "comment": "", + "command": "type", + "target": "css=.flex-grow-1", + "targets": [ + ["css=.flex-grow-1", "css:finder"], + ["xpath=//input[@value='foo']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/div/div/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "foo" + }, { + "id": "f9616d7a-c7fe-4e37-b3ae-68fe0af30158", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.array-add-button", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5cacd705-07f8-4aab-a4da-a5b4476ab08f", + "comment": "", + "command": "type", + "target": "css=.my-2:nth-child(2) > .flex-grow-1", + "targets": [ + ["css=.my-2:nth-child(2) > .flex-grow-1", "css:finder"], + ["xpath=//input[@value='bar']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/div/div/div[2]/div[2]/input", "xpath:idRelative"], + ["xpath=//div[2]/input", "xpath:position"] + ], + "value": "bar" + }, { + "id": "256a4457-67bf-4f07-9136-462101a9c096", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.array-add-button", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "cabddc95-2fe0-4ff9-aa0c-73c51959bf7d", + "comment": "", + "command": "type", + "target": "css=.my-2:nth-child(3) > .flex-grow-1", + "targets": [ + ["css=.my-2:nth-child(3) > .flex-grow-1", "css:finder"], + ["xpath=//input[@value='baz']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/div/div/div[2]/div[3]/input", "xpath:idRelative"], + ["xpath=//div[3]/input", "xpath:position"] + ], + "value": "baz" + }, { + "id": "858e7ff4-41a9-41dd-a9c9-6b1cb4f1a38f", + "comment": "", + "command": "click", + "target": "name=default", + "targets": [ + ["name=default", "name"], + ["css=.my-2:nth-child(1) > .mx-4", "css:finder"], + ["xpath=//input[@name='default']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/div/div/div[2]/div/input[2]", "xpath:idRelative"], + ["xpath=//input[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "cf66edf7-f4c4-4713-b1c0-fc6b13a3f41e", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "173ee4b7-8434-4d26-8de3-f9e4ec095c5a", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "cc56d581-5a5e-41a4-9075-1ae1aa520859", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-source", + "targets": [ + ["id=metadata-nav-dropdown-source", "id"], + ["linkText=Add a new metadata source", "linkText"], + ["css=#metadata-nav-dropdown-source", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata source')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-source']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata source')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e47fc95e-bf53-4a58-83c0-bf781730728b", + "comment": "", + "command": "click", + "target": "id=root_serviceProviderName", + "targets": [ + ["id=root_serviceProviderName", "id"], + ["css=#root_serviceProviderName", "css:finder"], + ["xpath=//input[@id='root_serviceProviderName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "97ca1d66-6fb6-4aca-9826-c27437910ad1", + "comment": "", + "command": "waitForElementEditable", + "target": "id=root_serviceProviderName", + "targets": [], + "value": "30000" + }, { + "id": "9b646bcd-4afb-48c8-88eb-a7620537ba79", + "comment": "", + "command": "type", + "target": "id=root_serviceProviderName", + "targets": [ + ["id=root_serviceProviderName", "id"], + ["css=#root_serviceProviderName", "css:finder"], + ["xpath=//input[@id='root_serviceProviderName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "74eed91a-8e5f-4e98-9421-98d188278db2", + "comment": "", + "command": "type", + "target": "id=root_entityId", + "targets": [ + ["id=root_entityId", "id"], + ["css=#root_entityId", "css:finder"], + ["xpath=//input[@id='root_entityId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "8c4bf41f-57c6-4c13-9b7c-8ca06a0c5873", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/nav/ul/li[2]/button/span", "xpath:idRelative"], + ["xpath=//li[2]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'2. Organization Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8b5897b4-d602-441f-a202-ea93c986b83e", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'3. User Interface / MDUI Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "38421abc-b4bf-4dd4-8b89-157de3eaf27f", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. SP SSO Descriptor Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7ebea95c-76d0-4f89-8ea6-87fa1033f8bc", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e3a54cd0-92db-4765-a599-fa4e9c184295", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "1db6d00a-62e9-4f69-9618-baa259877c00", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'7. Assertion Consumer Service')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b51e134c-bb10-4c6c-98c6-3e4028ae4df7", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'8. Relying Party Overrides')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "95c2701d-82d8-4d2d-b83e-82bb4bd2cf8c", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(6) .control-label", + "targets": [ + ["css=.row:nth-child(6) .control-label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div/span", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom List Display')]", "xpath:innerText"] + ], + "value": "Custom List Display" + }, { + "id": "d6d968f3-a549-4e0b-8fe0-0ad37d80fea7", + "comment": "", + "command": "click", + "target": "css=.row:nth-child(6) .array-add-button", + "targets": [ + ["css=.row:nth-child(6) .array-add-button", "css:finder"], + ["xpath=(//button[@type='button'])[14]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e94cc140-3e26-4a9c-ac8b-c36d02af1a3a", + "comment": "", + "command": "click", + "target": "id=root_relyingPartyOverrides_CustomList_0", + "targets": [ + ["id=root_relyingPartyOverrides_CustomList_0", "id"], + ["css=#root_relyingPartyOverrides_CustomList_0", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "089ca091-811b-4c75-9cff-24d5f02df78f", + "comment": "", + "command": "click", + "target": "id=root_relyingPartyOverrides_CustomList_0", + "targets": [ + ["id=root_relyingPartyOverrides_CustomList_0", "id"], + ["css=#root_relyingPartyOverrides_CustomList_0", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "c218b67e-cb5b-44c0-9487-d86679ef9bcd", + "comment": "", + "command": "click", + "target": "id=root_relyingPartyOverrides_CustomList_0", + "targets": [ + ["id=root_relyingPartyOverrides_CustomList_0", "id"], + ["css=#root_relyingPartyOverrides_CustomList_0", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "060867e0-281a-4853-8f7f-bcac2dad3d9c", + "comment": "", + "command": "click", + "target": "css=.row:nth-child(7) .form-check-label", + "targets": [ + ["css=.row:nth-child(7) .form-check-label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/div/label", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Force AuthN')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c35fd329-e51e-4a27-9882-08e517305d43", + "comment": "", + "command": "click", + "target": "id=root_relyingPartyOverrides_CustomList_0", + "targets": [ + ["id=root_relyingPartyOverrides_CustomList_0", "id"], + ["css=#root_relyingPartyOverrides_CustomList_0", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "5a3cc9bb-04cf-41d8-a6ed-28126a758c82", + "comment": "", + "command": "click", + "target": "id=root_relyingPartyOverrides_CustomList_0", + "targets": [ + ["id=root_relyingPartyOverrides_CustomList_0", "id"], + ["css=#root_relyingPartyOverrides_CustomList_0", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b0f940a2-9b49-45a0-b7e1-152175a4a1a4", + "comment": "", + "command": "click", + "target": "css=.rjsf > .form-group > div > .p-0 > .row", + "targets": [ + ["css=.rjsf > .form-group > div > .p-0 > .row", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div", "xpath:idRelative"], + ["xpath=//form/div/div/div/div", "xpath:position"] + ], + "value": "" + }, { + "id": "95de2877-680d-467f-b7eb-ba4695f9ce7d", + "comment": "", + "command": "click", + "target": "css=.row:nth-child(6) .array-add-button", + "targets": [ + ["css=.row:nth-child(6) .array-add-button", "css:finder"], + ["xpath=(//button[@type='button'])[14]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "1dd3662b-7e30-44c2-b4e2-1f3598d0ab14", + "comment": "", + "command": "click", + "target": "id=root_relyingPartyOverrides_CustomList_1", + "targets": [ + ["id=root_relyingPartyOverrides_CustomList_1", "id"], + ["css=#root_relyingPartyOverrides_CustomList_1", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_1']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div[2]/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "3e7d1dd6-af66-413b-bdb1-e132d0dfb7be", + "comment": "", + "command": "click", + "target": "css=.row:nth-child(6) .form-group > div > .p-0 > .p-0", + "targets": [ + ["css=.row:nth-child(6) .form-group > div > .p-0 > .p-0", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div", "xpath:position"] + ], + "value": "" + }, { + "id": "f82888f4-ed38-4321-81da-0c1aef782eda", + "comment": "", + "command": "click", + "target": "id=root_relyingPartyOverrides_forceAuthn", + "targets": [ + ["id=root_relyingPartyOverrides_forceAuthn", "id"], + ["css=#root_relyingPartyOverrides_forceAuthn", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_forceAuthn']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }] + }], + "suites": [{ + "id": "575d414c-556d-45f7-b2f2-c9971ad51348", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["4827d8a8-0f07-40ad-aab3-b4858faf45a6"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1732-4.side b/backend/src/integration/resources/SHIBUI-1732-4.side new file mode 100644 index 000000000..0197187c0 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1732-4.side @@ -0,0 +1,1007 @@ +{ + "id": "3200c2aa-0382-48f4-a83d-5ecbc3ebdf29", + "version": "2.0", + "name": "SHIBUI-1732-4", + "url": "http://localhost:10101", + "tests": [{ + "id": "4827d8a8-0f07-40ad-aab3-b4858faf45a6", + "name": "SHIBUI-1732-4", + "commands": [{ + "id": "69a71870-d55c-42d1-80dd-493c28479b98", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "7962ad24-0a23-4693-b19c-1c8fd5f263ea", + "comment": "", + "command": "type", + "target": "id=username", + "targets": [ + ["id=username", "id"], + ["name=username", "name"], + ["css=#username", "css:finder"], + ["xpath=//input[@id='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "03540e0d-6f3b-4ddc-9236-908402a9c23f", + "comment": "", + "command": "type", + "target": "id=password", + "targets": [ + ["id=password", "id"], + ["name=password", "name"], + ["css=#password", "css:finder"], + ["xpath=//input[@id='password']", "xpath:attributes"], + ["xpath=//p[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "473a14ad-593f-4d8f-b41f-7b1af3d7059d", + "comment": "", + "command": "click", + "target": "css=.btn", + "targets": [ + ["css=.btn", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'Sign in')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "da7d071b-42d1-44eb-8937-916993bd1ba4", + "comment": "", + "command": "waitForElementVisible", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [], + "value": "30000" + }, { + "id": "fe43133b-346d-4931-a8aa-5401b8bf90bb", + "comment": "", + "command": "open", + "target": "/api/heheheheheheheWipeout", + "targets": [], + "value": "" + }, { + "id": "dcc7311c-6448-4c6b-bd79-740b74082ef4", + "comment": "", + "command": "assertText", + "target": "css=body", + "targets": [], + "value": "yes, you did it" + }, { + "id": "8cef2009-da1b-47d9-bd42-1802016e92bd", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "83d61f40-9fb9-49db-a15a-3cbd4c50187b", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b1ac8d53-da06-41c2-8235-65cf47a2de24", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7043d404-beb5-4bb6-8650-827c9de14641", + "comment": "", + "command": "click", + "target": "linkText=Add new attribute", + "targets": [ + ["linkText=Add new attribute", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'  Add new attribute')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "47b39591-6031-492b-8a7a-2b97587c291d", + "comment": "", + "command": "select", + "target": "id=root_attributeType", + "targets": [], + "value": "label=Long" + }, { + "id": "a3d7d5ef-6764-42ba-ac4f-30ff68df47ac", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "CustomLong" + }, { + "id": "6df128d4-780f-4b48-b232-db1186f64cb8", + "comment": "", + "command": "type", + "target": "id=root_attributeFriendlyName", + "targets": [ + ["id=root_attributeFriendlyName", "id"], + ["css=#root_attributeFriendlyName", "css:finder"], + ["xpath=//input[@id='root_attributeFriendlyName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[3]/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/input", "xpath:position"] + ], + "value": "Custom Long Friendly" + }, { + "id": "522ab86b-e27b-4646-83d9-d6c62205ec95", + "comment": "", + "command": "type", + "target": "id=root_attributeName", + "targets": [ + ["id=root_attributeName", "id"], + ["css=#root_attributeName", "css:finder"], + ["xpath=//input[@id='root_attributeName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "Custom Long Attribute" + }, { + "id": "40c18d32-f864-4d9f-befc-ec4f774c12f5", + "comment": "", + "command": "type", + "target": "id=root_displayName", + "targets": [ + ["id=root_displayName", "id"], + ["css=#root_displayName", "css:finder"], + ["xpath=//input[@id='root_displayName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[5]/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/input", "xpath:position"] + ], + "value": "Custom Long Display" + }, { + "id": "1cf24f3d-5e28-4a8c-939b-e40bd61a8503", + "comment": "", + "command": "type", + "target": "id=root_helpText", + "targets": [ + ["id=root_helpText", "id"], + ["css=#root_helpText", "css:finder"], + ["xpath=//input[@id='root_helpText']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[6]/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/input", "xpath:position"] + ], + "value": "Custom Long Help" + }, { + "id": "53b069f7-b697-42b4-8b87-4e8dc5412171", + "comment": "", + "command": "type", + "target": "id=root_defaultValue", + "targets": [ + ["id=root_defaultValue", "id"], + ["css=#root_defaultValue", "css:finder"], + ["xpath=//input[@id='root_defaultValue']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/input", "xpath:position"] + ], + "value": "12345678901234567890" + }, { + "id": "a9073660-0640-4b37-aac6-3969b8f3c6d9", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f2459db8-9fae-4fff-a7c3-ef1fc638e8b7", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "681064f5-ed15-48f4-a6be-14214575e30f", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-source", + "targets": [ + ["id=metadata-nav-dropdown-source", "id"], + ["linkText=Add a new metadata source", "linkText"], + ["css=#metadata-nav-dropdown-source", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata source')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-source']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata source')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "96bf3f34-f284-4d6a-bc28-9d0e1efaa711", + "comment": "", + "command": "waitForElementEditable", + "target": "id=root_serviceProviderName", + "targets": [], + "value": "30000" + }, { + "id": "f5035297-5049-4988-9350-8c20be3bed0a", + "comment": "", + "command": "type", + "target": "id=root_serviceProviderName", + "targets": [ + ["id=root_serviceProviderName", "id"], + ["css=#root_serviceProviderName", "css:finder"], + ["xpath=//input[@id='root_serviceProviderName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "8b5f59b1-e619-495e-8920-405271485be9", + "comment": "", + "command": "type", + "target": "id=root_entityId", + "targets": [ + ["id=root_entityId", "id"], + ["css=#root_entityId", "css:finder"], + ["xpath=//input[@id='root_entityId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "18b31cde-bdc5-45ab-99b7-48dd453e8db1", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/nav/ul/li[2]/button/span", "xpath:idRelative"], + ["xpath=//li[2]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'2. Organization Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b2e1ab93-6618-4770-8a05-4546cb207829", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'3. User Interface / MDUI Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6b5661ca-1ba3-4a47-ae8d-7cc4096ebe67", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. SP SSO Descriptor Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "30199c57-a13d-4609-861c-8634feb76ef3", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'5. Logout Endpoints')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "cdfee104-1d0f-4aca-a491-eeaa99836230", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "76b70a47-4037-481a-a4f5-f72d1e687992", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "a288cfbf-d4bd-439c-be5d-ee09d7599b8a", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'7. Assertion Consumer Service')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fc60ee8f-44fb-4e6a-b445-a7f78d13ee0b", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(7) span", + "targets": [ + ["css=.row:nth-child(7) span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/label/span", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/label/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Long Display')]", "xpath:innerText"] + ], + "value": "Custom Long Display" + }, { + "id": "ff067cbf-4a37-4e67-a206-0af4596259c6", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomLong", + "targets": [ + ["id=root_relyingPartyOverrides_CustomLong", "id"], + ["css=#root_relyingPartyOverrides_CustomLong", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomLong']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "12345678901234567890" + }, { + "id": "57a651d0-fd91-4990-ac81-ebcb81da2ff3", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomLong", + "targets": [ + ["id=root_relyingPartyOverrides_CustomLong", "id"], + ["css=#root_relyingPartyOverrides_CustomLong", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomLong']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "caa1611f-b7aa-4457-bd3c-13988d3324a5", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomLong", + "targets": [ + ["id=root_relyingPartyOverrides_CustomLong", "id"], + ["css=#root_relyingPartyOverrides_CustomLong", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomLong']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "999999999999999999" + }, { + "id": "eb5543cd-fe91-4033-aff5-b460c9ab61e2", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "cc4d189d-6d85-4900-bdb0-e54431620600", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "7da12988-b453-4025-adba-cc1b9e916a2f", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:idRelative"], + ["xpath=//section[8]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Long Display')]", "xpath:innerText"] + ], + "value": "Custom Long Display" + }, { + "id": "ad3b6ecd-ad20-4a8e-be55-b9cda50e7091", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[8]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'999999999999999999')]", "xpath:innerText"] + ], + "value": "999999999999999999" + }, { + "id": "87d0add8-0d03-476c-8eed-41a3a70c471d", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "769f091e-f738-49b1-8a91-cf2a966caad9", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/716f4091-4256-44f4-87b3-eccc5d6b2744/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2b68bce2-618f-4ff8-b5e4-8c5625b5daf3", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(1)", + "targets": [], + "value": "Custom Long Display" + }, { + "id": "4f6f46bd-cbb0-4d04-a637-f6c33b394488", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:idRelative"], + ["xpath=//section[7]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Long Display')]", "xpath:innerText"] + ], + "value": "Custom Long Display" + }, { + "id": "ddc15b34-fa22-4a4a-a739-fab21337c82d", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[7]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'999999999999999999')]", "xpath:innerText"] + ], + "value": "999999999999999999" + }, { + "id": "6a64f274-1234-452f-926d-611af69667e0", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "845b0d57-f68d-407b-9399-c333901358e2", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-provider", + "targets": [ + ["id=metadata-nav-dropdown-provider", "id"], + ["linkText=Add a new metadata provider", "linkText"], + ["css=#metadata-nav-dropdown-provider", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata provider')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-provider']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/new')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "25ccbba5-008c-425e-8998-dc527c910e42", + "comment": "", + "command": "waitForElementEditable", + "target": "name=type", + "targets": [], + "value": "30000" + }, { + "id": "e5b00815-951c-4002-8f17-90109c7d6ac6", + "comment": "", + "command": "type", + "target": "name=name", + "targets": [ + ["name=name", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//input[@name='name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/div/form/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "befba204-65a3-4a26-91ca-75141306ee8a", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=FileBackedHttpMetadataResolver" + }, { + "id": "1a8cc7c1-79ab-4cfd-bde5-d200b9e57bda", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.nav-link", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/nav/ul/li[2]/button", "xpath:idRelative"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "3d086b27-a063-4c57-a954-e66ad6db09e2", + "comment": "", + "command": "type", + "target": "id=root_xmlId", + "targets": [ + ["id=root_xmlId", "id"], + ["css=#root_xmlId", "css:finder"], + ["xpath=//input[@id='root_xmlId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "1" + }, { + "id": "b2f58027-719a-43f4-bf2e-154135b9be3f", + "comment": "", + "command": "type", + "target": "id=root_metadataURL", + "targets": [ + ["id=root_metadataURL", "id"], + ["css=#root_metadataURL", "css:finder"], + ["xpath=//input[@id='root_metadataURL']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "7fb6739a-201c-438d-b5c4-c7f1a413830e", + "comment": "", + "command": "type", + "target": "id=root_backingFile", + "targets": [ + ["id=root_backingFile", "id"], + ["css=#root_backingFile", "css:finder"], + ["xpath=//input[@id='root_backingFile']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo" + }, { + "id": "53edb157-77c5-4902-bfc9-00575e745d8c", + "comment": "", + "command": "click", + "target": "css=.rbt-input-main", + "targets": [ + ["css=.rbt-input-main", "css:finder"], + ["xpath=//input[@value='']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[5]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "1a74bc57-4d6a-427a-80a0-09fd35fa1eca", + "comment": "", + "command": "click", + "target": "id=option-selector-root_backupFileInitNextRefreshDelay-item-1", + "targets": [ + ["id=option-selector-root_backupFileInitNextRefreshDelay-item-1", "id"], + ["linkText=PT30S", "linkText"], + ["css=#option-selector-root_backupFileInitNextRefreshDelay-item-1", "css:finder"], + ["xpath=//a[@id='option-selector-root_backupFileInitNextRefreshDelay-item-1']", "xpath:attributes"], + ["xpath=//div[@id='option-selector-root_backupFileInitNextRefreshDelay']/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div[2]/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7359700d-0857-471c-b161-97219f987ce0", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "0c05de36-753c-4932-94a1-2468c6837476", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. Metadata Filter Plugins')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8e78a435-9f6c-49a6-8ddd-3f35f78f6ca7", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e25d61fb-4e1a-4698-a853-c7b0f96105be", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "85288668-651f-4a5b-94aa-0e8f5044d9e3", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/f99aa44d-49c1-4400-a87d-32b1616ea8d0/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "685f1c54-a454-4bdb-91fa-38735fea5785", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=#filters .btn", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/f99aa44d-49c1-4400-a87d-32b1616ea8d0/filter/new')]", "xpath:href"], + ["xpath=//div[3]/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5838cbef-0dc6-48af-bf20-35cf463cfbad", + "comment": "", + "command": "waitForElementEditable", + "target": "name=type", + "targets": [], + "value": "30000" + }, { + "id": "7112fed7-d86f-4bd1-afa9-15c53c009d65", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "067bb3fd-eaa4-47ad-bbdf-71ff7b5d4ac0", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Filter" + }, { + "id": "1ffccd97-56fd-4d8d-8b70-54134fa3e51f", + "comment": "", + "command": "click", + "target": "id=dropdown-label.filter-target-type", + "targets": [ + ["id=dropdown-label.filter-target-type", "id"], + ["css=#dropdown-label\\.filter-target-type", "css:finder"], + ["xpath=//button[@id='dropdown-label.filter-target-type']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "be038c64-d9f7-48b1-a18f-e89abb2cf99d", + "comment": "", + "command": "click", + "target": "css=.show > .dropdown-item:nth-child(3)", + "targets": [ + ["css=.show > .dropdown-item:nth-child(3)", "css:finder"], + ["xpath=(//button[@type='button'])[17]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/div/button[3]", "xpath:idRelative"], + ["xpath=//div/button[3]", "xpath:position"], + ["xpath=//button[contains(.,'Script')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9d7468a7-3e02-4dc4-ac1f-469134929337", + "comment": "", + "command": "type", + "target": "css=.npm__react-simple-code-editor__textarea", + "targets": [ + ["css=.npm__react-simple-code-editor__textarea", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div[2]/div/div/div/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "eval(true);" + }, { + "id": "64973959-e70a-4cc2-9048-8a7122c9643f", + "comment": "", + "command": "click", + "target": "css=.nav-link:nth-child(2)", + "targets": [ + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[10]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div/nav/button[2]", "xpath:idRelative"], + ["xpath=//nav/button[2]", "xpath:position"], + ["xpath=//button[contains(.,'Options')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "af84ef03-8d0a-4201-b217-40926b723582", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(7) > .col-12 > .form-group > div > .mb-0 span", + "targets": [ + ["css=.row:nth-child(7) > .col-12 > .form-group > div > .mb-0 span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[7]/div/div/div/div/label/span", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/label/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Long Display')]", "xpath:innerText"] + ], + "value": "Custom Long Display" + }, { + "id": "d0d9ee58-8c3f-4998-9e14-38ee8f0df117", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomLong", + "targets": [ + ["id=root_relyingPartyOverrides_CustomLong", "id"], + ["css=#root_relyingPartyOverrides_CustomLong", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomLong']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "12345678901234567890" + }, { + "id": "ef6d3e38-3df4-403e-a99c-716d21f6cc14", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomLong", + "targets": [ + ["id=root_relyingPartyOverrides_CustomLong", "id"], + ["css=#root_relyingPartyOverrides_CustomLong", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomLong']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "16bd359e-a7c1-4362-897e-6e1e5702ddb0", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomLong", + "targets": [ + ["id=root_relyingPartyOverrides_CustomLong", "id"], + ["css=#root_relyingPartyOverrides_CustomLong", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomLong']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[7]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[7]/div/div/div/div/input", "xpath:position"] + ], + "value": "999999999999999999" + }, { + "id": "37c4dbf2-ab50-4457-9815-66aecaf1fcc3", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[7]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3efd1f38-d283-467f-ba12-6ca7b823cd82", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mx-4", + "targets": [], + "value": "30000" + }, { + "id": "2e53cc6a-1d1c-4fbf-8306-4f22a3592bb2", + "comment": "", + "command": "click", + "target": "css=.mx-4", + "targets": [ + ["css=.mx-4", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='filters']/ul/li/div/button", "xpath:idRelative"], + ["xpath=//li/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Test Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "21365c88-4778-405a-94b9-527f706ca1bc", + "comment": "", + "command": "waitForElementVisible", + "target": "css=div:nth-child(1) > div:nth-child(7) .d-block:nth-child(1)", + "targets": [], + "value": "30000" + }, { + "id": "46402b0f-8b3c-459b-a325-665eafbb79f3", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(1) > div:nth-child(7) .d-block:nth-child(1)", + "targets": [ + ["css=div:nth-child(1) > div:nth-child(7) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div[7]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Long Display')]", "xpath:innerText"] + ], + "value": "Custom Long Display" + }, { + "id": "3064a431-f448-44c2-bc90-1dc746bf0f83", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(1) > div:nth-child(7) .text-truncate", + "targets": [ + ["css=div:nth-child(1) > div:nth-child(7) .text-truncate", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div[7]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'999999999999999999')]", "xpath:innerText"] + ], + "value": "999999999999999999" + }, { + "id": "a59ca0ab-bc64-4b66-907f-7fcfe0941150", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fddd88ac-8224-4eeb-95c7-eedb3e2081d9", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7ed7da2a-cd7a-481e-be05-2db15b6debc6", + "comment": "", + "command": "click", + "target": "css=.fa-trash > path", + "targets": [ + ["css=.fa-trash > path", "css:finder"] + ], + "value": "" + }, { + "id": "0fc0476f-24f1-4428-9bf0-f0937f018d89", + "comment": "", + "command": "click", + "target": "css=.btn-danger", + "targets": [ + ["css=.btn-danger", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[3]/div/div/div[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e3892564-1a1b-4ee6-bbab-49d3cb3079d7", + "comment": "", + "command": "assertElementNotPresent", + "target": "css=table > tbody > tr", + "targets": [], + "value": "" + }] + }], + "suites": [{ + "id": "575d414c-556d-45f7-b2f2-c9971ad51348", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["4827d8a8-0f07-40ad-aab3-b4858faf45a6"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1732-5.side b/backend/src/integration/resources/SHIBUI-1732-5.side new file mode 100644 index 000000000..d63ab5568 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1732-5.side @@ -0,0 +1,1014 @@ +{ + "id": "3200c2aa-0382-48f4-a83d-5ecbc3ebdf29", + "version": "2.0", + "name": "SHIBUI-1732-5", + "url": "http://localhost:10101", + "tests": [{ + "id": "4827d8a8-0f07-40ad-aab3-b4858faf45a6", + "name": "SHIBUI-1732-5", + "commands": [{ + "id": "69a71870-d55c-42d1-80dd-493c28479b98", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "7962ad24-0a23-4693-b19c-1c8fd5f263ea", + "comment": "", + "command": "type", + "target": "id=username", + "targets": [ + ["id=username", "id"], + ["name=username", "name"], + ["css=#username", "css:finder"], + ["xpath=//input[@id='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "03540e0d-6f3b-4ddc-9236-908402a9c23f", + "comment": "", + "command": "type", + "target": "id=password", + "targets": [ + ["id=password", "id"], + ["name=password", "name"], + ["css=#password", "css:finder"], + ["xpath=//input[@id='password']", "xpath:attributes"], + ["xpath=//p[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "473a14ad-593f-4d8f-b41f-7b1af3d7059d", + "comment": "", + "command": "click", + "target": "css=.btn", + "targets": [ + ["css=.btn", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'Sign in')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "da7d071b-42d1-44eb-8937-916993bd1ba4", + "comment": "", + "command": "waitForElementVisible", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [], + "value": "30000" + }, { + "id": "fe43133b-346d-4931-a8aa-5401b8bf90bb", + "comment": "", + "command": "open", + "target": "/api/heheheheheheheWipeout", + "targets": [], + "value": "" + }, { + "id": "dcc7311c-6448-4c6b-bd79-740b74082ef4", + "comment": "", + "command": "assertText", + "target": "css=body", + "targets": [], + "value": "yes, you did it" + }, { + "id": "8cef2009-da1b-47d9-bd42-1802016e92bd", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "83d61f40-9fb9-49db-a15a-3cbd4c50187b", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b1ac8d53-da06-41c2-8235-65cf47a2de24", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "81b10e17-3858-4b15-a9c0-18aa7a5e0002", + "comment": "", + "command": "click", + "target": "linkText=Add new attribute", + "targets": [ + ["linkText=Add new attribute", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'  Add new attribute')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "96684889-dfd2-4176-8f9e-ecbda4462de4", + "comment": "", + "command": "select", + "target": "id=root_attributeType", + "targets": [], + "value": "label=Double" + }, { + "id": "6281e370-2afd-4d93-8a12-33c7013475d9", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "CustomDouble" + }, { + "id": "070a83fa-0af3-481a-9955-5781c8391273", + "comment": "", + "command": "type", + "target": "id=root_attributeFriendlyName", + "targets": [ + ["id=root_attributeFriendlyName", "id"], + ["css=#root_attributeFriendlyName", "css:finder"], + ["xpath=//input[@id='root_attributeFriendlyName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[3]/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/input", "xpath:position"] + ], + "value": "Custom Double Friendly" + }, { + "id": "edc665f4-f0df-474f-976d-57e146272cf4", + "comment": "", + "command": "type", + "target": "id=root_attributeName", + "targets": [ + ["id=root_attributeName", "id"], + ["css=#root_attributeName", "css:finder"], + ["xpath=//input[@id='root_attributeName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "Custom Double Attribute" + }, { + "id": "daa87f66-d15b-4fa1-9275-365685c44082", + "comment": "", + "command": "type", + "target": "id=root_displayName", + "targets": [ + ["id=root_displayName", "id"], + ["css=#root_displayName", "css:finder"], + ["xpath=//input[@id='root_displayName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[5]/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/input", "xpath:position"] + ], + "value": "Custom Double Display" + }, { + "id": "0a814c53-f0d0-4433-ad87-1a9b2adcfbda", + "comment": "", + "command": "type", + "target": "id=root_helpText", + "targets": [ + ["id=root_helpText", "id"], + ["css=#root_helpText", "css:finder"], + ["xpath=//input[@id='root_helpText']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[6]/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/input", "xpath:position"] + ], + "value": "Custom Double Help" + }, { + "id": "07ac5fde-f6f9-45a6-98dc-f4ccb3a6d760", + "comment": "", + "command": "type", + "target": "id=root_defaultValue", + "targets": [ + ["id=root_defaultValue", "id"], + ["css=#root_defaultValue", "css:finder"], + ["xpath=//input[@id='root_defaultValue']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/input", "xpath:position"] + ], + "value": "3.14159265359" + }, { + "id": "a862df2d-007e-43f8-bbc0-ab272d7a8c5d", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f627b0cb-dc24-4b88-9751-184c938d7bbe", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "53d7fe7d-74ac-4707-86e6-e6f78d3e8f0b", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-source", + "targets": [ + ["id=metadata-nav-dropdown-source", "id"], + ["linkText=Add a new metadata source", "linkText"], + ["css=#metadata-nav-dropdown-source", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata source')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-source']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata source')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "75f7b792-9eae-4429-85de-d40a89f5f9c9", + "comment": "", + "command": "waitForElementEditable", + "target": "id=root_serviceProviderName", + "targets": [], + "value": "30000" + }, { + "id": "795905b8-3968-4aa6-a8a7-f5919812079e", + "comment": "", + "command": "type", + "target": "id=root_serviceProviderName", + "targets": [ + ["id=root_serviceProviderName", "id"], + ["css=#root_serviceProviderName", "css:finder"], + ["xpath=//input[@id='root_serviceProviderName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "083df6fd-c48c-451d-abca-96427395d723", + "comment": "", + "command": "type", + "target": "id=root_entityId", + "targets": [ + ["id=root_entityId", "id"], + ["css=#root_entityId", "css:finder"], + ["xpath=//input[@id='root_entityId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "65611032-3fa9-4a8f-9c31-80b26b3829cc", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/nav/ul/li[2]/button/span", "xpath:idRelative"], + ["xpath=//li[2]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'2. Organization Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4b51cb3d-9345-4a00-a9d0-2c41ec7b2cfb", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'3. User Interface / MDUI Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "abf1cb0e-2295-4e8a-943d-944402fb9247", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. SP SSO Descriptor Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "960b3089-99e7-44af-b296-75897ccc1658", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "70143276-7c73-4f48-b491-332cdbb1e13a", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "2ceeac93-2afd-466d-8e70-cc00434592d7", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "7b0a61bc-a6f9-4f1b-a27e-7995ca69fb56", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'7. Assertion Consumer Service')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7e4914a1-bd67-451b-8618-ec89fbbdc608", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(6) span", + "targets": [ + ["css=.row:nth-child(6) span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/label/span", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/label/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Double Display')]", "xpath:innerText"] + ], + "value": "Custom Double Display" + }, { + "id": "1b92d3f5-b768-4ab7-9fff-9fa5751c2f1e", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomDouble", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDouble", "id"], + ["css=#root_relyingPartyOverrides_CustomDouble", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDouble']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/input", "xpath:position"] + ], + "value": "3.14159265359" + }, { + "id": "d2672d7e-4766-4a86-8d59-da2e209f80ae", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomDouble", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDouble", "id"], + ["css=#root_relyingPartyOverrides_CustomDouble", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDouble']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "9057f67d-7fd4-4e43-bff3-93275af23a2c", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomDouble", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDouble", "id"], + ["css=#root_relyingPartyOverrides_CustomDouble", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDouble']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/input", "xpath:position"] + ], + "value": "3.141592653589" + }, { + "id": "1a437ae4-8723-4257-83d5-893476bef87e", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "6f8fc7b3-a51a-4739-a204-22b0b4d15bed", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "6a2b0c7e-4629-4f02-9361-ef6afdb97227", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(8) div:nth-child(6) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(8) div:nth-child(6) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[6]/div/span", "xpath:idRelative"], + ["xpath=//section[8]/div/div[2]/div[2]/div/div[6]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Double Display')]", "xpath:innerText"] + ], + "value": "Custom Double Display" + }, { + "id": "75f95b74-c4e5-49a3-858f-a516ca1ac57e", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(8) div:nth-child(6) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(8) div:nth-child(6) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[6]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[8]/div/div[2]/div[2]/div/div[6]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'3.141592653589')]", "xpath:innerText"] + ], + "value": "3.141592653589" + }, { + "id": "67fb1087-40ad-4d76-b8a2-bb072ccfbb37", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "ae723523-eb16-4ffe-bfdb-f0cd9463d725", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/5f778247-65bc-47ca-a3bc-d5b21e03055f/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "24edd27b-44c3-4705-ac8a-2773cd645464", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mb-4:nth-child(9) div:nth-child(6) .d-block:nth-child(1)", + "targets": [], + "value": "Custom Double Display" + }, { + "id": "bfe564c1-7a44-4e18-8e12-f9a2069ca022", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(9) div:nth-child(6) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(9) div:nth-child(6) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[6]/div/span", "xpath:idRelative"], + ["xpath=//section[7]/div/div[2]/div[2]/div/div[6]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Double Display')]", "xpath:innerText"] + ], + "value": "Custom Double Display" + }, { + "id": "822de10a-24bc-45ca-a28c-242f880b7d11", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(9) div:nth-child(6) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(9) div:nth-child(6) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[6]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[7]/div/div[2]/div[2]/div/div[6]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'3.141592653589')]", "xpath:innerText"] + ], + "value": "3.141592653589" + }, { + "id": "3fffd305-3e9f-4703-ab97-876a91ecafd4", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "82e16795-bfc7-4934-aa44-80c1a9b80de3", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-provider", + "targets": [ + ["id=metadata-nav-dropdown-provider", "id"], + ["linkText=Add a new metadata provider", "linkText"], + ["css=#metadata-nav-dropdown-provider", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata provider')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-provider']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/new')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f1eb5d37-5ecf-4656-b388-4d68b7eac935", + "comment": "", + "command": "waitForElementEditable", + "target": "name=type", + "targets": [], + "value": "30000" + }, { + "id": "de928b32-b59e-4837-adbd-13df2f59409e", + "comment": "", + "command": "type", + "target": "name=name", + "targets": [ + ["name=name", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//input[@name='name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/div/form/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "577b9b53-a904-419f-b0d8-4e899aaee297", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=FileBackedHttpMetadataResolver" + }, { + "id": "52fea50c-efa4-49c4-826b-5941886d770d", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.nav-link", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/nav/ul/li[2]/button", "xpath:idRelative"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "9df67d22-0e6a-4005-903f-f447a3208526", + "comment": "", + "command": "waitForElementVisible", + "target": "id=root_xmlId", + "targets": [], + "value": "30000" + }, { + "id": "277d31f2-2ad0-4441-bc14-4d8a724ec465", + "comment": "", + "command": "type", + "target": "id=root_xmlId", + "targets": [ + ["id=root_xmlId", "id"], + ["css=#root_xmlId", "css:finder"], + ["xpath=//input[@id='root_xmlId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "1" + }, { + "id": "72d94954-4502-40d3-a183-baf62c233dbc", + "comment": "", + "command": "type", + "target": "id=root_metadataURL", + "targets": [ + ["id=root_metadataURL", "id"], + ["css=#root_metadataURL", "css:finder"], + ["xpath=//input[@id='root_metadataURL']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "101c65ae-4cb4-4d1a-9304-32e69ac089bf", + "comment": "", + "command": "type", + "target": "id=root_backingFile", + "targets": [ + ["id=root_backingFile", "id"], + ["css=#root_backingFile", "css:finder"], + ["xpath=//input[@id='root_backingFile']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo" + }, { + "id": "e7734f22-29c5-4e89-b9e8-1cccf5b43ffe", + "comment": "", + "command": "click", + "target": "css=.rbt-input-main", + "targets": [ + ["css=.rbt-input-main", "css:finder"], + ["xpath=//input[@value='']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[5]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "ab704c2c-fbe5-47df-9308-bfaf6fbd1eb8", + "comment": "", + "command": "click", + "target": "id=option-selector-root_backupFileInitNextRefreshDelay-item-1", + "targets": [ + ["id=option-selector-root_backupFileInitNextRefreshDelay-item-1", "id"], + ["linkText=PT30S", "linkText"], + ["css=#option-selector-root_backupFileInitNextRefreshDelay-item-1", "css:finder"], + ["xpath=//a[@id='option-selector-root_backupFileInitNextRefreshDelay-item-1']", "xpath:attributes"], + ["xpath=//div[@id='option-selector-root_backupFileInitNextRefreshDelay']/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div[2]/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "993a07f1-e104-437b-ada5-d5132eebde1b", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8b57c059-7124-4b65-9e8c-f9b7759efe35", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "dc2c6970-3fbd-49ad-8179-c284c3902bba", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "3097c3d8-23f8-49a8-a63f-4e71cac08541", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "f375661d-be3d-451f-bb26-aa7698051c9e", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/f81901bc-a040-4b9c-afcf-85af6052dc71/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "886b9e51-b0e1-4b19-bb05-7d9b324355ef", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=#filters .btn", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/f81901bc-a040-4b9c-afcf-85af6052dc71/filter/new')]", "xpath:href"], + ["xpath=//div[3]/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a7e4f8eb-d205-417d-a172-efa3d1f1b467", + "comment": "", + "command": "waitForElementEditable", + "target": "name=type", + "targets": [], + "value": "30000" + }, { + "id": "39db7f1a-7291-42a9-aba0-bd18e98fe676", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "d19cb369-6c18-4a49-89c0-9b229cff7945", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Filter" + }, { + "id": "90c22310-4ec3-4b9b-8de7-88be3c7ff90a", + "comment": "", + "command": "click", + "target": "id=dropdown-label.filter-target-type", + "targets": [ + ["id=dropdown-label.filter-target-type", "id"], + ["css=#dropdown-label\\.filter-target-type", "css:finder"], + ["xpath=//button[@id='dropdown-label.filter-target-type']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d4f0485a-50d2-4a08-8c15-dd4b6f82c753", + "comment": "", + "command": "click", + "target": "css=.show > .dropdown-item:nth-child(3)", + "targets": [ + ["css=.show > .dropdown-item:nth-child(3)", "css:finder"], + ["xpath=(//button[@type='button'])[17]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/div/button[3]", "xpath:idRelative"], + ["xpath=//div/button[3]", "xpath:position"], + ["xpath=//button[contains(.,'Script')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "840c2f9c-334b-4266-ace8-face5cbea382", + "comment": "", + "command": "type", + "target": "css=.npm__react-simple-code-editor__textarea", + "targets": [ + ["css=.npm__react-simple-code-editor__textarea", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div[2]/div/div/div/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "eval(true);" + }, { + "id": "66949a0d-0a57-4723-9d17-2e10688c19bb", + "comment": "", + "command": "click", + "target": "css=.nav-link:nth-child(2)", + "targets": [ + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[10]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div/nav/button[2]", "xpath:idRelative"], + ["xpath=//nav/button[2]", "xpath:position"], + ["xpath=//button[contains(.,'Options')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "302b95c3-ca6d-4f67-9553-d248544a121c", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(6) span", + "targets": [ + ["css=.row:nth-child(6) span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[6]/div/div/div/div/label/span", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/label/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Double Display')]", "xpath:innerText"] + ], + "value": "Custom Double Display" + }, { + "id": "2e90554c-5f3e-42f1-a790-570adefaa4d3", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomDouble", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDouble", "id"], + ["css=#root_relyingPartyOverrides_CustomDouble", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDouble']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[6]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/input", "xpath:position"] + ], + "value": "3.14159265359" + }, { + "id": "a1af6029-accc-4ee7-afec-62701c42fdbe", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomDouble", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDouble", "id"], + ["css=#root_relyingPartyOverrides_CustomDouble", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDouble']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[6]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "323a7b29-9328-4801-aaab-48e997163dfd", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomDouble", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDouble", "id"], + ["css=#root_relyingPartyOverrides_CustomDouble", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDouble']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[6]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/input", "xpath:position"] + ], + "value": "3.141592653589" + }, { + "id": "10899fad-79d4-4114-baf5-a4461e0de78e", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[7]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a49921eb-2666-4e50-9296-34e28b65b6f8", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mx-4", + "targets": [], + "value": "30000" + }, { + "id": "1cd7e523-3cc2-4c2f-903f-ae7ddd6cad74", + "comment": "", + "command": "click", + "target": "css=.mx-4", + "targets": [ + ["css=.mx-4", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='filters']/ul/li/div/button", "xpath:idRelative"], + ["xpath=//li/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Test Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dea11a0d-7078-437e-81db-4ceb1a61fb60", + "comment": "", + "command": "waitForElementVisible", + "target": "css=div:nth-child(1) > div:nth-child(6) > .d-flex > .d-block:nth-child(1)", + "targets": [], + "value": "30000" + }, { + "id": "692d0155-2e73-45da-ba35-180e2195045e", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(1) > div:nth-child(6) > .d-flex > .d-block:nth-child(1)", + "targets": [ + ["css=div:nth-child(1) > div:nth-child(6) > .d-flex > .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[6]/div/span", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div[6]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Double Display')]", "xpath:innerText"] + ], + "value": "Custom Double Display" + }, { + "id": "fc1c7695-9b42-413f-9c17-a3fcce2be919", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(1) > div:nth-child(6) > .d-flex > .text-truncate", + "targets": [ + ["css=div:nth-child(1) > div:nth-child(6) > .d-flex > .text-truncate", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[6]/div/span[2]", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div[6]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'3.141592653589')]", "xpath:innerText"] + ], + "value": "3.141592653589" + }, { + "id": "a0adc0cc-1e51-46ec-b29a-652fe217933f", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "56c05d81-f6d8-4665-8949-95c6ce03912d", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fb3550b7-4deb-4119-98df-9b4b2dcd6052", + "comment": "", + "command": "click", + "target": "css=.fa-trash > path", + "targets": [ + ["css=.fa-trash > path", "css:finder"] + ], + "value": "" + }, { + "id": "ba77e20c-16e8-47cf-bc7b-b871693ebcbb", + "comment": "", + "command": "click", + "target": "css=.btn-danger", + "targets": [ + ["css=.btn-danger", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[3]/div/div/div[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "bea4e049-e01c-47a9-b23c-f7dd2da77d9c", + "comment": "", + "command": "assertElementNotPresent", + "target": "css=table > tbody > tr", + "targets": [], + "value": "" + }] + }], + "suites": [{ + "id": "575d414c-556d-45f7-b2f2-c9971ad51348", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["4827d8a8-0f07-40ad-aab3-b4858faf45a6"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1732-6.side b/backend/src/integration/resources/SHIBUI-1732-6.side new file mode 100644 index 000000000..07f534f37 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1732-6.side @@ -0,0 +1,1025 @@ +{ + "id": "3200c2aa-0382-48f4-a83d-5ecbc3ebdf29", + "version": "2.0", + "name": "SHIBUI-1732-6", + "url": "http://localhost:10101", + "tests": [{ + "id": "4827d8a8-0f07-40ad-aab3-b4858faf45a6", + "name": "SHIBUI-1732-6", + "commands": [{ + "id": "69a71870-d55c-42d1-80dd-493c28479b98", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "7962ad24-0a23-4693-b19c-1c8fd5f263ea", + "comment": "", + "command": "type", + "target": "id=username", + "targets": [ + ["id=username", "id"], + ["name=username", "name"], + ["css=#username", "css:finder"], + ["xpath=//input[@id='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "03540e0d-6f3b-4ddc-9236-908402a9c23f", + "comment": "", + "command": "type", + "target": "id=password", + "targets": [ + ["id=password", "id"], + ["name=password", "name"], + ["css=#password", "css:finder"], + ["xpath=//input[@id='password']", "xpath:attributes"], + ["xpath=//p[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "473a14ad-593f-4d8f-b41f-7b1af3d7059d", + "comment": "", + "command": "click", + "target": "css=.btn", + "targets": [ + ["css=.btn", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'Sign in')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "da7d071b-42d1-44eb-8937-916993bd1ba4", + "comment": "", + "command": "waitForElementVisible", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [], + "value": "30000" + }, { + "id": "fe43133b-346d-4931-a8aa-5401b8bf90bb", + "comment": "", + "command": "open", + "target": "/api/heheheheheheheWipeout", + "targets": [], + "value": "" + }, { + "id": "dcc7311c-6448-4c6b-bd79-740b74082ef4", + "comment": "", + "command": "assertText", + "target": "css=body", + "targets": [], + "value": "yes, you did it" + }, { + "id": "8cef2009-da1b-47d9-bd42-1802016e92bd", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "83d61f40-9fb9-49db-a15a-3cbd4c50187b", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b1ac8d53-da06-41c2-8235-65cf47a2de24", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "81b10e17-3858-4b15-a9c0-18aa7a5e0002", + "comment": "", + "command": "click", + "target": "linkText=Add new attribute", + "targets": [ + ["linkText=Add new attribute", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'  Add new attribute')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ca42712a-bea1-43b1-a760-51758d3e59f1", + "comment": "", + "command": "select", + "target": "id=root_attributeType", + "targets": [], + "value": "label=Duration" + }, { + "id": "85d28144-e86f-4814-ae22-8cef5c0e06eb", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "CustomDuration" + }, { + "id": "c82a0d61-5cee-46c4-93ff-a8c5c01189e9", + "comment": "", + "command": "type", + "target": "id=root_attributeFriendlyName", + "targets": [ + ["id=root_attributeFriendlyName", "id"], + ["css=#root_attributeFriendlyName", "css:finder"], + ["xpath=//input[@id='root_attributeFriendlyName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[3]/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/input", "xpath:position"] + ], + "value": "Custom Duration Friendly" + }, { + "id": "ba6a3f8a-b287-4f49-90fd-e2f46a6725ae", + "comment": "", + "command": "type", + "target": "id=root_attributeName", + "targets": [ + ["id=root_attributeName", "id"], + ["css=#root_attributeName", "css:finder"], + ["xpath=//input[@id='root_attributeName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "Custom Duration Attribute" + }, { + "id": "69c03d13-96d8-4186-948a-6c42fb9885cf", + "comment": "", + "command": "type", + "target": "id=root_displayName", + "targets": [ + ["id=root_displayName", "id"], + ["css=#root_displayName", "css:finder"], + ["xpath=//input[@id='root_displayName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[5]/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/input", "xpath:position"] + ], + "value": "Custom Duration Display" + }, { + "id": "29110397-a39e-4fe7-a505-d871c464822d", + "comment": "", + "command": "type", + "target": "id=root_helpText", + "targets": [ + ["id=root_helpText", "id"], + ["css=#root_helpText", "css:finder"], + ["xpath=//input[@id='root_helpText']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[6]/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/input", "xpath:position"] + ], + "value": "Custom Duration Help" + }, { + "id": "d5f9526b-6349-41ce-b166-23254effca28", + "comment": "", + "command": "type", + "target": "id=root_defaultValue", + "targets": [ + ["id=root_defaultValue", "id"], + ["css=#root_defaultValue", "css:finder"], + ["xpath=//input[@id='root_defaultValue']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/input", "xpath:position"] + ], + "value": "P1D" + }, { + "id": "52aec06d-8979-4523-af62-b237f8d1c8fc", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5064e1b2-e951-4c2c-bb23-ed41429900a0", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "07a20868-9c29-4673-8185-6c1377bd9091", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-source", + "targets": [ + ["id=metadata-nav-dropdown-source", "id"], + ["linkText=Add a new metadata source", "linkText"], + ["css=#metadata-nav-dropdown-source", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata source')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-source']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata source')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f7484a9f-1528-4d71-b718-a30435f2d2ab", + "comment": "", + "command": "waitForElementEditable", + "target": "id=root_serviceProviderName", + "targets": [], + "value": "30000" + }, { + "id": "be76f509-4d80-4ac5-b557-3528b9a08faa", + "comment": "", + "command": "type", + "target": "id=root_serviceProviderName", + "targets": [ + ["id=root_serviceProviderName", "id"], + ["css=#root_serviceProviderName", "css:finder"], + ["xpath=//input[@id='root_serviceProviderName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "ccad67d1-7302-474b-bf11-6025b96213c2", + "comment": "", + "command": "type", + "target": "id=root_entityId", + "targets": [ + ["id=root_entityId", "id"], + ["css=#root_entityId", "css:finder"], + ["xpath=//input[@id='root_entityId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "a8117269-4297-4b2e-915d-4f00e7608044", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/nav/ul/li[2]/button/span", "xpath:idRelative"], + ["xpath=//li[2]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'2. Organization Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c0f6ee20-b3b5-4187-9155-4bf647c31319", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'3. User Interface / MDUI Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a969e2a4-2b9f-43c9-bd81-3d12df132420", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. SP SSO Descriptor Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "91eedbe1-2692-4b29-b1a2-12a7f9bc5c09", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "9ea7808f-1884-48f1-befe-1c289cc1e646", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "4836fce5-8bf9-476e-b0e2-b3df5176d890", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'7. Assertion Consumer Service')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "57954d29-9f05-436f-bc09-62559d5ac606", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'8. Relying Party Overrides')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5879b13f-7e26-4d45-89a8-c5a39aaf594f", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(4) span", + "targets": [ + ["css=.row:nth-child(4) span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[4]/div/div/div/div/label/span", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/div/label/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Duration Display')]", "xpath:innerText"] + ], + "value": "Custom Duration Display" + }, { + "id": "153eb69e-0f43-42f1-aa47-27382770e4e6", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomDuration", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDuration", "id"], + ["css=#root_relyingPartyOverrides_CustomDuration", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDuration']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[4]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/div/input", "xpath:position"] + ], + "value": "P1D" + }, { + "id": "8061fb36-3323-4fa4-966f-12d6bfaa3db9", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomDuration", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDuration", "id"], + ["css=#root_relyingPartyOverrides_CustomDuration", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDuration']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[4]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "76d95179-e15a-4eaa-9cfc-95930623be36", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomDuration", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDuration", "id"], + ["css=#root_relyingPartyOverrides_CustomDuration", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDuration']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[4]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/div/input", "xpath:position"] + ], + "value": "PT30S" + }, { + "id": "9686d429-7233-4868-b1d7-1d8fa3e5fe5b", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "d3becf36-1705-4b26-950f-173194c6ae49", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "9dbbc2c1-3905-4f1b-9ccc-2fc90e706e7d", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(8) div:nth-child(4) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(8) div:nth-child(4) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[4]/div/span", "xpath:idRelative"], + ["xpath=//section[8]/div/div[2]/div[2]/div/div[4]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Duration Display')]", "xpath:innerText"] + ], + "value": "Custom Duration Display" + }, { + "id": "e0fb62ed-3bc5-4877-a8b9-93efc2500cb1", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(8) div:nth-child(4) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(8) div:nth-child(4) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[4]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[8]/div/div[2]/div[2]/div/div[4]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "PT30S" + }, { + "id": "628c8d11-580e-411b-99ed-c3c333446ff3", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "2502dfa7-4dad-4cb6-8db7-8974d290753f", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/7265d6a2-1758-4adb-9b31-7dbc686f2230/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dbe93a59-b3ea-4fe9-a059-65161250cd42", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mb-4:nth-child(9) div:nth-child(4) .d-block:nth-child(1)", + "targets": [], + "value": "30000" + }, { + "id": "c3e9c974-dd0b-40a4-88a5-7349038b13e6", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(9) div:nth-child(4) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(9) div:nth-child(4) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[4]/div/span", "xpath:idRelative"], + ["xpath=//section[7]/div/div[2]/div[2]/div/div[4]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Duration Display')]", "xpath:innerText"] + ], + "value": "Custom Duration Display" + }, { + "id": "3ae9d1b2-654a-4b73-b3d3-ce81420b860f", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(9) div:nth-child(4) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(9) div:nth-child(4) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[4]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[7]/div/div[2]/div[2]/div/div[4]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "PT30S" + }, { + "id": "7834b1f0-a5cd-413b-aad0-adc5fcfc550c", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "51d55e91-1a62-4dd0-8782-09ff4b691669", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-provider", + "targets": [ + ["id=metadata-nav-dropdown-provider", "id"], + ["linkText=Add a new metadata provider", "linkText"], + ["css=#metadata-nav-dropdown-provider", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata provider')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-provider']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/new')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d21bf582-10de-4a42-8189-2470e14986a5", + "comment": "", + "command": "waitForElementEditable", + "target": "name=type", + "targets": [], + "value": "30000" + }, { + "id": "ce7e67c9-e170-45d8-8288-4e822f77d760", + "comment": "", + "command": "type", + "target": "name=name", + "targets": [ + ["name=name", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//input[@name='name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/div/form/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "a26d50d7-f81f-4fbe-9942-804853b58f19", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=FileBackedHttpMetadataResolver" + }, { + "id": "d1c6cf0f-bde1-4be5-a5f1-4a6a2aa0e646", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.nav-link", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/nav/ul/li[2]/button", "xpath:idRelative"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "036e17e5-0870-4bc5-b460-998d984a0a62", + "comment": "", + "command": "waitForElementEditable", + "target": "id=root_xmlId", + "targets": [], + "value": "30000" + }, { + "id": "0683c569-e682-436d-8dde-714972238368", + "comment": "", + "command": "type", + "target": "id=root_xmlId", + "targets": [ + ["id=root_xmlId", "id"], + ["css=#root_xmlId", "css:finder"], + ["xpath=//input[@id='root_xmlId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "1" + }, { + "id": "e490246d-ee50-42c8-9685-5294e3a4995c", + "comment": "", + "command": "type", + "target": "id=root_metadataURL", + "targets": [ + ["id=root_metadataURL", "id"], + ["css=#root_metadataURL", "css:finder"], + ["xpath=//input[@id='root_metadataURL']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "dc3a02a1-269c-456c-b0ab-150107f256c1", + "comment": "", + "command": "type", + "target": "id=root_backingFile", + "targets": [ + ["id=root_backingFile", "id"], + ["css=#root_backingFile", "css:finder"], + ["xpath=//input[@id='root_backingFile']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo" + }, { + "id": "f6fe409b-eb6d-4002-a605-65f3325fa3b7", + "comment": "", + "command": "click", + "target": "css=.rbt-input-main", + "targets": [ + ["css=.rbt-input-main", "css:finder"], + ["xpath=//input[@value='']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[5]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "0134f9c2-3bd4-4343-980e-27086ff70e86", + "comment": "", + "command": "click", + "target": "id=option-selector-root_backupFileInitNextRefreshDelay-item-2", + "targets": [ + ["id=option-selector-root_backupFileInitNextRefreshDelay-item-2", "id"], + ["linkText=PT1M", "linkText"], + ["css=#option-selector-root_backupFileInitNextRefreshDelay-item-2", "css:finder"], + ["xpath=//a[@id='option-selector-root_backupFileInitNextRefreshDelay-item-2']", "xpath:attributes"], + ["xpath=//div[@id='option-selector-root_backupFileInitNextRefreshDelay']/a[3]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '#')])[3]", "xpath:href"], + ["xpath=//div[2]/a[3]", "xpath:position"], + ["xpath=//a[contains(.,'PT1M')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c28fa422-b6b7-4703-8b2c-1dcc96f3f761", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "3444f47a-9595-49ea-a229-25ac51087602", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. Metadata Filter Plugins')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c5b7080a-2cd9-4cc6-a0ce-58b535557c99", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "fae2df12-8f1d-484a-afc1-c7de25f29c37", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "82c2fb5e-2a37-454a-92a9-c8384d5404f2", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/9f14bae4-34ce-4c90-97dc-cdde858404d0/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "05b9aee1-8d93-455f-add3-af931dbf540f", + "comment": "", + "command": "waitForElementVisible", + "target": "linkText=Add Filter", + "targets": [], + "value": "30000" + }, { + "id": "db4b1d29-3ee5-44e7-8cad-a490590f9664", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=#filters .btn", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/9f14bae4-34ce-4c90-97dc-cdde858404d0/filter/new')]", "xpath:href"], + ["xpath=//div[3]/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "579b994a-6366-4315-b333-f02eb99661d9", + "comment": "", + "command": "waitForElementEditable", + "target": "name=type", + "targets": [], + "value": "30000" + }, { + "id": "2b6e0f41-63c0-417b-bf7d-0a087f6b9754", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "02d8c072-7e8c-4b5c-beed-71d3f7bc1121", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Filter" + }, { + "id": "0ac1b694-2555-479b-944c-8d0438334bf2", + "comment": "", + "command": "click", + "target": "id=dropdown-label.filter-target-type", + "targets": [ + ["id=dropdown-label.filter-target-type", "id"], + ["css=#dropdown-label\\.filter-target-type", "css:finder"], + ["xpath=//button[@id='dropdown-label.filter-target-type']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fa33520f-df7f-4874-ae59-71ecbdc38e2e", + "comment": "", + "command": "click", + "target": "css=.show > .dropdown-item:nth-child(3)", + "targets": [ + ["css=.show > .dropdown-item:nth-child(3)", "css:finder"], + ["xpath=(//button[@type='button'])[17]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/div/button[3]", "xpath:idRelative"], + ["xpath=//div/button[3]", "xpath:position"], + ["xpath=//button[contains(.,'Script')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6ec2bce2-419a-4049-9e5b-278e30919830", + "comment": "", + "command": "type", + "target": "css=.npm__react-simple-code-editor__textarea", + "targets": [ + ["css=.npm__react-simple-code-editor__textarea", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div[2]/div/div/div/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "eval(true);" + }, { + "id": "0be1df41-f67f-4227-b9d7-fad012cddb67", + "comment": "", + "command": "click", + "target": "css=.nav-link:nth-child(2)", + "targets": [ + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[10]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div/nav/button[2]", "xpath:idRelative"], + ["xpath=//nav/button[2]", "xpath:position"], + ["xpath=//button[contains(.,'Options')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "90ae2137-9aa8-4084-873a-922a983becb8", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(4) span", + "targets": [ + ["css=.row:nth-child(4) span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[4]/div/div/div/div/label/span", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/div/label/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Duration Display')]", "xpath:innerText"] + ], + "value": "Custom Duration Display" + }, { + "id": "13c43075-05ff-4a8d-9061-eec151898cc4", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomDuration", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDuration", "id"], + ["css=#root_relyingPartyOverrides_CustomDuration", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDuration']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[4]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/div/input", "xpath:position"] + ], + "value": "P1D" + }, { + "id": "f4b7ec03-73cb-4614-ac1f-3a6ee8518bea", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomDuration", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDuration", "id"], + ["css=#root_relyingPartyOverrides_CustomDuration", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDuration']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[4]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "2bedae15-c9f2-48b2-8a9d-6bc88cdcb15d", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomDuration", + "targets": [ + ["id=root_relyingPartyOverrides_CustomDuration", "id"], + ["css=#root_relyingPartyOverrides_CustomDuration", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomDuration']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[4]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/div/input", "xpath:position"] + ], + "value": "PT30S" + }, { + "id": "b9a5fbe0-af3e-46c6-afa5-514ba0c3b128", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[7]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "da319c81-0036-4558-8f23-02039e7ce7aa", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mx-4", + "targets": [], + "value": "30000" + }, { + "id": "f3aef07f-2809-4d29-bbea-f95fc728514d", + "comment": "", + "command": "click", + "target": "css=.mx-4", + "targets": [ + ["css=.mx-4", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='filters']/ul/li/div/button", "xpath:idRelative"], + ["xpath=//li/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Test Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4db073bd-d30e-4483-81b2-5c8565aec82a", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mb-4:nth-child(4) div:nth-child(4) .d-block:nth-child(1)", + "targets": [], + "value": "30000" + }, { + "id": "c0009b00-2d7d-419d-83e3-541e0406825a", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(4) div:nth-child(4) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(4) div:nth-child(4) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[4]/div/span", "xpath:idRelative"], + ["xpath=//section[2]/div/div[2]/div[2]/div/div[4]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Duration Display')]", "xpath:innerText"] + ], + "value": "Custom Duration Display" + }, { + "id": "9a663199-4969-44fc-a876-bc38ff480a8a", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(4) div:nth-child(4) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(4) div:nth-child(4) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[4]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[2]/div/div[2]/div[2]/div/div[4]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "PT30S" + }, { + "id": "759983ef-4f3b-435d-a33d-5eadd2a7a7ab", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "85abec76-aea7-430f-bd58-bb5e2a721a0b", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2671dbeb-99a3-4771-b924-34914700b451", + "comment": "", + "command": "click", + "target": "css=.text-danger", + "targets": [ + ["css=.text-danger", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div[2]/table/tbody/tr/td[5]/button", "xpath:idRelative"], + ["xpath=//td[5]/button", "xpath:position"], + ["xpath=//button[contains(.,'Delete')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9065f099-3cc6-49ac-9f77-d1669c5fd827", + "comment": "", + "command": "click", + "target": "css=.btn-danger", + "targets": [ + ["css=.btn-danger", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[3]/div/div/div[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "ac50c63d-59fe-4027-9595-c23014779756", + "comment": "", + "command": "assertElementNotPresent", + "target": "css=table > tbody > tr", + "targets": [], + "value": "" + }] + }], + "suites": [{ + "id": "575d414c-556d-45f7-b2f2-c9971ad51348", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["4827d8a8-0f07-40ad-aab3-b4858faf45a6"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1732-7.side b/backend/src/integration/resources/SHIBUI-1732-7.side new file mode 100644 index 000000000..e1e9b5712 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1732-7.side @@ -0,0 +1,990 @@ +{ + "id": "3200c2aa-0382-48f4-a83d-5ecbc3ebdf29", + "version": "2.0", + "name": "SHIBUI-1732-7", + "url": "http://localhost:10101", + "tests": [{ + "id": "4827d8a8-0f07-40ad-aab3-b4858faf45a6", + "name": "SHIBUI-1732-7", + "commands": [{ + "id": "69a71870-d55c-42d1-80dd-493c28479b98", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "7962ad24-0a23-4693-b19c-1c8fd5f263ea", + "comment": "", + "command": "type", + "target": "id=username", + "targets": [ + ["id=username", "id"], + ["name=username", "name"], + ["css=#username", "css:finder"], + ["xpath=//input[@id='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "03540e0d-6f3b-4ddc-9236-908402a9c23f", + "comment": "", + "command": "type", + "target": "id=password", + "targets": [ + ["id=password", "id"], + ["name=password", "name"], + ["css=#password", "css:finder"], + ["xpath=//input[@id='password']", "xpath:attributes"], + ["xpath=//p[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "473a14ad-593f-4d8f-b41f-7b1af3d7059d", + "comment": "", + "command": "click", + "target": "css=.btn", + "targets": [ + ["css=.btn", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'Sign in')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "da7d071b-42d1-44eb-8937-916993bd1ba4", + "comment": "", + "command": "waitForElementVisible", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [], + "value": "30000" + }, { + "id": "fe43133b-346d-4931-a8aa-5401b8bf90bb", + "comment": "", + "command": "open", + "target": "/api/heheheheheheheWipeout", + "targets": [], + "value": "" + }, { + "id": "dcc7311c-6448-4c6b-bd79-740b74082ef4", + "comment": "", + "command": "assertText", + "target": "css=body", + "targets": [], + "value": "yes, you did it" + }, { + "id": "8cef2009-da1b-47d9-bd42-1802016e92bd", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "83d61f40-9fb9-49db-a15a-3cbd4c50187b", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b1ac8d53-da06-41c2-8235-65cf47a2de24", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "81b10e17-3858-4b15-a9c0-18aa7a5e0002", + "comment": "", + "command": "click", + "target": "linkText=Add new attribute", + "targets": [ + ["linkText=Add new attribute", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'  Add new attribute')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4dc17d9e-3184-4fc2-9922-23f521771592", + "comment": "", + "command": "select", + "target": "id=root_attributeType", + "targets": [], + "value": "label=Spring Bean ID" + }, { + "id": "886a5a1b-8855-44f1-a09c-770682bc332d", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "CustomSpringBean" + }, { + "id": "292dd8e3-e3dc-4401-9a0d-61282ece3ded", + "comment": "", + "command": "type", + "target": "id=root_attributeFriendlyName", + "targets": [ + ["id=root_attributeFriendlyName", "id"], + ["css=#root_attributeFriendlyName", "css:finder"], + ["xpath=//input[@id='root_attributeFriendlyName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[3]/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/input", "xpath:position"] + ], + "value": "Custom Spring Friendly" + }, { + "id": "6954aa36-bbbe-490e-b4ed-9af78e77682a", + "comment": "", + "command": "type", + "target": "id=root_attributeName", + "targets": [ + ["id=root_attributeName", "id"], + ["css=#root_attributeName", "css:finder"], + ["xpath=//input[@id='root_attributeName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "Custom Spring Attribute" + }, { + "id": "e8767e38-8a5b-4e96-9105-94703247c7c6", + "comment": "", + "command": "type", + "target": "id=root_displayName", + "targets": [ + ["id=root_displayName", "id"], + ["css=#root_displayName", "css:finder"], + ["xpath=//input[@id='root_displayName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[5]/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/input", "xpath:position"] + ], + "value": "Custom Spring Display" + }, { + "id": "ff8d71a1-4247-4385-864f-a618a79da6aa", + "comment": "", + "command": "type", + "target": "id=root_helpText", + "targets": [ + ["id=root_helpText", "id"], + ["css=#root_helpText", "css:finder"], + ["xpath=//input[@id='root_helpText']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div/div[6]/div/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/div/input", "xpath:position"] + ], + "value": "Custom Spring Help" + }, { + "id": "fe67d60a-a1fd-4a8e-a154-6a145270107d", + "comment": "", + "command": "type", + "target": "id=root_defaultValue", + "targets": [ + ["id=root_defaultValue", "id"], + ["css=#root_defaultValue", "css:finder"], + ["xpath=//input[@id='root_defaultValue']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/input", "xpath:position"] + ], + "value": "Custom Spring Bean Default" + }, { + "id": "7b3dfd6a-3a83-448d-a20f-5c6bfa998f4b", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5f50c31e-3cf0-4505-a131-fe161150d5dd", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6ac32c5e-e5c3-45da-9ab7-9fda9f1f8505", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-source", + "targets": [ + ["id=metadata-nav-dropdown-source", "id"], + ["linkText=Add a new metadata source", "linkText"], + ["css=#metadata-nav-dropdown-source", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata source')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-source']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/new')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata source')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7a7e99ff-3726-493d-8e86-a24329bcfffb", + "comment": "", + "command": "waitForElementEditable", + "target": "id=root_serviceProviderName", + "targets": [], + "value": "30000" + }, { + "id": "abe3a828-51a0-4fd7-b420-edb5448a702b", + "comment": "", + "command": "type", + "target": "id=root_serviceProviderName", + "targets": [ + ["id=root_serviceProviderName", "id"], + ["css=#root_serviceProviderName", "css:finder"], + ["xpath=//input[@id='root_serviceProviderName']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "7c009d51-1a67-46a6-90c6-a09483fd6976", + "comment": "", + "command": "type", + "target": "id=root_entityId", + "targets": [ + ["id=root_entityId", "id"], + ["css=#root_entityId", "css:finder"], + ["xpath=//input[@id='root_entityId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/div/form/div/div/div/div/div/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "aecc893c-45c4-4851-866a-e73117647a4b", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/nav/ul/li[2]/button/span", "xpath:idRelative"], + ["xpath=//li[2]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'2. Organization Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "466814b6-64e3-4067-817c-e518a5da3cff", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'3. User Interface / MDUI Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "73e88153-982c-4332-a59e-34d72ed1cee5", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. SP SSO Descriptor Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fd470abf-cd53-4001-b973-e82e32063ad8", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "7141aa53-e57b-46ed-92d9-8cf5d12108dc", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e8b45020-6fe3-464a-ad9a-28a35f177d25", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'7. Assertion Consumer Service')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f3106f77-bcee-4a96-853f-51ab8919cbf9", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'8. Relying Party Overrides')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b5aaed88-02ef-49b7-93fb-55c179ae27c1", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(9) span", + "targets": [ + ["css=.row:nth-child(9) span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[9]/div/div/div/div/label/span", "xpath:idRelative"], + ["xpath=//div[9]/div/div/div/div/label/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Spring Display')]", "xpath:innerText"] + ], + "value": "Custom Spring Display" + }, { + "id": "d8566e2f-42a7-43dd-9436-0fd2a14d2fee", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomSpringBean", + "targets": [ + ["id=root_relyingPartyOverrides_CustomSpringBean", "id"], + ["css=#root_relyingPartyOverrides_CustomSpringBean", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomSpringBean']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[9]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[9]/div/div/div/div/input", "xpath:position"] + ], + "value": "Custom Spring Bean Default" + }, { + "id": "db227cf5-2ff1-4d62-8628-af32947db88a", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomSpringBean", + "targets": [ + ["id=root_relyingPartyOverrides_CustomSpringBean", "id"], + ["css=#root_relyingPartyOverrides_CustomSpringBean", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomSpringBean']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[9]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[9]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "62cb0e01-d483-47a7-bb25-efbc7d1c5b02", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomSpringBean", + "targets": [ + ["id=root_relyingPartyOverrides_CustomSpringBean", "id"], + ["css=#root_relyingPartyOverrides_CustomSpringBean", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomSpringBean']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[9]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[9]/div/div/div/div/input", "xpath:position"] + ], + "value": "Custom Spring Bean Default Edited" + }, { + "id": "bed27bec-590a-4b06-810d-16fd6d8ffcf4", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e6ea5ba8-6e68-41e9-a347-9613fecc85a2", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "7ff95520-f777-425b-9887-bb7fd369ba3d", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "ab0cc63c-2c42-4889-812a-5f0fa9794978", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/6701632b-6b28-4b80-a204-6a44bc03635b/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e888dee8-ae1c-4abe-884f-08829c3767b9", + "comment": "", + "command": "waitForElementVisible", + "target": "css=div:nth-child(9) .d-block:nth-child(1)", + "targets": [], + "value": "30000" + }, { + "id": "fe8b707d-37b1-4369-8f0f-574edbdec412", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(9) .d-block:nth-child(1)", + "targets": [ + ["css=div:nth-child(9) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[9]/div/span", "xpath:idRelative"], + ["xpath=//div[9]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Spring Display')]", "xpath:innerText"] + ], + "value": "Custom Spring Display" + }, { + "id": "3846ad98-da0d-4b51-abda-4c06225033c2", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(9) .text-truncate", + "targets": [ + ["css=div:nth-child(9) .text-truncate", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[9]/div/span[2]", "xpath:idRelative"], + ["xpath=//div[9]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'Custom Spring Bean Default Edited')]", "xpath:innerText"] + ], + "value": "Custom Spring Bean Default Edited" + }, { + "id": "fb34ed37-b110-4ea7-995c-8175ea338546", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f9ceeb40-0f28-48ed-ad34-9682af2ceae1", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-provider", + "targets": [ + ["id=metadata-nav-dropdown-provider", "id"], + ["linkText=Add a new metadata provider", "linkText"], + ["css=#metadata-nav-dropdown-provider", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata provider')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-provider']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/new')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7fe31c1d-c92f-4f9a-9f88-aa15dab8e55c", + "comment": "", + "command": "waitForElementEditable", + "target": "name=type", + "targets": [], + "value": "30000" + }, { + "id": "86016caf-74c3-4134-8481-0388310aabcf", + "comment": "", + "command": "type", + "target": "name=name", + "targets": [ + ["name=name", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//input[@name='name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/div/form/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "f26372d3-0701-4cc3-9746-8f96175686e6", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=FileBackedHttpMetadataResolver" + }, { + "id": "792b87d7-44cb-4d46-ad30-ead07f1b2613", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.nav-link", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/nav/ul/li[2]/button", "xpath:idRelative"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "a638959e-a5af-479b-a799-5f4d11ae922d", + "comment": "", + "command": "waitForElementEditable", + "target": "id=root_xmlId", + "targets": [], + "value": "30000" + }, { + "id": "549c5964-7180-485d-bbfe-773816aa84fc", + "comment": "", + "command": "type", + "target": "id=root_xmlId", + "targets": [ + ["id=root_xmlId", "id"], + ["css=#root_xmlId", "css:finder"], + ["xpath=//input[@id='root_xmlId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "1" + }, { + "id": "bdf100aa-ec80-45af-973d-a4d047b555a7", + "comment": "", + "command": "type", + "target": "id=root_metadataURL", + "targets": [ + ["id=root_metadataURL", "id"], + ["css=#root_metadataURL", "css:finder"], + ["xpath=//input[@id='root_metadataURL']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "c6cbfc9c-0221-4735-b76b-14173b5bb89b", + "comment": "", + "command": "type", + "target": "id=root_backingFile", + "targets": [ + ["id=root_backingFile", "id"], + ["css=#root_backingFile", "css:finder"], + ["xpath=//input[@id='root_backingFile']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "${idp.home}/foo" + }, { + "id": "4818c54c-8d45-442b-9262-01310ba1272f", + "comment": "", + "command": "click", + "target": "css=.rbt-input-main", + "targets": [ + ["css=.rbt-input-main", "css:finder"], + ["xpath=//input[@value='']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[5]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "67a3627d-6562-455b-aa32-b5fc8a71162e", + "comment": "", + "command": "click", + "target": "id=option-selector-root_backupFileInitNextRefreshDelay-item-1", + "targets": [ + ["id=option-selector-root_backupFileInitNextRefreshDelay-item-1", "id"], + ["linkText=PT30S", "linkText"], + ["css=#option-selector-root_backupFileInitNextRefreshDelay-item-1", "css:finder"], + ["xpath=//a[@id='option-selector-root_backupFileInitNextRefreshDelay-item-1']", "xpath:attributes"], + ["xpath=//div[@id='option-selector-root_backupFileInitNextRefreshDelay']/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div[2]/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f9ffea74-5507-4a31-a571-6bd128d0576c", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "9c97dced-df49-4064-a180-f180795f570f", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. Metadata Filter Plugins')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a9935afc-4756-4caf-91f3-211e5f5fe37b", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e4c660f0-638a-46f7-a3a0-8cfe81944d1e", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "a29860c0-7590-484d-b9f5-0ba20e3b9728", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/c0e72175-7e5c-44e4-9218-23743def626c/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7e03a60c-9e63-43ba-8456-80b6e76f7d2b", + "comment": "", + "command": "waitForElementVisible", + "target": "linkText=Add Filter", + "targets": [], + "value": "30000" + }, { + "id": "72d7a5f0-9802-426a-bb15-6236f78d581b", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=#filters .btn", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/c0e72175-7e5c-44e4-9218-23743def626c/filter/new')]", "xpath:href"], + ["xpath=//div[3]/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "69200518-82d3-42cb-9ade-dc2827c3db19", + "comment": "", + "command": "waitForElementEditable", + "target": "name=type", + "targets": [], + "value": "30000" + }, { + "id": "f56a4688-be78-4eee-874c-54cd974beec7", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "e0ee635a-1690-44d3-89e1-5494f8144e2c", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test Filter" + }, { + "id": "b19a550d-ba46-4f25-8b0e-d23c361839e3", + "comment": "", + "command": "click", + "target": "id=dropdown-label.filter-target-type", + "targets": [ + ["id=dropdown-label.filter-target-type", "id"], + ["css=#dropdown-label\\.filter-target-type", "css:finder"], + ["xpath=//button[@id='dropdown-label.filter-target-type']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "96f88efb-2161-4169-a368-285fb45d9080", + "comment": "", + "command": "click", + "target": "css=.show > .dropdown-item:nth-child(3)", + "targets": [ + ["css=.show > .dropdown-item:nth-child(3)", "css:finder"], + ["xpath=(//button[@type='button'])[17]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/div/button[3]", "xpath:idRelative"], + ["xpath=//div/button[3]", "xpath:position"], + ["xpath=//button[contains(.,'Script')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a52d428d-52d7-41af-a421-ad05fa0083a6", + "comment": "", + "command": "type", + "target": "css=.npm__react-simple-code-editor__textarea", + "targets": [ + ["css=.npm__react-simple-code-editor__textarea", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div[2]/div/div/div/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "eval(true);" + }, { + "id": "f4a133b5-010b-4585-a549-8c048b6a5372", + "comment": "", + "command": "click", + "target": "css=.nav-link:nth-child(2)", + "targets": [ + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[10]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div/nav/button[2]", "xpath:idRelative"], + ["xpath=//nav/button[2]", "xpath:position"], + ["xpath=//button[contains(.,'Options')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fbef6ebb-1f20-4dcd-a907-735e4113c382", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(9) span", + "targets": [ + ["css=.row:nth-child(9) span", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[9]/div/div/div/div/label/span", "xpath:idRelative"], + ["xpath=//div[9]/div/div/div/div/label/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Spring Display')]", "xpath:innerText"] + ], + "value": "Custom Spring Display" + }, { + "id": "fa5519d9-8ffd-47d8-8800-f0c70e62981a", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomSpringBean", + "targets": [ + ["id=root_relyingPartyOverrides_CustomSpringBean", "id"], + ["css=#root_relyingPartyOverrides_CustomSpringBean", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomSpringBean']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[9]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[9]/div/div/div/div/input", "xpath:position"] + ], + "value": "Custom Spring Bean Default" + }, { + "id": "7d8b2b42-ff07-478b-8a00-e330d96db885", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomSpringBean", + "targets": [ + ["id=root_relyingPartyOverrides_CustomSpringBean", "id"], + ["css=#root_relyingPartyOverrides_CustomSpringBean", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomSpringBean']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[9]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[9]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "260e1a3a-a42f-4130-aff3-615fb0cb06b6", + "comment": "", + "command": "type", + "target": "id=root_relyingPartyOverrides_CustomSpringBean", + "targets": [ + ["id=root_relyingPartyOverrides_CustomSpringBean", "id"], + ["css=#root_relyingPartyOverrides_CustomSpringBean", "css:finder"], + ["xpath=//input[@id='root_relyingPartyOverrides_CustomSpringBean']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[9]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[9]/div/div/div/div/input", "xpath:position"] + ], + "value": "Custom Spring Bean Default Edited" + }, { + "id": "4a64924e-3982-4b03-86ba-aa0bcd77b6da", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[7]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "aada51c6-40d9-434f-ad43-fbd05c31e901", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mx-4", + "targets": [], + "value": "30000" + }, { + "id": "cf60a164-174f-4319-9c28-7c48f5209649", + "comment": "", + "command": "click", + "target": "css=.mx-4", + "targets": [ + ["css=.mx-4", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='filters']/ul/li/div/button", "xpath:idRelative"], + ["xpath=//li/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Test Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "47f8360f-1b8d-4e0f-9792-e51d34dbee95", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(4) div:nth-child(9) .d-block:nth-child(1)", + "targets": [ + ["css=.mb-4:nth-child(4) div:nth-child(9) .d-block:nth-child(1)", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[9]/div/span", "xpath:idRelative"], + ["xpath=//section[2]/div/div[2]/div[2]/div/div[9]/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom Spring Display')]", "xpath:innerText"] + ], + "value": "Custom Spring Display" + }, { + "id": "93126f8b-823c-4b79-87c8-df32ece80ad6", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(4) div:nth-child(9) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(4) div:nth-child(9) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[9]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[2]/div/div[2]/div[2]/div/div[9]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'Custom Spring Bean Default Edited')]", "xpath:innerText"] + ], + "value": "Custom Spring Bean Default Edited" + }, { + "id": "d0e47cad-e9f7-4045-9d1c-f12f89b8ef44", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-toggle", + "targets": [ + ["id=advanced-nav-dropdown-toggle", "id"], + ["css=#advanced-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='advanced-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'Advanced')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8862f798-6226-4783-bbe6-c3f9d0fec3f0", + "comment": "", + "command": "click", + "target": "id=advanced-nav-dropdown-attr", + "targets": [ + ["id=advanced-nav-dropdown-attr", "id"], + ["linkText=Custom entity attributes", "linkText"], + ["css=#advanced-nav-dropdown-attr", "css:finder"], + ["xpath=//a[contains(text(),'Custom entity attributes')]", "xpath:link"], + ["xpath=//a[@id='advanced-nav-dropdown-attr']", "xpath:attributes"], + ["xpath=//div[@id='advanced-nav-dropdown']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/attributes')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Custom entity attributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b6af6247-04f0-4e68-a53f-77c314164a44", + "comment": "", + "command": "click", + "target": "css=.fa-trash > path", + "targets": [ + ["css=.fa-trash > path", "css:finder"] + ], + "value": "" + }, { + "id": "2b25e28a-c3cf-42c9-bae2-3820592a35cc", + "comment": "", + "command": "click", + "target": "css=.btn-danger", + "targets": [ + ["css=.btn-danger", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[3]/div/div/div[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "fafdd055-7481-446d-b101-9f3edcc4dce9", + "comment": "", + "command": "assertElementNotPresent", + "target": "css=table > tbody > tr", + "targets": [], + "value": "" + }] + }], + "suites": [{ + "id": "575d414c-556d-45f7-b2f2-c9971ad51348", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["4827d8a8-0f07-40ad-aab3-b4858faf45a6"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java index b2d291dd2..99a530753 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java @@ -1,11 +1,7 @@ package edu.internet2.tier.shibboleth.admin.ui.controller; import edu.internet2.tier.shibboleth.admin.ui.configuration.DevConfig; -import edu.internet2.tier.shibboleth.admin.ui.repository.AttributeBundleRepository; -import edu.internet2.tier.shibboleth.admin.ui.repository.EntityDescriptorRepository; -import edu.internet2.tier.shibboleth.admin.ui.repository.FilterRepository; -import edu.internet2.tier.shibboleth.admin.ui.repository.MetadataResolverRepository; -import edu.internet2.tier.shibboleth.admin.ui.repository.MetadataResolversPositionOrderContainerRepository; +import edu.internet2.tier.shibboleth.admin.ui.repository.*; import edu.internet2.tier.shibboleth.admin.ui.security.repository.GroupsRepository; import edu.internet2.tier.shibboleth.admin.ui.security.repository.OwnershipRepository; import edu.internet2.tier.shibboleth.admin.ui.security.repository.UserRepository; @@ -25,6 +21,9 @@ @Profile("very-dangerous") @Slf4j public class DangerController { + @Autowired + private CustomEntityAttributeDefinitionRepository attributeRepository; + @Autowired private AttributeBundleRepository attributeBundleRepository; @@ -76,6 +75,7 @@ public ResponseEntity wipeOut() { this.filterRepository.deleteAll(); this.metadataResolversPositionOrderContainerRepository.deleteAll(); this.attributeBundleRepository.deleteAll(); + this.attributeRepository.deleteAll(); clearUsersAndGroups(); From 119f62b95f9cbe796dc5b7226a23312664a89de7 Mon Sep 17 00:00:00 2001 From: chasegawa Date: Mon, 4 Oct 2021 14:02:05 -0700 Subject: [PATCH 03/20] SHIBUI-1936 Fixing issue with changing security settings from true to false --- .../util/EntityDescriptorConversionUtils.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/util/EntityDescriptorConversionUtils.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/util/EntityDescriptorConversionUtils.java index 29e9a9336..8b4e7a71a 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/util/EntityDescriptorConversionUtils.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/util/EntityDescriptorConversionUtils.java @@ -247,9 +247,21 @@ public static void setupSecurity(EntityDescriptor ed, EntityDescriptorRepresenta SecurityInfoRepresentation securityInfoRepresentation = representation.getSecurityInfo(); if (securityInfoRepresentation.isAuthenticationRequestsSigned()) { getSPSSODescriptorFromEntityDescriptor(ed).setAuthnRequestsSigned(true); + } else { + // If false, only set if the spssodescriptor already exists and is true + SPSSODescriptor descriptor = ed.getSPSSODescriptor(""); + if (descriptor != null && descriptor.isAuthnRequestsSigned()) { + descriptor.setAuthnRequestsSigned((Boolean)null); + } } if (securityInfoRepresentation.isWantAssertionsSigned()) { getSPSSODescriptorFromEntityDescriptor(ed).setWantAssertionsSigned(true); + } else { + // If false, only set if the spssodescriptor already exists and is true + SPSSODescriptor descriptor = ed.getSPSSODescriptor(""); + if (descriptor != null && descriptor.getWantAssertionsSigned()) { + descriptor.setWantAssertionsSigned((Boolean)null); + } } // TODO: review if we need more than a naive implementation ed.getOptionalSPSSODescriptor().ifPresent( i -> i.getKeyDescriptors().clear()); @@ -375,4 +387,4 @@ public static void setupRelyingPartyOverrides(EntityDescriptor ed, EntityDescrip getOptionalEntityAttributes(ed).ifPresent(entityAttributes -> entityAttributes.getAttributes().clear()); } } -} +} \ No newline at end of file From 62fa09ac5a6bd5fceafd161282bf61321bab54a9 Mon Sep 17 00:00:00 2001 From: chasegawa Date: Mon, 4 Oct 2021 16:05:54 -0700 Subject: [PATCH 04/20] SHIBUI-2126 / 2110 Reverting change. Code worked in its original state --- .../admin/ui/service/JsonSchemaBuilderService.groovy | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy index bf41de0ef..a45448016 100644 --- a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy +++ b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy @@ -30,10 +30,9 @@ class JsonSchemaBuilderService { resultNames.add(bundle.getName()) }) - for (Map attribute : customPropertiesConfiguration.getAttributes()) { - result.add(attribute.get("name")) - resultNames.add(attribute.get("displayName")) - } + result.addAll(customPropertiesConfiguration.getAttributes().collect { + it['name'] + }) json['enum'] = result json['enumNames'] = resultNames From a4a9dcc6bd6615eccc022ad5462dca5af42ee58a Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Mon, 4 Oct 2021 17:40:31 -0700 Subject: [PATCH 05/20] 1936 Updated metadata source version test to include checking changes of security booleans. --- .../integration/resources/SHIBUI-1334-1.side | 160 +++++++++++++----- 1 file changed, 118 insertions(+), 42 deletions(-) diff --git a/backend/src/integration/resources/SHIBUI-1334-1.side b/backend/src/integration/resources/SHIBUI-1334-1.side index df38cb942..9c8248bf9 100644 --- a/backend/src/integration/resources/SHIBUI-1334-1.side +++ b/backend/src/integration/resources/SHIBUI-1334-1.side @@ -981,7 +981,7 @@ "id": "e26eda6f-1897-42e2-9ea9-671b1ff88874", "comment": "", "command": "click", - "target": "id=root_securityInfo_wantAssertionsSigned-value.true", + "target": "id=root_securityInfo_wantAssertionsSigned-value.false", "targets": [ ["id=root_securityInfo_wantAssertionsSigned-value.true", "id"], ["name=root_securityInfo_wantAssertionsSigned", "name"], @@ -1967,6 +1967,30 @@ ["xpath=//div/div[5]/div/span", "xpath:position"] ], "value": "True" + }, { + "id": "a1050ebe-55c5-4eac-8d12-615f3ff1cd72", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(6) .p-2 > div > div > div:nth-child(2) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(6) .p-2 > div > div > div:nth-child(2) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[6]/div/div[2]/div[2]/div/div[2]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[6]/div/div[2]/div[2]/div/div[2]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'true')]", "xpath:innerText"] + ], + "value": "true" + }, { + "id": "43b130ff-e8a5-493d-a418-f1f8623f1de3", + "comment": "", + "command": "assertText", + "target": "css=.mb-4:nth-child(6) .p-2 > div > div > div:nth-child(3) .d-block:nth-child(2)", + "targets": [ + ["css=.mb-4:nth-child(6) .p-2 > div > div > div:nth-child(3) .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[6]/div/div[2]/div[2]/div/div[3]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[6]/div/div[2]/div[2]/div/div[3]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'false')]", "xpath:innerText"] + ], + "value": "false" }, { "id": "1406d7e4-907d-4359-8de8-a40206f0993e", "comment": "", @@ -2314,6 +2338,46 @@ ["xpath=//div[2]/div/div/div/div/div/div/div/div/div/input", "xpath:position"] ], "value": "Test User v2" + }, { + "id": "a33c9be0-5e42-4300-836b-b50e80d31161", + "comment": "", + "command": "click", + "target": "css=.nav-link:nth-child(5)", + "targets": [ + ["css=.nav-link:nth-child(5)", "css:finder"], + ["xpath=(//button[@type='button'])[12]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/nav/button[5]", "xpath:idRelative"], + ["xpath=//button[5]", "xpath:position"], + ["xpath=//button[contains(.,'Security Information')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "19ca1000-cbaa-4f6b-9239-e778866c0e34", + "comment": "", + "command": "click", + "target": "id=root_securityInfo_authenticationRequestsSigned-value.false", + "targets": [ + ["id=root_securityInfo_authenticationRequestsSigned-value.false", "id"], + ["css=#root_securityInfo_authenticationRequestsSigned-value\\.false", "css:finder"], + ["xpath=//input[@id='root_securityInfo_authenticationRequestsSigned-value.false']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div[2]/div/form/div/div/div/div/div[6]/div/div/div/div/div/div/div/div/div[2]/input", "xpath:idRelative"], + ["xpath=//div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "4ca0d918-791d-4a27-8c17-d031e8014dd7", + "comment": "", + "command": "click", + "target": "id=root_securityInfo_wantAssertionsSigned-value.true", + "targets": [ + ["id=root_securityInfo_wantAssertionsSigned-value.true", "id"], + ["name=root_securityInfo_wantAssertionsSigned", "name"], + ["css=#root_securityInfo_wantAssertionsSigned-value\\.true", "css:finder"], + ["xpath=//input[@id='root_securityInfo_wantAssertionsSigned-value.true']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div[2]/div/form/div/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/input", "xpath:position"] + ], + "value": "" }, { "id": "d424ae83-f36b-41b4-8e08-79c452577d89", "comment": "", @@ -2438,6 +2502,52 @@ ["xpath=//div[5]/div[2]/div/span[3]", "xpath:position"] ], "value": "Test User" + }, { + "id": "89945406-0c5f-4e3f-8bce-659f7f34cb3d", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(2) > .bg-diff > .d-block:nth-child(2)", + "targets": [ + ["css=div:nth-child(2) > .bg-diff > .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[5]/div/div[2]/div[2]/div/div[2]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[5]/div/div[2]/div[2]/div/div[2]/div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'false')]", "xpath:innerText"] + ], + "value": "false" + }, { + "id": "39628eb7-55cb-41d0-827c-b5bd6e80b6bb", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(2) > .bg-diff > .d-block:nth-child(3)", + "targets": [ + ["css=div:nth-child(2) > .bg-diff > .d-block:nth-child(3)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[5]/div/div[2]/div[2]/div/div[2]/div/span[3]", "xpath:idRelative"], + ["xpath=//section[5]/div/div[2]/div[2]/div/div[2]/div/span[3]", "xpath:position"], + ["xpath=//span[contains(.,'true')]", "xpath:innerText"] + ], + "value": "true" + }, { + "id": "69242724-afc5-4036-8c73-937a8b66dc5e", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(3) > .bg-diff > .d-block:nth-child(2)", + "targets": [ + ["css=div:nth-child(3) > .bg-diff > .d-block:nth-child(2)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[5]/div/div[2]/div[2]/div/div[3]/div/span[2]", "xpath:idRelative"], + ["xpath=//section[5]/div/div[2]/div[2]/div/div[3]/div/span[2]", "xpath:position"] + ], + "value": "true" + }, { + "id": "bc16d76e-e95a-4357-942c-f346831e42c1", + "comment": "", + "command": "assertText", + "target": "css=div:nth-child(3) > .bg-diff > .d-block:nth-child(3)", + "targets": [ + ["css=div:nth-child(3) > .bg-diff > .d-block:nth-child(3)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[5]/div/div[2]/div[2]/div/div[3]/div/span[3]", "xpath:idRelative"], + ["xpath=//section[5]/div/div[2]/div[2]/div/div[3]/div/span[3]", "xpath:position"] + ], + "value": "false" }, { "id": "4d1a88de-e41a-444b-b351-38febb7cbab3", "comment": "", @@ -2479,10 +2589,10 @@ }, { "id": "e23ad673-a84c-4c28-a927-8baf21fe1f12", "comment": "", - "command": "pause", - "target": "5000", + "command": "waitForElementEditable", + "target": "id=root_mdui_displayName", "targets": [], - "value": "" + "value": "30000" }, { "id": "a701c68a-f605-428a-80b0-aba22a74d7ee", "comment": "", @@ -2503,13 +2613,6 @@ ["xpath=//input", "xpath:position"] ], "value": "Display Name v3" - }, { - "id": "77bfef92-d0e6-41eb-9cd1-c2ede0cb9144", - "comment": "", - "command": "pause", - "target": "5000", - "targets": [], - "value": "" }, { "id": "c2d29077-30c4-45cf-81c9-b5790294e11e", "comment": "", @@ -2522,39 +2625,12 @@ ], "value": "" }, { - "id": "7cb06481-49e0-41a5-b45c-e75c15fda227", + "id": "5e9c3c7d-04ec-4dc1-b826-928e40b2fc62", "comment": "", - "command": "pause", - "target": "5000", + "command": "waitForElementVisible", + "target": "linkText=Version History", "targets": [], - "value": "" - }, { - "id": "f2e3d420-5cf5-4165-94da-41688839cf82", - "comment": "", - "command": "click", - "target": "css=.btn-link:nth-child(1)", - "targets": [ - ["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"], - ["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"], - ["xpath=//div/a/translate-i18n", "xpath:position"], - ["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "d1389dc8-86b0-44df-a39e-0037bc695403", - "comment": "", - "command": "click", - "target": "linkText=Service Provider v2", - "targets": [ - ["linkText=Service Provider v2", "linkText"], - ["css=.align-middle > a", "css:finder"], - ["xpath=//a[contains(text(),'Service Provider v2')]", "xpath:link"], - ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td/a", "xpath:idRelative"], - ["xpath=//a[contains(@href, '/metadata/source/7060569d-8281-4418-ad56-900b8b608ece/configuration/options')]", "xpath:href"], - ["xpath=//td/a", "xpath:position"], - ["xpath=//a[contains(.,'Service Provider v2')]", "xpath:innerText"] - ], - "value": "" + "value": "30000" }, { "id": "68972f7d-8268-4701-865c-585a39987208", "comment": "", From 717e52a50484475f442c47f249535a66b35a8f5e Mon Sep 17 00:00:00 2001 From: chasegawa Date: Thu, 7 Oct 2021 08:51:18 -0700 Subject: [PATCH 06/20] SHIBUI-2151 Changes per ryan to backend schema --- .../admin/ui/service/JsonSchemaBuilderService.groovy | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy index a45448016..e03157b50 100644 --- a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy +++ b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy @@ -64,11 +64,7 @@ class JsonSchemaBuilderService { def definition = [title : it['displayName'], description: it['helpText'], type : 'array'] - if (it['displayType'] == 'set' || it['displayType'] == 'selection_list') { - definition['uniqueItems'] = true - } else if (it['displayType'] == 'list') { - definition['uniqueItems'] = false - } + definition['uniqueItems'] = false def items = [type : 'string', minLength: 1, // TODO: should this be configurable? maxLength: 255] //TODO: or this? From 2ed9b1094555a6ad2e2b03414312408f6d0a2f9c Mon Sep 17 00:00:00 2001 From: chasegawa Date: Thu, 7 Oct 2021 09:08:52 -0700 Subject: [PATCH 07/20] SHIBUI-2151 Changes per ryan to backend schema --- .../shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy index e03157b50..622b91f0a 100644 --- a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy +++ b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy @@ -68,7 +68,7 @@ class JsonSchemaBuilderService { def items = [type : 'string', minLength: 1, // TODO: should this be configurable? maxLength: 255] //TODO: or this? - items.examples = it['examples'] + items.enum = it['examples'] items['default'] = it['defaultValue'] From 1a7a60d88c08f9a3c62d45d1476f20cdb5df54fa Mon Sep 17 00:00:00 2001 From: chasegawa Date: Thu, 7 Oct 2021 11:26:36 -0700 Subject: [PATCH 08/20] SHIBUI-2151 Changes per ryan to backend schema --- .../admin/ui/service/JsonSchemaBuilderService.groovy | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy index 622b91f0a..ee44ce794 100644 --- a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy +++ b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy @@ -64,13 +64,18 @@ class JsonSchemaBuilderService { def definition = [title : it['displayName'], description: it['helpText'], type : 'array'] - definition['uniqueItems'] = false def items = [type : 'string', minLength: 1, // TODO: should this be configurable? maxLength: 255] //TODO: or this? - items.enum = it['examples'] + if (it['displayType'] == 'set' || it['displayType'] == 'selection_list') { + definition['uniqueItems'] = true + items.examples = it['examples'] + } else if (it['displayType'] == 'list') { + definition['uniqueItems'] = false + items.enum = it['examples'] + } + items['default'] = it['defaultValue'] - definition['items'] = items json[(String) it['name']] = definition From 14c16dd5dd8c09b2ce65aee9c6c0f04e5363e2e7 Mon Sep 17 00:00:00 2001 From: chasegawa Date: Thu, 7 Oct 2021 14:00:26 -0700 Subject: [PATCH 09/20] SHIBUI-2151 Changes per ryan to backend schema --- .../admin/ui/service/JsonSchemaBuilderService.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy index ee44ce794..73d02651d 100644 --- a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy +++ b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy @@ -67,10 +67,10 @@ class JsonSchemaBuilderService { def items = [type : 'string', minLength: 1, // TODO: should this be configurable? maxLength: 255] //TODO: or this? - if (it['displayType'] == 'set' || it['displayType'] == 'selection_list') { + if (it['displayType'] == 'set' || it['displayType'] == 'list') { definition['uniqueItems'] = true items.examples = it['examples'] - } else if (it['displayType'] == 'list') { + } else if (it['displayType'] == 'selection_list') { definition['uniqueItems'] = false items.enum = it['examples'] } From dc31ada419de634241c898f9609e555679937f2e Mon Sep 17 00:00:00 2001 From: chasegawa Date: Thu, 7 Oct 2021 14:21:09 -0700 Subject: [PATCH 10/20] SHIBUI-2151 Changes per ryan to backend schema --- .../shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy index 73d02651d..dd8bf8954 100644 --- a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy +++ b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JsonSchemaBuilderService.groovy @@ -74,7 +74,6 @@ class JsonSchemaBuilderService { definition['uniqueItems'] = false items.enum = it['examples'] } - items['default'] = it['defaultValue'] definition['items'] = items From 76632f121bdba12983f9f5af4d155fad60b2c1f5 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Thu, 7 Oct 2021 20:09:35 -0700 Subject: [PATCH 11/20] 2126 Updates (and one fix) for custom entity attribute tests. --- .../integration/resources/SHIBUI-1732-3.side | 1030 +++++++++++++++-- .../integration/resources/SHIBUI-1732-7.side | 2 +- 2 files changed, 966 insertions(+), 66 deletions(-) diff --git a/backend/src/integration/resources/SHIBUI-1732-3.side b/backend/src/integration/resources/SHIBUI-1732-3.side index ae15566bb..6a3927fda 100644 --- a/backend/src/integration/resources/SHIBUI-1732-3.side +++ b/backend/src/integration/resources/SHIBUI-1732-3.side @@ -483,142 +483,1042 @@ ], "value": "" }, { - "id": "e94cc140-3e26-4a9c-ac8b-c36d02af1a3a", + "id": "5d7489bb-db8f-4b5a-89e6-e3f6b3640f72", + "comment": "", + "command": "select", + "target": "id=root_relyingPartyOverrides_CustomList_0", + "targets": [], + "value": "label=bar" + }, { + "id": "01d8abc6-d8a5-46d2-9487-d5b02b95521c", + "comment": "", + "command": "click", + "target": "css=.row:nth-child(6) .array-add-button", + "targets": [ + ["css=.row:nth-child(6) .array-add-button", "css:finder"], + ["xpath=(//button[@type='button'])[14]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "ea1956c8-ead9-454d-8b00-2d555cbd4bfe", + "comment": "", + "command": "select", + "target": "id=root_relyingPartyOverrides_CustomList_1", + "targets": [], + "value": "label=baz" + }, { + "id": "649580d3-09c8-4365-9a8f-53291bdce884", + "comment": "", + "command": "click", + "target": "css=.mt-2:nth-child(2) .array-item-move-up > .svg-inline--fa", + "targets": [ + ["css=.mt-2:nth-child(2) .array-item-move-up > .svg-inline--fa", "css:finder"] + ], + "value": "" + }, { + "id": "b38da26c-687e-4870-b63c-daad4e8e8357", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomList_0", + "targets": [ + ["id=root_relyingPartyOverrides_CustomList_0", "id"], + ["css=#root_relyingPartyOverrides_CustomList_0", "css:finder"], + ["xpath=//select[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/select", "xpath:idRelative"], + ["xpath=//select", "xpath:position"] + ], + "value": "baz" + }, { + "id": "692acf9b-8d50-463e-83ba-eeebfaddc6d7", + "comment": "", + "command": "assertValue", + "target": "id=root_relyingPartyOverrides_CustomList_1", + "targets": [ + ["id=root_relyingPartyOverrides_CustomList_1", "id"], + ["css=#root_relyingPartyOverrides_CustomList_1", "css:finder"], + ["xpath=//select[@id='root_relyingPartyOverrides_CustomList_1']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div[2]/div/div/div/div/div/select", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/div/div/select", "xpath:position"] + ], + "value": "bar" + }, { + "id": "fae2179c-2ee2-4597-aa4c-a6737b375e85", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "37f88d10-40dd-4f21-ac09-4a5a886c5a72", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "9ce37583-508a-4ed4-9027-3b7c1f408895", + "comment": "", + "command": "assertText", + "target": "css=.align-items-start:nth-child(6) > .p-2", + "targets": [ + ["css=.align-items-start:nth-child(6) > .p-2", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[6]/span", "xpath:idRelative"], + ["xpath=//div[6]/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom List Display')]", "xpath:innerText"] + ], + "value": "Custom List Display" + }, { + "id": "3a2467ef-173f-49dc-8e96-3513b9f69956", + "comment": "", + "command": "assertText", + "target": "css=.align-items-center:nth-child(1) > .d-block", + "targets": [ + ["css=.align-items-center:nth-child(1) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[6]/ul/li/span", "xpath:idRelative"], + ["xpath=//li/span", "xpath:position"], + ["xpath=//span[contains(.,'baz')]", "xpath:innerText"] + ], + "value": "baz" + }, { + "id": "d5f0412c-349e-4430-93e9-051f29191a23", + "comment": "", + "command": "assertText", + "target": "css=.d-flex:nth-child(2) > .d-block", + "targets": [ + ["css=.d-flex:nth-child(2) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[6]/ul/li[2]/span", "xpath:idRelative"], + ["xpath=//li[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'bar')]", "xpath:innerText"] + ], + "value": "bar" + }, { + "id": "47ac327f-83c0-4b22-a823-86aedc166fd0", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "29c85451-5a38-4042-b2d0-64f6f701aa10", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/ca3367c6-f390-4a39-b7eb-6dd0cd5941ad/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "63e0b87d-4da3-4fb8-aa9f-6412e0562709", + "comment": "", + "command": "waitForElementVisible", + "target": "css=main > div > section > div > div > section:nth-child(9) > div > div.p-2 > div:nth-child(2) > div > div:nth-child(6) > ul > li:nth-child(1) > span", + "targets": [], + "value": "30000" + }, { + "id": "bc1292d6-d326-4146-baa8-62d9f4e97cf0", + "comment": "", + "command": "assertText", + "target": "css=main > div > section > div > div > section:nth-child(9) > div > div.p-2 > div:nth-child(2) > div > div:nth-child(6) > span", + "targets": [ + ["css=.align-items-start:nth-child(6) > .p-2", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[6]/span", "xpath:idRelative"], + ["xpath=//div[6]/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom List Display')]", "xpath:innerText"] + ], + "value": "Custom List Display" + }, { + "id": "296ea08c-0cb0-40a4-8111-3de97b28e099", + "comment": "", + "command": "assertText", + "target": "css=main > div > section > div > div > section:nth-child(9) > div > div.p-2 > div:nth-child(2) > div > div:nth-child(6) > ul > li:nth-child(1) > span", + "targets": [ + ["css=.align-items-center:nth-child(1) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[6]/ul/li/span", "xpath:idRelative"], + ["xpath=//ul/li/span", "xpath:position"], + ["xpath=//span[contains(.,'baz')]", "xpath:innerText"] + ], + "value": "baz" + }, { + "id": "9b4d38f8-e630-463b-b7a6-1073f2092cda", + "comment": "", + "command": "assertText", + "target": "css=main > div > section > div > div > section:nth-child(9) > div > div.p-2 > div:nth-child(2) > div > div:nth-child(6) > ul > li:nth-child(2) > span", + "targets": [ + ["css=.d-flex:nth-child(2) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[6]/ul/li[2]/span", "xpath:idRelative"], + ["xpath=//ul/li[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'bar')]", "xpath:innerText"] + ], + "value": "bar" + }, { + "id": "638add8c-2d49-46e3-97a0-8c398bb24d35", + "comment": "", + "command": "click", + "target": "css=.mb-4:nth-child(9) .edit-link", + "targets": [ + ["css=.mb-4:nth-child(9) .edit-link", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div/div/button", "xpath:idRelative"], + ["xpath=//section[7]/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e4abb650-c762-4060-bc81-428b4758f08e", + "comment": "", + "command": "select", + "target": "id=root_relyingPartyOverrides_CustomList_0", + "targets": [], + "value": "label=foo" + }, { + "id": "992e127d-5ac1-4796-b54f-f212683624ac", + "comment": "", + "command": "pause", + "target": "1000", + "targets": [], + "value": "" + }, { + "id": "a43164b4-fc9b-4a9e-b57b-d31b22b42a1d", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "91bc50ad-6638-4fcf-bf69-538f1fb5f672", + "comment": "", + "command": "pause", + "target": "1000", + "targets": [], + "value": "" + }, { + "id": "5e82eb5e-ac64-4f01-8362-af72c19978b8", + "comment": "", + "command": "waitForElementVisible", + "target": "css=main > div > section > div > div > section:nth-child(9) > div > div.p-2 > div:nth-child(2) > div > div:nth-child(6) > ul > li:nth-child(1) > span", + "targets": [], + "value": "30000" + }, { + "id": "5e43fd63-8e71-4bf6-a7da-91ed55c202a2", + "comment": "", + "command": "assertText", + "target": "css=main > div > section > div > div > section:nth-child(9) > div > div.p-2 > div:nth-child(2) > div > div:nth-child(6) > ul > li:nth-child(1) > span", + "targets": [ + ["css=.align-items-center:nth-child(1) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[6]/ul/li/span", "xpath:idRelative"], + ["xpath=//ul/li/span", "xpath:position"], + ["xpath=//span[contains(.,'foo')]", "xpath:innerText"] + ], + "value": "foo" + }, { + "id": "b023fa7f-ec8a-4bb7-84cd-c0fbcb721aac", + "comment": "", + "command": "assertText", + "target": "css=main > div > section > div > div > section:nth-child(9) > div > div.p-2 > div:nth-child(2) > div > div:nth-child(6) > ul > li:nth-child(2) > span", + "targets": [ + ["css=.d-flex:nth-child(2) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[6]/ul/li[2]/span", "xpath:idRelative"], + ["xpath=//ul/li[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'bar')]", "xpath:innerText"] + ], + "value": "bar" + }, { + "id": "8e376439-d2aa-43e7-b3bc-83ae9ccbe6a8", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" + }, { + "id": "3af18cc3-d25e-4a72-ace6-f9ef23818094", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-toggle", + "targets": [ + ["id=metadata-nav-dropdown-toggle", "id"], + ["css=#metadata-nav-dropdown-toggle", "css:finder"], + ["xpath=//button[@id='metadata-nav-dropdown-toggle']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e2d8fc10-f0cd-4910-930d-e750bd9f63b0", + "comment": "", + "command": "click", + "target": "id=metadata-nav-dropdown-provider", + "targets": [ + ["id=metadata-nav-dropdown-provider", "id"], + ["linkText=Add a new metadata provider", "linkText"], + ["css=#metadata-nav-dropdown-provider", "css:finder"], + ["xpath=//a[contains(text(),'Add a new metadata provider')]", "xpath:link"], + ["xpath=//a[@id='metadata-nav-dropdown-provider']", "xpath:attributes"], + ["xpath=//div[@id='metadata-nav-dropdown']/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/new')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Add a new metadata provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "72f41407-bc96-4530-a8b4-ee90a8f422c9", + "comment": "", + "command": "waitForElementEditable", + "target": "name=type", + "targets": [], + "value": "30000" + }, { + "id": "86f59445-0baf-4882-8370-d3be742200c1", + "comment": "", + "command": "type", + "target": "name=name", + "targets": [ + ["name=name", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//input[@name='name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/div/form/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "3c298664-b8c4-40de-986e-a955c760ba3e", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=FileBackedHttpMetadataResolver" + }, { + "id": "4c95039c-f3b1-49b0-922c-72dbe623c994", + "comment": "", + "command": "click", + "target": "css=.nav-link", + "targets": [ + ["css=.nav-link", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/nav/ul/li[2]/button", "xpath:idRelative"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "3ea31ef0-b51d-4a72-83a0-fd63815ffa18", + "comment": "", + "command": "waitForElementEditable", + "target": "id=root_xmlId", + "targets": [], + "value": "30000" + }, { + "id": "f4b0cc0b-2e77-49f9-98ea-7f964becdf48", + "comment": "", + "command": "type", + "target": "id=root_xmlId", + "targets": [ + ["id=root_xmlId", "id"], + ["css=#root_xmlId", "css:finder"], + ["xpath=//input[@id='root_xmlId']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "1" + }, { + "id": "65a308c0-0ad9-4084-a78c-ef58e9de1d8f", + "comment": "", + "command": "type", + "target": "id=root_metadataURL", + "targets": [ + ["id=root_metadataURL", "id"], + ["css=#root_metadataURL", "css:finder"], + ["xpath=//input[@id='root_metadataURL']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "bcd51b67-ea27-41d8-8980-3d14167adbba", + "comment": "", + "command": "type", + "target": "id=root_backingFile", + "targets": [ + ["id=root_backingFile", "id"], + ["css=#root_backingFile", "css:finder"], + ["xpath=//input[@id='root_backingFile']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[4]/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo" + }, { + "id": "282dca1b-fad9-4d2d-ab6e-b92bf5334eb3", + "comment": "", + "command": "click", + "target": "css=.rbt-input-main", + "targets": [ + ["css=.rbt-input-main", "css:finder"], + ["xpath=//input[@value='']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[5]/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[5]/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "74de5b81-69b2-446b-b4a7-0561676886be", + "comment": "", + "command": "click", + "target": "id=option-selector-root_backupFileInitNextRefreshDelay-item-1", + "targets": [ + ["id=option-selector-root_backupFileInitNextRefreshDelay-item-1", "id"], + ["linkText=PT30S", "linkText"], + ["css=#option-selector-root_backupFileInitNextRefreshDelay-item-1", "css:finder"], + ["xpath=//a[@id='option-selector-root_backupFileInitNextRefreshDelay-item-1']", "xpath:attributes"], + ["xpath=//div[@id='option-selector-root_backupFileInitNextRefreshDelay']/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div[2]/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a6871370-3fdc-4e68-9e25-a6ad307ec384", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "a832e04b-45f7-4752-8b3e-2da244c77171", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button/span", "xpath:idRelative"], + ["xpath=//li[3]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'4. Metadata Filter Plugins')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "786a8033-d513-41c5-aee9-50207dd8f3b8", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "9e2a81e0-f9fc-4506-98e8-de7a1734ac59", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div/nav/ul/li[3]/button", "xpath:idRelative"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "ed43f6ed-9abc-45f3-a595-43d82c39a370", "comment": "", "command": "click", - "target": "id=root_relyingPartyOverrides_CustomList_0", + "target": "linkText=Test", "targets": [ - ["id=root_relyingPartyOverrides_CustomList_0", "id"], - ["css=#root_relyingPartyOverrides_CustomList_0", "css:finder"], - ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], - ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/input", "xpath:idRelative"], - ["xpath=//div[2]/div/div/div/div/div/div/input", "xpath:position"] + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/01824aed-39bd-4e94-b1b0-45b65fd9050f/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] ], "value": "" }, { - "id": "089ca091-811b-4c75-9cff-24d5f02df78f", + "id": "f5b96bec-46e8-48d3-a5af-919b152614ca", "comment": "", "command": "click", - "target": "id=root_relyingPartyOverrides_CustomList_0", + "target": "linkText=Add Filter", "targets": [ - ["id=root_relyingPartyOverrides_CustomList_0", "id"], - ["css=#root_relyingPartyOverrides_CustomList_0", "css:finder"], - ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], - ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/input", "xpath:idRelative"], - ["xpath=//div[2]/div/div/div/div/div/div/input", "xpath:position"] + ["linkText=Add Filter", "linkText"], + ["css=#filters .btn", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/01824aed-39bd-4e94-b1b0-45b65fd9050f/filter/new')]", "xpath:href"], + ["xpath=//div[3]/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' Add Filter')]", "xpath:innerText"] ], "value": "" }, { - "id": "c218b67e-cb5b-44c0-9487-d86679ef9bcd", + "id": "5dd3526f-e1a5-4a98-b3c9-5781fba89b62", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "b2196617-0455-4285-88aa-4a2f77a7faac", + "comment": "", + "command": "type", + "target": "id=root_name", + "targets": [ + ["id=root_name", "id"], + ["css=#root_name", "css:finder"], + ["xpath=//input[@id='root_name']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "Test" + }, { + "id": "69495577-7459-4316-9ff7-5e3b7e2477d8", "comment": "", "command": "click", - "target": "id=root_relyingPartyOverrides_CustomList_0", + "target": "id=dropdown-label.filter-target-type", "targets": [ - ["id=root_relyingPartyOverrides_CustomList_0", "id"], - ["css=#root_relyingPartyOverrides_CustomList_0", "css:finder"], - ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], - ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/input", "xpath:idRelative"], - ["xpath=//div[2]/div/div/div/div/div/div/input", "xpath:position"] + ["id=dropdown-label.filter-target-type", "id"], + ["css=#dropdown-label\\.filter-target-type", "css:finder"], + ["xpath=//button[@id='dropdown-label.filter-target-type']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID ')]", "xpath:innerText"] ], "value": "" }, { - "id": "060867e0-281a-4853-8f7f-bcac2dad3d9c", + "id": "395b1419-eb1e-4698-99f5-04d8091d8ad1", "comment": "", "command": "click", - "target": "css=.row:nth-child(7) .form-check-label", + "target": "css=.show > .dropdown-item:nth-child(3)", "targets": [ - ["css=.row:nth-child(7) .form-check-label", "css:finder"], - ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/div/label", "xpath:idRelative"], - ["xpath=//div[7]/div/div/div/div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Force AuthN')]", "xpath:innerText"] + ["css=.show > .dropdown-item:nth-child(3)", "css:finder"], + ["xpath=(//button[@type='button'])[17]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div/div/div/button[3]", "xpath:idRelative"], + ["xpath=//div/button[3]", "xpath:position"], + ["xpath=//button[contains(.,'Script')]", "xpath:innerText"] ], "value": "" }, { - "id": "c35fd329-e51e-4a27-9882-08e517305d43", + "id": "0d432b54-2c3e-4088-9369-85ff72a988fa", + "comment": "", + "command": "type", + "target": "css=.npm__react-simple-code-editor__textarea", + "targets": [ + ["css=.npm__react-simple-code-editor__textarea", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[6]/div/div/div/fieldset/div/div/div[2]/div/div/div/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "eval(true);" + }, { + "id": "1b681669-02b0-47f4-a539-de9eef9e3b5a", "comment": "", "command": "click", - "target": "id=root_relyingPartyOverrides_CustomList_0", + "target": "css=.nav-link:nth-child(2)", "targets": [ - ["id=root_relyingPartyOverrides_CustomList_0", "id"], - ["css=#root_relyingPartyOverrides_CustomList_0", "css:finder"], - ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], - ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/input", "xpath:idRelative"], - ["xpath=//div[2]/div/div/div/div/div/div/input", "xpath:position"] + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[10]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div/nav/button[2]", "xpath:idRelative"], + ["xpath=//nav/button[2]", "xpath:position"], + ["xpath=//button[contains(.,'Options')]", "xpath:innerText"] ], "value": "" }, { - "id": "5a3cc9bb-04cf-41d8-a6ed-28126a758c82", + "id": "f4efaf0c-a75f-4016-8808-1db34e6c29f2", + "comment": "", + "command": "assertText", + "target": "css=.row:nth-child(6) .control-label", + "targets": [ + ["css=.row:nth-child(6) .control-label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[6]/div/div/div/div/div/div/span", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom List Display')]", "xpath:innerText"] + ], + "value": "Custom List Display" + }, { + "id": "61f236f1-5170-4b98-ac5b-7262a65a7bb7", "comment": "", "command": "click", + "target": "css=.row:nth-child(6) .array-add-button", + "targets": [ + ["css=.row:nth-child(6) .array-add-button", "css:finder"], + ["xpath=(//button[@type='button'])[19]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[6]/div/div/div/div/div/div/button", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8a0afe65-03b5-403f-840f-b01861bc8507", + "comment": "", + "command": "assertValue", "target": "id=root_relyingPartyOverrides_CustomList_0", "targets": [ ["id=root_relyingPartyOverrides_CustomList_0", "id"], ["css=#root_relyingPartyOverrides_CustomList_0", "css:finder"], - ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], - ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/input", "xpath:idRelative"], - ["xpath=//div[2]/div/div/div/div/div/div/input", "xpath:position"] + ["xpath=//select[@id='root_relyingPartyOverrides_CustomList_0']", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[6]/div/div/div/div/div/div[2]/div/div/div/div/div/div/select", "xpath:idRelative"], + ["xpath=//div/div/select", "xpath:position"] + ], + "value": "foo" + }, { + "id": "cc3e547c-fbe2-47e9-bb17-29faed190aff", + "comment": "", + "command": "select", + "target": "id=root_relyingPartyOverrides_CustomList_0", + "targets": [], + "value": "label=bar" + }, { + "id": "1690cd2a-caae-4e79-80e1-6c558683bdf2", + "comment": "", + "command": "click", + "target": "css=.fa-save > path", + "targets": [ + ["css=.fa-save > path", "css:finder"] + ], + "value": "" + }, { + "id": "b3c434f8-a819-475b-b916-ca2ed022d905", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mx-4", + "targets": [], + "value": "30000" + }, { + "id": "719b6916-36e1-4b78-9be3-4dbb5bdba7ba", + "comment": "", + "command": "click", + "target": "css=.mx-4", + "targets": [ + ["css=.mx-4", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='filters']/ul/li/div/button", "xpath:idRelative"], + ["xpath=//li/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5d21315a-5180-4d09-9a02-a7739af2d452", + "comment": "", + "command": "assertText", + "target": "css=.align-items-start:nth-child(6) > .p-2", + "targets": [ + ["css=.align-items-start:nth-child(6) > .p-2", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[6]/span", "xpath:idRelative"], + ["xpath=//div[6]/span", "xpath:position"], + ["xpath=//span[contains(.,'Custom List Display')]", "xpath:innerText"] + ], + "value": "Custom List Display" + }, { + "id": "f357c4e6-acbb-4f90-ba48-18f6afec80f5", + "comment": "", + "command": "assertText", + "target": "css=.d-flex:nth-child(6) .d-block", + "targets": [ + ["css=.d-flex:nth-child(6) .d-block", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[6]/ul/li/span", "xpath:idRelative"], + ["xpath=//div[6]/ul/li/span", "xpath:position"], + ["xpath=//span[contains(.,'bar')]", "xpath:innerText"] + ], + "value": "bar" + }, { + "id": "2b05d375-54e0-4d03-90f0-dd8550ab9d7e", + "comment": "", + "command": "click", + "target": "linkText=Edit", + "targets": [ + ["linkText=Edit", "linkText"], + ["css=.d-flex:nth-child(1) > .btn:nth-child(1)", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/01824aed-39bd-4e94-b1b0-45b65fd9050f/filter/6ee8d8bd-e891-4bda-91b8-5f0917a1b2e9/edit/common')]", "xpath:href"], + ["xpath=//div[2]/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' Edit')]", "xpath:innerText"] ], "value": "" }, { - "id": "b0f940a2-9b49-45a0-b7e1-152175a4a1a4", + "id": "041646e6-0c13-4992-8714-2e526980f82e", "comment": "", "command": "click", - "target": "css=.rjsf > .form-group > div > .p-0 > .row", + "target": "css=.nav-link:nth-child(2)", "targets": [ - ["css=.rjsf > .form-group > div > .p-0 > .row", "css:finder"], - ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div", "xpath:idRelative"], - ["xpath=//form/div/div/div/div", "xpath:position"] + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[9]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div[2]/div/nav/button[2]", "xpath:idRelative"], + ["xpath=//nav/button[2]", "xpath:position"], + ["xpath=//button[contains(.,'Options')]", "xpath:innerText"] ], "value": "" }, { - "id": "95de2877-680d-467f-b7eb-ba4695f9ce7d", + "id": "774df87c-643a-4c71-985c-f7920f956fb6", "comment": "", "command": "click", "target": "css=.row:nth-child(6) .array-add-button", "targets": [ ["css=.row:nth-child(6) .array-add-button", "css:finder"], - ["xpath=(//button[@type='button'])[14]", "xpath:attributes"], - ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div/button", "xpath:idRelative"], + ["xpath=(//button[@type='button'])[18]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[6]/div/div/div/div/div/div/button", "xpath:idRelative"], ["xpath=//div[6]/div/div/div/div/div/div/button", "xpath:position"] ], "value": "" }, { - "id": "1dd3662b-7e30-44c2-b4e2-1f3598d0ab14", + "id": "548ee592-a61c-4aa1-b79d-a40b890aafc0", "comment": "", "command": "click", - "target": "id=root_relyingPartyOverrides_CustomList_1", + "target": "css=.btn-info", "targets": [ - ["id=root_relyingPartyOverrides_CustomList_1", "id"], - ["css=#root_relyingPartyOverrides_CustomList_1", "css:finder"], - ["xpath=//input[@id='root_relyingPartyOverrides_CustomList_1']", "xpath:attributes"], - ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div/div[2]/div[2]/div/div/div/div/div/input", "xpath:idRelative"], - ["xpath=//div[2]/div/div/div/div/div/input", "xpath:position"] + ["css=.btn-info", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1029ff18-d8fd-4cc6-8228-e72e528356d2", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.mx-4", + "targets": [], + "value": "30000" + }, { + "id": "1a9cc236-6bda-4e66-8d0e-4a497902da93", + "comment": "", + "command": "click", + "target": "css=.mx-4", + "targets": [ + ["css=.mx-4", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//div[@id='filters']/ul/li/div/button", "xpath:idRelative"], + ["xpath=//li/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "83aa335b-5efb-4ca2-9e41-f06213cc68e2", + "comment": "", + "command": "assertText", + "target": "css=.d-flex:nth-child(6) .d-flex:nth-child(1) > .d-block", + "targets": [ + ["css=.d-flex:nth-child(6) .d-flex:nth-child(1) > .d-block", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[6]/ul/li/span", "xpath:idRelative"], + ["xpath=//div[6]/ul/li/span", "xpath:position"], + ["xpath=//span[contains(.,'bar')]", "xpath:innerText"] + ], + "value": "bar" + }, { + "id": "b9bcb197-5e0d-4bfc-a5d0-c2c3e6277327", + "comment": "", + "command": "assertText", + "target": "css=.d-flex:nth-child(2) > .d-block", + "targets": [ + ["css=.d-flex:nth-child(2) > .d-block", "css:finder"], + ["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[6]/ul/li[2]/span", "xpath:idRelative"], + ["xpath=//ul/li[2]/span", "xpath:position"] + ], + "value": "foo" + }, { + "id": "ea0439ef-4612-428f-a987-d911e5266c74", + "comment": "", + "command": "click", + "target": "linkText=Version History", + "targets": [ + ["linkText=Version History", "linkText"], + ["css=#navigation .btn:nth-child(1)", "css:finder"], + ["xpath=//div[@id='navigation']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/provider/01824aed-39bd-4e94-b1b0-45b65fd9050f/configuration/history')]", "xpath:href"], + ["xpath=//section/div/div/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,' Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1e0c2bac-86a7-4fb3-b2df-f40aa9ce4533", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .custom-control-label", + "targets": [ + ["css=tr:nth-child(1) .custom-control-label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/table/tbody/tr/td/div/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Check to select')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4ac30888-7e50-4652-b1b4-2daaa75b628b", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(2) .custom-control-label", + "targets": [ + ["css=tr:nth-child(2) .custom-control-label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/table/tbody/tr[2]/td/div/label", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "3a37394c-32ac-4c03-9276-3a6c3648eb1c", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/button", "xpath:idRelative"], + ["xpath=//section/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Compare Selected(2)')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2dd7992f-ee99-45a3-ad85-20488c4bd4b1", + "comment": "", + "command": "click", + "target": "css=.border-primary:nth-child(2) .svg-inline--fa", + "targets": [ + ["css=.border-primary:nth-child(2) .svg-inline--fa", "css:finder"] + ], + "value": "" + }, { + "id": "14014337-af0f-4668-888d-b4da2bc2041b", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=(//button[@type='button'])[7]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/div[5]/button", "xpath:idRelative"], + ["xpath=//div[5]/button", "xpath:position"], + ["xpath=//button[contains(.,'Compare Selected')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1f51b140-8bd1-4647-b123-5c6956e7db9b", + "comment": "", + "command": "assertText", + "target": "css=.bg-diff > .p-2", + "targets": [ + ["css=.bg-diff > .p-2", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[6]/div/div[2]/div[2]/div/div[6]/span[2]", "xpath:idRelative"], + ["xpath=//div[6]/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'Custom List Display')]", "xpath:innerText"] + ], + "value": "Custom List Display" + }, { + "id": "60be08c4-004e-4a41-907c-e82fdbedddf2", + "comment": "", + "command": "assertText", + "target": "css=.d-flex:nth-child(6) > .list-unstyled:nth-child(3) > .d-flex:nth-child(1) > .d-block", + "targets": [ + ["css=.d-flex:nth-child(6) > .list-unstyled:nth-child(3) > .d-flex:nth-child(1) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[6]/div/div[2]/div[2]/div/div[6]/ul/li/span", "xpath:idRelative"], + ["xpath=//div[6]/ul/li/span", "xpath:position"], + ["xpath=//span[contains(.,'bar')]", "xpath:innerText"] + ], + "value": "bar" + }, { + "id": "e424ea9f-2713-4be6-a641-f3aa8096b716", + "comment": "", + "command": "assertText", + "target": "css=.d-flex:nth-child(2) > .d-block", + "targets": [ + ["css=.d-flex:nth-child(2) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[6]/div/div[2]/div[2]/div/div[6]/ul/li[2]/span", "xpath:idRelative"], + ["xpath=//ul/li[2]/span", "xpath:position"] + ], + "value": "foo" + }, { + "id": "ea3ef869-346f-444e-b364-a79567e63afa", + "comment": "", + "command": "assertText", + "target": "css=.list-unstyled:nth-child(4) .d-block", + "targets": [ + ["css=.list-unstyled:nth-child(4) .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section[6]/div/div[2]/div[2]/div/div[6]/ul[2]/li/span", "xpath:idRelative"], + ["xpath=//div[6]/ul[2]/li/span", "xpath:position"] + ], + "value": "bar" + }, { + "id": "ad4e8bc7-a18d-4559-82ff-147ced9752a1", + "comment": "", + "command": "click", + "target": "id=dashboard-nav", + "targets": [ + ["id=dashboard-nav", "id"], + ["linkText=Dashboard", "linkText"], + ["css=#dashboard-nav", "css:finder"], + ["xpath=//a[contains(text(),'Dashboard')]", "xpath:link"], + ["xpath=//a[@id='dashboard-nav']", "xpath:attributes"], + ["xpath=//div[@id='basic-navbar-nav']/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/dashboard')]", "xpath:href"], + ["xpath=//div/a", "xpath:position"], + ["xpath=//a[contains(.,'Dashboard')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c217ac81-bf55-4b1b-8c0b-3f2f0a2118e0", + "comment": "", + "command": "click", + "target": "linkText=Test", + "targets": [ + ["linkText=Test", "linkText"], + ["css=.align-middle > a", "css:finder"], + ["xpath=//a[contains(text(),'Test')]", "xpath:link"], + ["xpath=//div[@id='root']/div/main/div/section/div/div[2]/div/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/ca3367c6-f390-4a39-b7eb-6dd0cd5941ad/configuration/options')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'Test')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "408c3ef5-80a2-4963-8f37-74bcc41d7601", + "comment": "", + "command": "click", + "target": "linkText=Version History", + "targets": [ + ["linkText=Version History", "linkText"], + ["css=#navigation .btn-link", "css:finder"], + ["xpath=//div[@id='navigation']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/metadata/source/ca3367c6-f390-4a39-b7eb-6dd0cd5941ad/configuration/history')]", "xpath:href"], + ["xpath=//section/div/div/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,' Version History')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "01a91f93-5ada-4541-8210-4fc06dab7004", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .custom-control-label", + "targets": [ + ["css=tr:nth-child(1) .custom-control-label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/table/tbody/tr/td/div/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Check to select')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3406bdf6-aa08-48f5-8be3-7559d4c1539e", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(2) .custom-control-label", + "targets": [ + ["css=tr:nth-child(2) .custom-control-label", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/table/tbody/tr[2]/td/div/label", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/label", "xpath:position"] ], "value": "" }, { - "id": "3e7d1dd6-af66-413b-bdb1-e132d0dfb7be", + "id": "551a8025-b914-469e-818f-009785686c5d", "comment": "", "command": "click", - "target": "css=.row:nth-child(6) .form-group > div > .p-0 > .p-0", + "target": "css=.btn-primary", "targets": [ - ["css=.row:nth-child(6) .form-group > div > .p-0 > .p-0", "css:finder"], - ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[6]/div/div/div/div/div", "xpath:idRelative"], - ["xpath=//div[6]/div/div/div/div/div", "xpath:position"] + ["css=.btn-primary", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/button", "xpath:idRelative"], + ["xpath=//section/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Compare Selected(2)')]", "xpath:innerText"] ], "value": "" }, { - "id": "f82888f4-ed38-4321-81da-0c1aef782eda", + "id": "8b8c15c3-d98e-4db2-8ba8-49fd638c621e", "comment": "", "command": "click", - "target": "id=root_relyingPartyOverrides_forceAuthn", + "target": "xpath=//section/div/div/div/div[2]/input", "targets": [ - ["id=root_relyingPartyOverrides_forceAuthn", "id"], - ["css=#root_relyingPartyOverrides_forceAuthn", "css:finder"], - ["xpath=//input[@id='root_relyingPartyOverrides_forceAuthn']", "xpath:attributes"], - ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/div/input", "xpath:idRelative"], - ["xpath=//div[7]/div/div/div/div/div/input", "xpath:position"] + ["css=.custom-control-label", "css:finder"], + ["xpath=//div[@id='navigation']/div[2]/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'View Only Changes')]", "xpath:innerText"] ], "value": "" + }, { + "id": "8a792c2e-bfdd-49d8-b644-51e39a5ad019", + "comment": "", + "command": "waitForElementVisible", + "target": "css=section > div > div > section > div > div.p-2 > div:nth-child(2) > div > div > span.p-2", + "targets": [], + "value": "30000" + }, { + "id": "c09738c7-9495-44ee-90b7-1db736fc7991", + "comment": "", + "command": "assertText", + "target": "css=section > div > div > section > div > div.p-2 > div:nth-child(2) > div > div > span.p-2", + "targets": [ + ["css=.d-flex > .p-2", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section/div/div[2]/div[2]/div/div/span[2]", "xpath:idRelative"], + ["xpath=//div/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'Custom List Display')]", "xpath:innerText"] + ], + "value": "Custom List Display" + }, { + "id": "34714634-d050-4e65-9c51-02aaa0d6deaa", + "comment": "", + "command": "assertText", + "target": "css=.list-unstyled:nth-child(3) > .d-flex:nth-child(1) > .d-block", + "targets": [ + ["css=.list-unstyled:nth-child(3) > .d-flex:nth-child(1) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section/div/div[2]/div[2]/div/div/ul/li/span", "xpath:idRelative"], + ["xpath=//ul/li/span", "xpath:position"], + ["xpath=//span[contains(.,'foo')]", "xpath:innerText"] + ], + "value": "foo" + }, { + "id": "cbab8fae-730b-44c7-bb04-22a6bae96ba0", + "comment": "", + "command": "assertText", + "target": "css=.list-unstyled:nth-child(3) > .d-flex:nth-child(2) > .d-block", + "targets": [ + ["css=.list-unstyled:nth-child(3) > .d-flex:nth-child(2) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section/div/div[2]/div[2]/div/div/ul/li[2]/span", "xpath:idRelative"], + ["xpath=//ul/li[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'bar')]", "xpath:innerText"] + ], + "value": "bar" + }, { + "id": "bd572c1f-74f9-4424-ac12-aeac568cf47f", + "comment": "", + "command": "assertText", + "target": "css=.list-unstyled:nth-child(4) > .d-flex:nth-child(1) > .d-block", + "targets": [ + ["css=.list-unstyled:nth-child(4) > .d-flex:nth-child(1) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section/div/div[2]/div[2]/div/div/ul[2]/li/span", "xpath:idRelative"], + ["xpath=//ul[2]/li/span", "xpath:position"], + ["xpath=//span[contains(.,'baz')]", "xpath:innerText"] + ], + "value": "baz" + }, { + "id": "7a4c8770-0354-46fb-96d6-c4704cad4e3a", + "comment": "", + "command": "assertText", + "target": "css=.list-unstyled:nth-child(4) > .d-flex:nth-child(2) > .d-block", + "targets": [ + ["css=.list-unstyled:nth-child(4) > .d-flex:nth-child(2) > .d-block", "css:finder"], + ["xpath=//div[@id='root']/div/main/div/section/div/div/section/div/div[2]/div[2]/div/div/ul[2]/li[2]/span", "xpath:idRelative"], + ["xpath=//ul[2]/li[2]/span", "xpath:position"] + ], + "value": "bar" }] }], "suites": [{ diff --git a/backend/src/integration/resources/SHIBUI-1732-7.side b/backend/src/integration/resources/SHIBUI-1732-7.side index e1e9b5712..7a350de62 100644 --- a/backend/src/integration/resources/SHIBUI-1732-7.side +++ b/backend/src/integration/resources/SHIBUI-1732-7.side @@ -618,7 +618,7 @@ ["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[2]/div[4]/div/div/input", "xpath:idRelative"], ["xpath=//div[4]/div/div/input", "xpath:position"] ], - "value": "${idp.home}/foo" + "value": "%{idp.home}/foo" }, { "id": "4818c54c-8d45-442b-9262-01310ba1272f", "comment": "", From c6d1e32cf3bd1a7273f5b50dda6611a5229c70e3 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Fri, 8 Oct 2021 07:31:40 -0700 Subject: [PATCH 12/20] 2126 Removed old comment. --- .../internet2/tier/shibboleth/admin/ui/SeleniumSIDETest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 370c17c9a..f3e51f28f 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 @@ -141,7 +141,7 @@ class SeleniumSIDETest extends Specification { 'SHIBUI-2116: Verify entity attribute bundle highlights' | '/SHIBUI-2116.side' // Note that this script WILL NOT PASS in the Selenium IDE due to ${driver} not being set (it is provided by this groovy script). 'SHIBUI-1732: Create, use, and delete CEA String' | '/SHIBUI-1732-1.side' 'SHIBUI-1732: Create, use, and delete CEA Boolean' | '/SHIBUI-1732-2.side' - 'SHIBUI-1732: Create, use, and delete CEA List' | '/SHIBUI-1732-3.side' // broken by a regression bug + 'SHIBUI-1732: Create, use, and delete CEA List' | '/SHIBUI-1732-3.side' 'SHIBUI-1732: Create, use, and delete CEA Long' | '/SHIBUI-1732-4.side' 'SHIBUI-1732: Create, use, and delete CEA Double' | '/SHIBUI-1732-5.side' 'SHIBUI-1732: Create, use, and delete CEA Duration' | '/SHIBUI-1732-6.side' From 280f19e303b7aef597cab5430efd661ee2bd3b11 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Fri, 8 Oct 2021 07:37:44 -0700 Subject: [PATCH 13/20] 2126 Fixed imports. --- .../shibboleth/admin/ui/controller/DangerController.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java index 99a530753..1ff99ffba 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java @@ -1,8 +1,13 @@ package edu.internet2.tier.shibboleth.admin.ui.controller; import edu.internet2.tier.shibboleth.admin.ui.configuration.DevConfig; -import edu.internet2.tier.shibboleth.admin.ui.repository.*; +import edu.internet2.tier.shibboleth.admin.ui.repository.AttributeBundleRepository; +import edu.internet2.tier.shibboleth.admin.ui.repository.CustomEntityAttributeDefinitionRepository; +import edu.internet2.tier.shibboleth.admin.ui.repository.EntityDescriptorRepository; +import edu.internet2.tier.shibboleth.admin.ui.repository.FilterRepository; +import edu.internet2.tier.shibboleth.admin.ui.repository.MetadataResolverRepository; import edu.internet2.tier.shibboleth.admin.ui.security.repository.GroupsRepository; +import edu.internet2.tier.shibboleth.admin.ui.repository.MetadataResolversPositionOrderContainerRepository; import edu.internet2.tier.shibboleth.admin.ui.security.repository.OwnershipRepository; import edu.internet2.tier.shibboleth.admin.ui.security.repository.UserRepository; import edu.internet2.tier.shibboleth.admin.ui.security.service.IGroupService; From 242c9535cffffbb9d637f97d844d3bad1b940475 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Fri, 8 Oct 2021 07:38:41 -0700 Subject: [PATCH 14/20] 2126 Fixed imports again. --- .../tier/shibboleth/admin/ui/controller/DangerController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java index 1ff99ffba..2ab357a03 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/DangerController.java @@ -6,8 +6,8 @@ import edu.internet2.tier.shibboleth.admin.ui.repository.EntityDescriptorRepository; import edu.internet2.tier.shibboleth.admin.ui.repository.FilterRepository; import edu.internet2.tier.shibboleth.admin.ui.repository.MetadataResolverRepository; -import edu.internet2.tier.shibboleth.admin.ui.security.repository.GroupsRepository; import edu.internet2.tier.shibboleth.admin.ui.repository.MetadataResolversPositionOrderContainerRepository; +import edu.internet2.tier.shibboleth.admin.ui.security.repository.GroupsRepository; import edu.internet2.tier.shibboleth.admin.ui.security.repository.OwnershipRepository; import edu.internet2.tier.shibboleth.admin.ui.security.repository.UserRepository; import edu.internet2.tier.shibboleth.admin.ui.security.service.IGroupService; From 99743019ca00fce78ba5dfdffcbe9d4c9ddfe7b6 Mon Sep 17 00:00:00 2001 From: Jj! Date: Fri, 8 Oct 2021 16:46:47 -0500 Subject: [PATCH 15/20] [SHIBUI-2163] --- ...SamlMetadataResolverConstructorHelper.java | 68 ++++++++++--------- ...tadataResolverConstructorHelperSpec.groovy | 22 ++++++ 2 files changed, 57 insertions(+), 33 deletions(-) create mode 100644 backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/opensaml/OpenSamlMetadataResolverConstructorHelperSpec.groovy diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/opensaml/OpenSamlMetadataResolverConstructorHelper.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/opensaml/OpenSamlMetadataResolverConstructorHelper.java index 862624b05..cd7c564c7 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/opensaml/OpenSamlMetadataResolverConstructorHelper.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/opensaml/OpenSamlMetadataResolverConstructorHelper.java @@ -21,47 +21,49 @@ public static void updateOpenSamlMetadataResolverFromDynamicMetadataResolverAttr ParserPool parserPool) { AbstractDynamicMetadataResolver dynamicMetadataResolver = (AbstractDynamicMetadataResolver) metadataResolver; - if (attributes.getBackgroundInitializationFromCacheDelay() != null) { - dynamicMetadataResolver - .setBackgroundInitializationFromCacheDelay(toMillis(placeholderResolverService() - .resolveValueFromPossibleTokenPlaceholder(attributes.getBackgroundInitializationFromCacheDelay()))); - } + if (attributes != null) { + if (attributes.getBackgroundInitializationFromCacheDelay() != null) { + dynamicMetadataResolver + .setBackgroundInitializationFromCacheDelay(toMillis(placeholderResolverService() + .resolveValueFromPossibleTokenPlaceholder(attributes.getBackgroundInitializationFromCacheDelay()))); + } - if (attributes.getCleanupTaskInterval() != null) { - dynamicMetadataResolver.setCleanupTaskInterval(toMillis(placeholderResolverService() - .resolveValueFromPossibleTokenPlaceholder(attributes.getCleanupTaskInterval()))); - } + if (attributes.getCleanupTaskInterval() != null) { + dynamicMetadataResolver.setCleanupTaskInterval(toMillis(placeholderResolverService() + .resolveValueFromPossibleTokenPlaceholder(attributes.getCleanupTaskInterval()))); + } - if (attributes.getInitializeFromPersistentCacheInBackground()) { - dynamicMetadataResolver.setInitializeFromPersistentCacheInBackground(attributes.getInitializeFromPersistentCacheInBackground()); - } + if (attributes.getInitializeFromPersistentCacheInBackground()) { + dynamicMetadataResolver.setInitializeFromPersistentCacheInBackground(attributes.getInitializeFromPersistentCacheInBackground()); + } - if (attributes.getMaxCacheDuration() != null) { - dynamicMetadataResolver.setMaxCacheDuration(toMillis(placeholderResolverService() - .resolveValueFromPossibleTokenPlaceholder(attributes.getMaxCacheDuration()))); - } + if (attributes.getMaxCacheDuration() != null) { + dynamicMetadataResolver.setMaxCacheDuration(toMillis(placeholderResolverService() + .resolveValueFromPossibleTokenPlaceholder(attributes.getMaxCacheDuration()))); + } - if (attributes.getMaxIdleEntityData() != null) { - dynamicMetadataResolver.setMaxIdleEntityData(toMillis(placeholderResolverService() - .resolveValueFromPossibleTokenPlaceholder(attributes.getMaxIdleEntityData()))); - } + if (attributes.getMaxIdleEntityData() != null) { + dynamicMetadataResolver.setMaxIdleEntityData(toMillis(placeholderResolverService() + .resolveValueFromPossibleTokenPlaceholder(attributes.getMaxIdleEntityData()))); + } - if (attributes.getMinCacheDuration() != null) { - dynamicMetadataResolver.setMinCacheDuration(toMillis(placeholderResolverService() - .resolveValueFromPossibleTokenPlaceholder(attributes.getMinCacheDuration()))); - } + if (attributes.getMinCacheDuration() != null) { + dynamicMetadataResolver.setMinCacheDuration(toMillis(placeholderResolverService() + .resolveValueFromPossibleTokenPlaceholder(attributes.getMinCacheDuration()))); + } - if (attributes.getBackgroundInitializationFromCacheDelay() != null) { - dynamicMetadataResolver.setBackgroundInitializationFromCacheDelay(toMillis(placeholderResolverService() - .resolveValueFromPossibleTokenPlaceholder(attributes.getBackgroundInitializationFromCacheDelay()))); - } + if (attributes.getBackgroundInitializationFromCacheDelay() != null) { + dynamicMetadataResolver.setBackgroundInitializationFromCacheDelay(toMillis(placeholderResolverService() + .resolveValueFromPossibleTokenPlaceholder(attributes.getBackgroundInitializationFromCacheDelay()))); + } - if (attributes.getRefreshDelayFactor() != null) { - dynamicMetadataResolver.setRefreshDelayFactor(attributes.getRefreshDelayFactor()); - } + if (attributes.getRefreshDelayFactor() != null) { + dynamicMetadataResolver.setRefreshDelayFactor(attributes.getRefreshDelayFactor()); + } - if (attributes.getRemoveIdleEntityData() != null) { - dynamicMetadataResolver.setRemoveIdleEntityData(attributes.getRemoveIdleEntityData()); + if (attributes.getRemoveIdleEntityData() != null) { + dynamicMetadataResolver.setRemoveIdleEntityData(attributes.getRemoveIdleEntityData()); + } } //TODO: This takes a XMLObjectLoadSaveManager. Do we have what we need to create one? diff --git a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/opensaml/OpenSamlMetadataResolverConstructorHelperSpec.groovy b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/opensaml/OpenSamlMetadataResolverConstructorHelperSpec.groovy new file mode 100644 index 000000000..b4bf01305 --- /dev/null +++ b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/domain/resolvers/opensaml/OpenSamlMetadataResolverConstructorHelperSpec.groovy @@ -0,0 +1,22 @@ +package edu.internet2.tier.shibboleth.admin.ui.domain.resolvers.opensaml + +import org.opensaml.saml.metadata.resolver.impl.AbstractDynamicMetadataResolver +import spock.lang.Specification + +//TODO: we need to fill this out +class OpenSamlMetadataResolverConstructorHelperSpec extends Specification { + def "SHIBUI-2163: make sure that we don't get a NPE if attributes are null"() { + given: + def x = Mock(AbstractDynamicMetadataResolver) + + when: + OpenSamlMetadataResolverConstructorHelper.updateOpenSamlMetadataResolverFromDynamicMetadataResolverAttributes( + x, + null, + null + ) + + then: + noExceptionThrown() + } +} From 5cdde7531b4e1594a0456efe6aeb9463555ccd55 Mon Sep 17 00:00:00 2001 From: Jj! Date: Mon, 11 Oct 2021 11:43:10 -0500 Subject: [PATCH 16/20] [SHIBUI-2165] updated precision for stored datetime --- .../tier/shibboleth/admin/ui/domain/AbstractAuditable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/AbstractAuditable.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/AbstractAuditable.java index 445d4cc92..edf805056 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/AbstractAuditable.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/AbstractAuditable.java @@ -41,13 +41,13 @@ public abstract class AbstractAuditable implements Auditable { @CreationTimestamp @CreatedDate - @Column(nullable = false, updatable = false) + @Column(nullable = false, updatable = false, columnDefinition = "DATETIME(9)") @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS") private LocalDateTime createdDate; @UpdateTimestamp @LastModifiedDate - @Column(nullable = false) + @Column(nullable = false, columnDefinition = "DATETIME(9)") @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS") private LocalDateTime modifiedDate; From e5f74cb18dc7277d19ef0a8446216c0d0618b045 Mon Sep 17 00:00:00 2001 From: chasegawa Date: Mon, 11 Oct 2021 10:48:22 -0700 Subject: [PATCH 17/20] SHIBUI-2164 Adjustment to output to move MDQ to after the filter nodes --- .../admin/ui/service/JPAMetadataResolverServiceImpl.groovy | 2 +- backend/src/test/resources/conf/278.2.xml | 4 ++-- backend/src/test/resources/conf/278.xml | 4 ++-- backend/src/test/resources/conf/984-2.xml | 4 ++-- backend/src/test/resources/conf/984.xml | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JPAMetadataResolverServiceImpl.groovy b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JPAMetadataResolverServiceImpl.groovy index e9faeb69c..4c0229b22 100644 --- a/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JPAMetadataResolverServiceImpl.groovy +++ b/backend/src/main/groovy/edu/internet2/tier/shibboleth/admin/ui/service/JPAMetadataResolverServiceImpl.groovy @@ -246,6 +246,7 @@ class JPAMetadataResolverServiceImpl implements MetadataResolverService { httpMaxCacheEntries: resolver.httpMetadataResolverAttributes?.httpMaxCacheEntries, httpMaxCacheEntrySize: resolver.httpMetadataResolverAttributes?.httpMaxCacheEntrySize) { + childNodes() switch (MetadataRequestURLConstructionScheme.SchemeType.get(resolver.metadataRequestURLConstructionScheme.type)) { case MetadataRequestURLConstructionScheme.SchemeType.METADATA_QUERY_PROTOCOL: MetadataQueryProtocolScheme scheme = (MetadataQueryProtocolScheme) resolver.metadataRequestURLConstructionScheme @@ -276,7 +277,6 @@ class JPAMetadataResolverServiceImpl implements MetadataResolverService { default: break } - childNodes() } } diff --git a/backend/src/test/resources/conf/278.2.xml b/backend/src/test/resources/conf/278.2.xml index c8bd08e6b..9218ebcd5 100644 --- a/backend/src/test/resources/conf/278.2.xml +++ b/backend/src/test/resources/conf/278.2.xml @@ -1,6 +1,5 @@ - content @@ -12,10 +11,11 @@ md:SPSSODescriptor + content - + \ No newline at end of file diff --git a/backend/src/test/resources/conf/278.xml b/backend/src/test/resources/conf/278.xml index 0c1bfd794..46e57a6b4 100644 --- a/backend/src/test/resources/conf/278.xml +++ b/backend/src/test/resources/conf/278.xml @@ -1,15 +1,15 @@ - content md:SPSSODescriptor + content - + \ No newline at end of file diff --git a/backend/src/test/resources/conf/984-2.xml b/backend/src/test/resources/conf/984-2.xml index c3bd16e05..f6db94956 100644 --- a/backend/src/test/resources/conf/984-2.xml +++ b/backend/src/test/resources/conf/984-2.xml @@ -1,6 +1,5 @@ - http://mdq-beta.incommon.org/global + http://mdq-beta.incommon.org/global - + \ No newline at end of file diff --git a/backend/src/test/resources/conf/984.xml b/backend/src/test/resources/conf/984.xml index a67eb1a93..42328a0c0 100644 --- a/backend/src/test/resources/conf/984.xml +++ b/backend/src/test/resources/conf/984.xml @@ -1,6 +1,5 @@ - http://mdq-beta.incommon.org/global + http://mdq-beta.incommon.org/global - + \ No newline at end of file From 923e62bf3ee9ea572a02b79a9cfe540f96840689 Mon Sep 17 00:00:00 2001 From: Jj! Date: Mon, 11 Oct 2021 16:25:22 -0500 Subject: [PATCH 18/20] [SHIBUI-2165] updated precision for json datetime --- .../tier/shibboleth/admin/ui/domain/AbstractAuditable.java | 4 ++-- .../controller/UsersControllerIntegrationTests.groovy | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/AbstractAuditable.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/AbstractAuditable.java index edf805056..89560f04f 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/AbstractAuditable.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/AbstractAuditable.java @@ -42,13 +42,13 @@ public abstract class AbstractAuditable implements Auditable { @CreationTimestamp @CreatedDate @Column(nullable = false, updatable = false, columnDefinition = "DATETIME(9)") - @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS") + @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSS") private LocalDateTime createdDate; @UpdateTimestamp @LastModifiedDate @Column(nullable = false, columnDefinition = "DATETIME(9)") - @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS") + @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSS") private LocalDateTime modifiedDate; @Column(name = "created_by") diff --git a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/UsersControllerIntegrationTests.groovy b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/UsersControllerIntegrationTests.groovy index 84f6cb33c..a87bcc819 100644 --- a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/UsersControllerIntegrationTests.groovy +++ b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/UsersControllerIntegrationTests.groovy @@ -317,7 +317,7 @@ class UsersControllerIntegrationTests extends AbstractBaseDataJpaTest { @Bean ObjectMapper objectMapper() { JavaTimeModule module = new JavaTimeModule() - LocalDateTimeDeserializer localDateTimeDeserializer = new LocalDateTimeDeserializer(DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSS")) + LocalDateTimeDeserializer localDateTimeDeserializer = new LocalDateTimeDeserializer(DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSS")) module.addDeserializer(LocalDateTime.class, localDateTimeDeserializer) return Jackson2ObjectMapperBuilder.json().modules(module).featuresToDisable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS).build() From e8f9a48998af249f61561cd0a83d259333a6a53a Mon Sep 17 00:00:00 2001 From: chasegawa Date: Mon, 11 Oct 2021 15:02:20 -0700 Subject: [PATCH 19/20] SHIBUI-2165 Adjustment object mapper to make tests more consistent --- .../ui/BaseDataJpaTestConfiguration.groovy | 11 ++++++-- .../UsersControllerIntegrationTests.groovy | 25 +------------------ 2 files changed, 10 insertions(+), 26 deletions(-) diff --git a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/BaseDataJpaTestConfiguration.groovy b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/BaseDataJpaTestConfiguration.groovy index 3ab919759..fe62a5770 100644 --- a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/BaseDataJpaTestConfiguration.groovy +++ b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/BaseDataJpaTestConfiguration.groovy @@ -3,6 +3,7 @@ package edu.internet2.tier.shibboleth.admin.ui import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule +import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer import edu.internet2.tier.shibboleth.admin.ui.configuration.CustomPropertiesConfiguration import edu.internet2.tier.shibboleth.admin.ui.configuration.SearchConfiguration import edu.internet2.tier.shibboleth.admin.ui.configuration.ShibUIConfiguration @@ -23,6 +24,10 @@ import org.springframework.context.annotation.ComponentScan import org.springframework.context.annotation.Configuration import org.springframework.context.annotation.Import import org.springframework.context.annotation.Primary +import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder + +import java.time.LocalDateTime +import java.time.format.DateTimeFormatter import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL @@ -68,10 +73,12 @@ class BaseDataJpaTestConfiguration { @Bean ObjectMapper objectMapper() { - ObjectMapper mapper = new ObjectMapper() + JavaTimeModule module = new JavaTimeModule() + LocalDateTimeDeserializer localDateTimeDeserializer = new LocalDateTimeDeserializer(DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSS")) + module.addDeserializer(LocalDateTime.class, localDateTimeDeserializer) + ObjectMapper mapper = Jackson2ObjectMapperBuilder.json().modules(module).featuresToDisable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS).build() mapper.enable(SerializationFeature.INDENT_OUTPUT) mapper.setSerializationInclusion(NON_NULL) - mapper.registerModule(new JavaTimeModule()) mapper.registerModule(new StringTrimModule()) return mapper } diff --git a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/UsersControllerIntegrationTests.groovy b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/UsersControllerIntegrationTests.groovy index a87bcc819..5473be2c2 100644 --- a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/UsersControllerIntegrationTests.groovy +++ b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/UsersControllerIntegrationTests.groovy @@ -1,9 +1,6 @@ package edu.internet2.tier.shibboleth.admin.ui.security.controller import com.fasterxml.jackson.databind.ObjectMapper -import com.fasterxml.jackson.databind.SerializationFeature -import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule -import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer import edu.internet2.tier.shibboleth.admin.ui.AbstractBaseDataJpaTest import edu.internet2.tier.shibboleth.admin.ui.controller.support.RestControllersSupport import edu.internet2.tier.shibboleth.admin.ui.security.model.Group @@ -11,21 +8,14 @@ import edu.internet2.tier.shibboleth.admin.ui.security.model.User import edu.internet2.tier.shibboleth.admin.ui.util.WithMockAdmin import groovy.json.JsonOutput import org.springframework.beans.factory.annotation.Autowired -import org.springframework.boot.test.context.TestConfiguration -import org.springframework.context.annotation.Bean import org.springframework.http.MediaType -import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder import org.springframework.test.annotation.Rollback -import org.springframework.test.context.ContextConfiguration import org.springframework.test.web.servlet.MockMvc import org.springframework.test.web.servlet.setup.MockMvcBuilders import org.springframework.transaction.annotation.Transactional import org.springframework.web.client.HttpClientErrorException import org.springframework.web.util.NestedServletException -import java.time.LocalDateTime -import java.time.format.DateTimeFormatter - import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.patch @@ -34,7 +24,6 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status -@ContextConfiguration(classes=[UCILocalConfig]) @Rollback class UsersControllerIntegrationTests extends AbstractBaseDataJpaTest { @Autowired @@ -311,16 +300,4 @@ class UsersControllerIntegrationTests extends AbstractBaseDataJpaTest { then: result.andExpect(status().isNotFound()) } - - @TestConfiguration - private static class UCILocalConfig { - @Bean - ObjectMapper objectMapper() { - JavaTimeModule module = new JavaTimeModule() - LocalDateTimeDeserializer localDateTimeDeserializer = new LocalDateTimeDeserializer(DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSS")) - module.addDeserializer(LocalDateTime.class, localDateTimeDeserializer) - - return Jackson2ObjectMapperBuilder.json().modules(module).featuresToDisable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS).build() - } - } -} +} \ No newline at end of file From c4d2b5553585dc07f57a44cc223bf549740f7851 Mon Sep 17 00:00:00 2001 From: chasegawa Date: Tue, 12 Oct 2021 10:46:53 -0700 Subject: [PATCH 20/20] SHIBUI-2165 Adjustment to fix tests --- .../domain/frontend/EntityDescriptorRepresentation.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/frontend/EntityDescriptorRepresentation.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/frontend/EntityDescriptorRepresentation.java index 821d9817d..c662b1388 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/frontend/EntityDescriptorRepresentation.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/frontend/EntityDescriptorRepresentation.java @@ -10,12 +10,14 @@ import javax.validation.constraints.NotNull; import java.io.Serializable; import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java.util.List; import java.util.Map; public class EntityDescriptorRepresentation implements Serializable { private static final long serialVersionUID = 7753435553892353966L; + private DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSS"); private List assertionConsumerServices; @@ -98,7 +100,7 @@ public String getCreatedBy() { } public String getCreatedDate() { - return createdDate != null ? createdDate.toString() : null; + return createdDate != null ? formatter.format(createdDate) : null; } public String getEntityId() { @@ -125,7 +127,7 @@ public MduiRepresentation getMdui() { } public String getModifiedDate() { - return modifiedDate != null ? modifiedDate.toString() : null; + return modifiedDate != null ? formatter.format(modifiedDate) : null; } @JsonIgnore @@ -134,7 +136,6 @@ public LocalDateTime getModifiedDateAsDate() { return modifiedDate != null ? modifiedDate : createdDate != null ? createdDate : LocalDateTime.now(); } - public OrganizationRepresentation getOrganization() { return organization; } @@ -245,4 +246,4 @@ public void setServiceProviderSsoDescriptor(ServiceProviderSsoDescriptorRepresen public void setVersion(int version) { this.version = version; } -} +} \ No newline at end of file