From e175afc9bc87b35df1c0b1b62910fd4cd708a920 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Mon, 5 Aug 2019 15:30:33 -0700 Subject: [PATCH 1/6] SHIBUI-1335 Metadata Providers + Filters selenium scripts WIP --- .../admin/ui/SeleniumSIDETest.groovy | 17 +- .../integration/resources/SHIBUI-1335-1.side | 1396 +++++++++++++++++ 2 files changed, 1405 insertions(+), 8 deletions(-) create mode 100644 backend/src/integration/resources/SHIBUI-1335-1.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 b69c49260..10b3485b8 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 @@ -106,14 +106,15 @@ class SeleniumSIDETest extends Specification { // 'Create and Delete Name ID Format Regex Filter' | '/CreateAndDeleteNameIDFormatRegexFilter.side' // 'Create and Delete Name ID Format Script Filter' | '/CreateAndDeleteNameIDFormatScriptFilter.side' // 'Create and Modify Filter Order' | '/ModifyFilterOrder.side' - 'SHIBUI-1281: Metadata Source Dashboard' | '/SHIBUI-1281.side' - 'SHIBUI-1311: Metadata Provider Dashboard' | '/SHIBUI-1311.side' - 'SHIBUI-950: Metadata Source from XML w/ digest' | '/SHIBUI-950.side' - 'SHIBUI-1352: Create LocalDynamic provider' | '/SHIBUI-1352-1.side' - 'SHIBUI-1352: Create FileSystem provider' | '/SHIBUI-1352-2.side' - 'SHIBUI-1333: Verify metadata source configuration' | '/SHIBUI-1333.side' - 'SHIBUI-1334: Verify metadata source versioning' | '/SHIBUI-1334-1.side' - 'SHIBUI-1334: Verify metadata provider versioning' | '/SHIBUI-1334-2.side' +// 'SHIBUI-1281: Metadata Source Dashboard' | '/SHIBUI-1281.side' +// 'SHIBUI-1311: Metadata Provider Dashboard' | '/SHIBUI-1311.side' +// 'SHIBUI-950: Metadata Source from XML w/ digest' | '/SHIBUI-950.side' +// 'SHIBUI-1352: Create LocalDynamic provider' | '/SHIBUI-1352-1.side' +// 'SHIBUI-1352: Create FileSystem provider' | '/SHIBUI-1352-2.side' +// 'SHIBUI-1333: Verify metadata source configuration' | '/SHIBUI-1333.side' +// 'SHIBUI-1334: Verify metadata source versioning' | '/SHIBUI-1334-1.side' +// 'SHIBUI-1334: Verify metadata provider versioning' | '/SHIBUI-1334-2.side' + 'SHIBUI-1335: Verify File Backed HTTP Metadata Provider Filters' | '/SHIBUI-1335-1.side' } } diff --git a/backend/src/integration/resources/SHIBUI-1335-1.side b/backend/src/integration/resources/SHIBUI-1335-1.side new file mode 100644 index 000000000..87d006a0c --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1335-1.side @@ -0,0 +1,1396 @@ +{ + "id": "57bde36d-15e6-4364-b117-4fb36e1e4941", + "version": "2.0", + "name": "SHIBUI-1335-1", + "url": "http://localhost:10101", + "tests": [{ + "id": "d87336f9-5279-422f-bf4d-73403f34fc85", + "name": "SHIBUI-1335-1", + "commands": [{ + "id": "2f6aa07a-6a16-439f-8c16-9822163c7b61", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "f1c7d7be-3f12-43f3-8646-ba7294416beb", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "f293afde-ce8a-4b85-9a19-fb77f21df988", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "358c31ea-fab8-4709-9b25-d9e5e82e123c", + "comment": "", + "command": "click", + "target": "name=submit", + "targets": [ + ["name=submit", "name"], + ["css=td:nth-child(1) > input", "css:finder"], + ["xpath=//input[@name='submit']", "xpath:attributes"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "fdea3214-f0e0-4f13-9d5d-e07ef92d71f1", + "comment": "", + "command": "click", + "target": "css=#addNewDropdown", + "targets": [ + ["css=#addNewDropdown > translate-i18n", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], + ["xpath=//translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2c40ac99-5e92-4c1c-923a-5a6100cadf43", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "b2725ef6-b394-4f87-a2a5-031be085cedb", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field4", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "File Backed HTTP Metadata Provider" + }, { + "id": "ca36b018-a4df-43d1-9fbd-973d6653d3e0", + "comment": "", + "command": "select", + "target": "id=/@type", + "targets": [ + ["id=/@type", "id"], + ["name=field2", "name"], + ["css=#\\/\\@type", "css:finder"], + ["xpath=//select[@id='/@type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=FileBackedHttpMetadataProvider" + }, { + "id": "e5d1d696-3029-4f9d-ad53-2e60b4789935", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e7462621-f4e4-4512-b200-20afa5685fc6", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field7", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "12345" + }, { + "id": "7bfaa2a7-c66d-4e36-b1f4-1de30b02ebd0", + "comment": "", + "command": "type", + "target": "id=/metadataURL", + "targets": [ + ["id=/metadataURL", "id"], + ["name=field8", "name"], + ["css=#\\/metadataURL", "css:finder"], + ["xpath=//input[@id='/metadataURL']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "047e1ea4-e28c-4b1b-86fc-ff19a3c0efcc", + "comment": "", + "command": "click", + "target": "id=/initializeFromBackupFile.false", + "targets": [ + ["id=/initializeFromBackupFile.false", "id"], + ["css=#\\/initializeFromBackupFile\\.false", "css:finder"], + ["xpath=//input[@id='/initializeFromBackupFile.false']", "xpath:attributes"], + ["xpath=//div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "34124b74-7b90-424a-9219-1f0bfbf06b70", + "comment": "", + "command": "type", + "target": "id=/backingFile", + "targets": [ + ["id=/backingFile", "id"], + ["name=field10", "name"], + ["css=#\\/backingFile", "css:finder"], + ["xpath=//input[@id='/backingFile']", "xpath:attributes"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo.txt" + }, { + "id": "0668032d-608b-4a01-9ac8-e4e2ac058294", + "comment": "", + "command": "click", + "target": "css=.btn-outline-secondary", + "targets": [ + ["css=.btn-outline-secondary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/backupFileInitNextRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5aa1d849-42b9-45e8-ac74-d3df1f9458db", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/backupFileInitNextRefreshDelay__option--1", + "targets": [], + "value": "10000" + }, { + "id": "35dfa0f8-c0f2-4356-a6b0-18b5dc35337b", + "comment": "", + "command": "click", + "target": "id=/backupFileInitNextRefreshDelay__option--1", + "targets": [ + ["id=/backupFileInitNextRefreshDelay__option--1", "id"], + ["css=#\\/backupFileInitNextRefreshDelay__option--1", "css:finder"], + ["xpath=//li[@id='/backupFileInitNextRefreshDelay__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/backupFileInitNextRefreshDelay__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b4d0a551-3bc1-466f-b204-ec7164af44ec", + "comment": "", + "command": "click", + "target": "id=/failFastInitialization.false", + "targets": [ + ["id=/failFastInitialization.false", "id"], + ["css=#\\/failFastInitialization\\.false", "css:finder"], + ["xpath=//input[@id='/failFastInitialization.false']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "bef80dbb-25a6-4381-8b0e-331faaeb4392", + "comment": "", + "command": "click", + "target": "id=/satisfyAnyPredicates.true", + "targets": [ + ["id=/satisfyAnyPredicates.true", "id"], + ["css=#\\/satisfyAnyPredicates\\.true", "css:finder"], + ["xpath=//input[@id='/satisfyAnyPredicates.true']", "xpath:attributes"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "9fe532ee-4ce6-4ff8-ab6c-ea92eb527ded", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "824b4515-ae14-436e-a56f-d631ea9e1edc", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/minRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9ee7065a-823e-4b4a-b212-0582eeaf7a00", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--0", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--0", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay__option--0", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__listbox']/li", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'PT0S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "618cc5f1-417b-4bc6-9388-3238f2304904", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "a89f1b4d-10bd-48f7-9b97-865710cfe01f", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay__option--2", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "143b781c-56ae-48c6-a7f5-8c93953f6095", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field20", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "dcd01c7a-f733-4977-9cc2-e9084903e079", + "comment": "", + "command": "type", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field20", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "0.5" + }, { + "id": "b7522094-c53a-4e79-8c7c-e38a3b2615f4", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "363af92e-0327-47b9-918c-1560adab40cc", + "comment": "", + "command": "click", + "target": "css=.btn-outline-secondary", + "targets": [ + ["css=.btn-outline-secondary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a4470d6f-04a7-4c4b-8c1e-70cff2f35e8a", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1", + "targets": [ + ["id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1", "id"], + ["css=#\\/metadataFilters\\/RequiredValidUntil\\/maxValidityInterval__option--1", "css:finder"], + ["xpath=//li[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'P14D')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4530c1b4-8f27-4272-9633-c792a3a54f90", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/SignatureValidation/requireSignedRoot.parent']/label", "xpath:idRelative"], + ["xpath=//div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Require Signed Root')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "10cd8cee-fc6a-4e5b-a11b-a7b0a9338f5d", + "comment": "", + "command": "type", + "target": "id=/metadataFilters/SignatureValidation/certificateFile", + "targets": [ + ["id=/metadataFilters/SignatureValidation/certificateFile", "id"], + ["name=field27", "name"], + ["css=#\\/metadataFilters\\/SignatureValidation\\/certificateFile", "css:finder"], + ["xpath=//input[@id='/metadataFilters/SignatureValidation/certificateFile']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo2.txt" + }, { + "id": "a3ce889f-0607-4071-bd39-25b169c30114", + "comment": "", + "command": "click", + "target": "css=div:nth-child(3) > sf-form-element .bg-light", + "targets": [ + ["css=div:nth-child(3) > sf-form-element .bg-light", "css:finder"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/fieldset-object/div/div/fieldset/div", "xpath:position"] + ], + "value": "" + }, { + "id": "f205ec23-b433-44bb-af80-e72330b4c7a3", + "comment": "", + "command": "click", + "target": "css=.fa-plus", + "targets": [ + ["css=.fa-plus", "css:finder"], + ["xpath=//array-component/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4dae6914-ae68-45e2-b332-cc4c1ac71e43", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/0", + "targets": [], + "value": "label=SPSSODescriptor" + }, { + "id": "4b257d69-1948-4c5f-a88d-b1bfa8f2ba72", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: md:SPSSODescriptor']", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/0']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'SPSSODescriptor')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d47fc8b5-4062-4813-90a8-cdc91b777f1d", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "442c5b8d-f108-488e-8779-06171f5081f6", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/1", + "targets": [], + "value": "label=AttributeAuthorityDescriptor" + }, { + "id": "42eddc22-9eed-41d1-aaee-2d4a1d933fa9", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(3)", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(3)", "css:finder"], + ["xpath=(//option[@value='2: md:AttributeAuthorityDescriptor'])[2]", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/1']/option[3]", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/select-component/div/select/option[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "4ebbc08c-ee24-43d8-8c2d-b639a625189c", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeRolelessEntityDescriptors\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeRolelessEntityDescriptors\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/EntityRoleWhiteList/removeRolelessEntityDescriptors.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Roleless Entity Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1c23c527-46e7-4fe6-8f60-37833af073c8", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeEmptyEntitiesDescriptors\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeEmptyEntitiesDescriptors\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/EntityRoleWhiteList/removeEmptyEntitiesDescriptors.parent']/label", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Empty Entities Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ee3d0257-56e2-402d-8fef-c21c8e62b9fe", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "7cd861ea-d86c-4faa-a07b-c1508811b506", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//div[@id='/enabled.parent']/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Enable this service?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0c112a41-8feb-42da-a58b-8fc04e9a3bf6", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "12673aa7-fc4e-4877-9842-a9d88dbc2d97", + "comment": "", + "command": "click", + "target": "linkText=File Backed HTTP Metadata Provider", + "targets": [ + ["linkText=File Backed HTTP Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'File Backed HTTP Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/da22a0b7-40d7-418c-bbe9-7ba4c37d3905/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'File Backed HTTP Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "daa2d46a-d238-4a48-aca7-0f34c9b93d5f", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2) > translate-i18n", + "targets": [ + ["css=.btn:nth-child(2) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/button/translate-i18n", "xpath:idRelative"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Filters')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d86e9a98-a0a1-4696-b454-1bca1d01f9d0", + "comment": "", + "command": "click", + "target": "css=#filters .actions span", + "targets": [ + ["css=#filters .actions span", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a/span", "xpath:idRelative"], + ["xpath=//div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dc41b26d-b101-4ead-866f-482df0bfee04", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "49fe7508-4f42-4eae-a47d-85a0983efb64", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b1c779b1-d3ed-47cc-bc88-e5c280161c32", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field37", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Entity Attributes Filter" + }, { + "id": "a10a6faf-90cd-4713-8ea3-60c768ed935e", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.valuedd", + "targets": [ + ["id=/entityAttributesFilterTarget.valuedd", "id"], + ["css=#\\/entityAttributesFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/entityAttributesFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1f2b93b8-23ae-4a9c-b015-96ca890ae150", + "comment": "", + "command": "click", + "target": "linkText=Regex", + "targets": [ + ["linkText=Regex", "linkText"], + ["css=.dropdown-item:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5c2ed93d-3630-408c-bb89-0b2baffb73c0", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["name=script", "name"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "6dec176f-0c5a-4982-867e-087342c90987", + "comment": "", + "command": "sendKeys", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [], + "value": "/foo.*/" + }, { + "id": "f4e6e8a5-0040-4aac-a0f9-9b49abbd9568", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "603aff60-cf79-4804-90c5-2ffd0f5ef550", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/signAssertion\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/signAssertion\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/signAssertion.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Sign the Assertion?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9456ba02-3dd6-4305-a0d3-f031e1e79b16", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/dontSignResponse\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/dontSignResponse\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/dontSignResponse.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "a1ce4398-4f95-498c-b01b-2f25e1fd3380", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/turnOffEncryption.parent']/label", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Turn off Encryption of Response?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dcaa766a-3800-4412-9631-0f279e23bf41", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/useSha.parent']/label", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Use SHA1 Signing Algorithm?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c7a9bd88-9198-4ce0-8ae0-618b90fd787a", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/ignoreAuthenticationMethod\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/ignoreAuthenticationMethod\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/ignoreAuthenticationMethod.parent']/label", "xpath:idRelative"], + ["xpath=//div[5]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Ignore any SP-Requested Authentication Method?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c806723d-9713-4710-96e2-6410b79895c0", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/omitNotBefore\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/omitNotBefore\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/omitNotBefore.parent']/label", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Omit Not Before Condition?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1c7d678e-5b74-4542-bf6c-a64d0117f831", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/responderId", + "targets": [ + ["id=/relyingPartyOverrides/responderId", "id"], + ["name=field50", "name"], + ["css=#\\/relyingPartyOverrides\\/responderId", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/responderId']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "id-123" + }, { + "id": "027b4448-eaf6-4f24-ae2f-5b592db910ed", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fd1af538-1b5b-4d6a-b56b-d56e7f01bb40", + "comment": "", + "command": "click", + "target": "css=.fa-caret-down", + "targets": [ + ["css=.fa-caret-down", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/0-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "cc233154-4159-425b-8ac5-761c26a0de15", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/0__option--0", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/0__option--0", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/0__listbox']/li", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "d8e3df44-0db6-458e-b133-36b7ec08fbb7", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .btn", + "targets": [ + ["css=div:nth-child(8) .btn > translate-i18n", "css:finder"], + ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "562c7f9f-1e55-432a-8fff-0cae15b23a33", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/nameIdFormats\\/1-container .fa", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/1-container .fa", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/1-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "f5f27af2-b869-4b99-a3d9-3efce014be06", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/1__option--1", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/1__option--1", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/1__option--1", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/1__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/1__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "4e595806-b2c6-43c6-bd1f-78e659f795e4", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b717af46-a3c1-40f2-ac1a-2c7f84fbf33f", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/nameIdFormats\\/2-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/2-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/2-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "4655a981-c5d6-4b48-aad2-77295dc37859", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/2__option--2", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/2__option--2", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/2__option--2", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/2__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/2__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "9902d02a-d7f7-4424-92f4-2a6072916421", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "df07e4c7-8e0f-4eed-ab58-42e2b5bcfc93", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/nameIdFormats\\/3-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/3-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/3-container']/div/div/button", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "cd34bc8a-564b-4d15-90c9-f09e12d7e078", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/nameIdFormats/3__option--3", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/3__option--3", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/3__option--3", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/3__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/3__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "624fd275-3ee2-4cd0-890a-4ae22b152ed4", + "comment": "", + "command": "click", + "target": "css=div:nth-child(8) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e6c3d2db-386e-4b9b-a160-c091b025c1b9", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/nameIdFormats/4", + "targets": [ + ["id=/relyingPartyOverrides/nameIdFormats/4", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/4", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/nameIdFormats/4']", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/4-container']/div/input", "xpath:idRelative"], + ["xpath=//li[5]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] + ], + "value": "nameIdFormat" + }, { + "id": "82093807-448e-4a25-96bf-ed1dfca77452", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "fcd7d891-5ea4-45a6-8554-4298ec5804c9", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[8]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "9bb8951c-c932-4236-89d8-9d2c8d49a702", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/0__option--0", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/0__option--0", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/0__listbox']/li", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "743e6d84-98b7-461a-8fb9-05826abb8e22", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "81517bc9-7996-46be-9dfe-9eea57f0e616", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/authenticationMethods\\/1-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/1-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[9]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/1-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8f00493c-94ef-4182-8423-5d23bd01136f", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/1__option--1", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/1__option--1", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/1__option--1", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/1__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/1__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "7a3a49b4-4348-4318-a35c-ba0a2192e811", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "c2f97ae8-fddf-4e48-b961-1d4154ceae9f", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/authenticationMethods\\/2-container .btn", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/2-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[10]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/2-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "3dcbc6b1-2571-4ab8-9014-66b19727fe0a", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/2__option--2", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/2__option--2", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/2__option--2", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/2__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/2__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "efad42c9-5d79-42f6-a348-54ba5fe59e9d", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "9a7b2bfe-8702-40be-a6fe-a76b9a01cdde", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/authenticationMethods/3", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/3", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/3", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/authenticationMethods/3']", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/3-container']/div/input", "xpath:idRelative"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/ul/li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] + ], + "value": "someOverride" + }, { + "id": "82bf7075-6128-4471-a631-c8e4c3525eea", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/forceAuthn.parent']/label", "xpath:idRelative"], + ["xpath=//div[10]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Force AuthN')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4098e48d-eef1-42e8-a1a4-e4eb48f5f9bd", + "comment": "", + "command": "click", + "target": "css=.fa-check", + "targets": [ + ["css=.fa-check", "css:finder"], + ["xpath=//button[@id='/attributeRelease.checkall']/i", "xpath:idRelative"], + ["xpath=//td[2]/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "2c3908a1-3fbf-4bbe-8611-fb8a87da1a66", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c49e62e6-f8b6-44b9-be12-5329e8bc5495", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//a[contains(@href, '/metadata/provider/d71151a4-a27d-4cb9-bd96-882280454c4a/filter/new')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "097ea9f6-e75c-41a3-b4e9-a4a80a866802", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=NameIDFormat" + }, { + "id": "9cf1a2b7-f951-4908-9ffe-dfcd3258a48d", + "comment": "", + "command": "click", + "target": "css=option:nth-child(3)", + "targets": [ + ["css=option:nth-child(3)", "css:finder"], + ["xpath=//option[@value='NameIDFormat']", "xpath:attributes"], + ["xpath=//option[3]", "xpath:position"], + ["xpath=//option[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "92fdc836-2479-4faa-9e3d-447f5b82cc11", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field65", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Name ID Format Filter" + }, { + "id": "abfa17d5-ebfe-4bb2-b64a-ef5f127bac86", + "comment": "", + "command": "click", + "target": "id=/nameIdFormatFilterTarget.valuedd", + "targets": [ + ["id=/nameIdFormatFilterTarget.valuedd", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/nameIdFormatFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6040112e-86c4-4e98-b258-79d7e61dfb6d", + "comment": "", + "command": "click", + "target": "linkText=Entity ID", + "targets": [ + ["linkText=Entity ID", "linkText"], + ["css=.show > .dropdown-item:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'Entity ID')]", "xpath:link"], + ["xpath=//a[contains(@href, '#')]", "xpath:href"], + ["xpath=//div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "bba23377-23a1-46d5-b044-15047a08ee53", + "comment": "", + "command": "type", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [ + ["id=/nameIdFormatFilterTarget.target", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/nameIdFormatFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "https://idp.unicon.net/idp/shibboleth" + }, { + "id": "6fbb57d1-0fc6-42bc-86ca-4a5fe872ea34", + "comment": "", + "command": "click", + "target": "css=.btn-success:nth-child(1)", + "targets": [ + ["css=.btn-success:nth-child(1)", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fa75b464-10a7-43da-939e-550e88748eb6", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a721538a-5f95-4567-8d7c-5851f67f3ae0", + "comment": "", + "command": "click", + "target": "css=#\\/removeExistingFormats\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/removeExistingFormats\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/removeExistingFormats.parent']/label", "xpath:idRelative"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Existing Formats?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "78c6d6fc-a3e6-4ae7-9f62-49b64c457232", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.array-add-button", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "76b5506e-ebd3-416b-9a2d-391d39b8b282", + "comment": "", + "command": "click", + "target": "css=.fa-caret-down", + "targets": [ + ["css=.fa-caret-down", "css:finder"], + ["xpath=//div[@id='/formats/0-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "ee812306-8d00-4162-9d92-eb598802f4bc", + "comment": "", + "command": "click", + "target": "id=/formats/0__option--0", + "targets": [ + ["id=/formats/0__option--0", "id"], + ["css=#\\/formats\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/formats/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/0__listbox']/li", "xpath:idRelative"], + ["xpath=//datalist-component/div/auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "ddcda076-a6d1-4a6f-861d-c32642305841", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "1f3cca46-1bf0-469f-9ac5-6481c8447633", + "comment": "", + "command": "click", + "target": "css=#\\/formats\\/1-container .fa", + "targets": [ + ["css=#\\/formats\\/1-container .fa", "css:finder"], + ["xpath=//div[@id='/formats/1-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "aa0cb8e5-a5b5-4956-91dc-d25ea30ff87a", + "comment": "", + "command": "click", + "target": "id=/formats/1__option--1", + "targets": [ + ["id=/formats/1__option--1", "id"], + ["css=#\\/formats\\/1__option--1", "css:finder"], + ["xpath=//li[@id='/formats/1__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/1__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "233f96b6-032e-40c4-8232-dc65583830fc", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.array-add-button", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f313f186-80e1-42ea-9b19-c59efe66a92d", + "comment": "", + "command": "click", + "target": "css=#\\/formats\\/2-container .fa", + "targets": [ + ["css=#\\/formats\\/2-container .fa", "css:finder"], + ["xpath=//div[@id='/formats/2-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "bf10f8f1-f5b8-43f5-b1d8-6e4e67e92621", + "comment": "", + "command": "click", + "target": "id=/formats/2__option--2", + "targets": [ + ["id=/formats/2__option--2", "id"], + ["css=#\\/formats\\/2__option--2", "css:finder"], + ["xpath=//li[@id='/formats/2__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/2__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "be2cee3b-966a-47e8-8907-9d21bb63a61c", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "823e4972-3bdd-4286-a22d-8805adef4f2c", + "comment": "", + "command": "click", + "target": "css=#\\/formats\\/3-container .fa", + "targets": [ + ["css=#\\/formats\\/3-container .fa", "css:finder"], + ["xpath=//div[@id='/formats/3-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "3cba2ead-22cd-4bc9-b0ca-bb1f5ebb10a2", + "comment": "", + "command": "click", + "target": "id=/formats/3__option--3", + "targets": [ + ["id=/formats/3__option--3", "id"], + ["css=#\\/formats\\/3__option--3", "css:finder"], + ["xpath=//li[@id='/formats/3__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/3__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//li[4]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "e793e30f-cefa-4a31-9a92-56c49c87b339", + "comment": "", + "command": "click", + "target": "css=.array-add-button", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "f0ae75e7-b2c0-49fa-9806-23f4f228e3e1", + "comment": "", + "command": "type", + "target": "id=/formats/4", + "targets": [ + ["id=/formats/4", "id"], + ["css=#\\/formats\\/4", "css:finder"], + ["xpath=//input[@id='/formats/4']", "xpath:attributes"], + ["xpath=//div[@id='/formats/4-container']/div/input", "xpath:idRelative"], + ["xpath=//li[5]/div/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/input", "xpath:position"] + ], + "value": "name id format" + }, { + "id": "3a97e6c5-badb-45c8-b6e5-a7e8462ee77f", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "100902ee-6d6e-4148-a69b-b37746a4ad6e", + "comment": "", + "command": "verifyText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(3)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'Entity Attributes Filter')]", "xpath:innerText"] + ], + "value": "Entity Attributes Filter" + }, { + "id": "9cc5dbab-bb39-455d-9338-6bdd054841e0", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "c9d498da-9f59-40ae-b5d4-cae397a13766", + "comment": "", + "command": "verifyText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(3)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'Name ID Format Filter')]", "xpath:innerText"] + ], + "value": "Name ID Format Filter" + }, { + "id": "1b05bac6-3412-4f4d-b168-0f7fb124e5d0", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "441608df-24a3-4a60-bfce-50a90ff0ee16", + "comment": "", + "command": "verifyText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(3)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'Entity Attributes Filter')]", "xpath:innerText"] + ], + "value": "Entity Attributes Filter" + }] + }], + "suites": [{ + "id": "248ba015-77cd-430f-b973-d14fd4f39a27", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["d87336f9-5279-422f-bf4d-73403f34fc85"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file From afc09c1fd4cb0a4c8338d91d36967789cc5d7f20 Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Tue, 6 Aug 2019 08:04:36 -0700 Subject: [PATCH 2/6] SHIBUI-1395 fixed issue with @type for selenium --- .../app/schema-form/widget/select/select.component.html | 8 ++++---- ui/src/app/schema-form/widget/select/select.component.ts | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ui/src/app/schema-form/widget/select/select.component.html b/ui/src/app/schema-form/widget/select/select.component.html index e923b7c6d..f3f709717 100644 --- a/ui/src/app/schema-form/widget/select/select.component.html +++ b/ui/src/app/schema-form/widget/select/select.component.html @@ -1,5 +1,5 @@
-
diff --git a/ui/src/app/schema-form/widget/select/select.component.ts b/ui/src/app/schema-form/widget/select/select.component.ts index ecd50a75b..0d52b0835 100644 --- a/ui/src/app/schema-form/widget/select/select.component.ts +++ b/ui/src/app/schema-form/widget/select/select.component.ts @@ -61,4 +61,8 @@ export class CustomSelectComponent extends SelectWidget implements AfterViewInit getError(error: string): string { return HARD_CODED_REQUIRED_MSG.test(error) ? 'message.required' : error; } + + get cleanId(): string { + return this.formProperty._canonicalPath.replace('@', ''); + } } From 7b6ea7c96461d233d7320820d0c9d09eb15c4899 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Tue, 6 Aug 2019 14:36:23 -0700 Subject: [PATCH 3/6] SHIBUI-1335 Added scripts for creating filters within each metadata provider type. Note that current scripts do not exercise filters with "script" types due to a bug. This will be addressed in a future PR. --- .../admin/ui/SeleniumSIDETest.groovy | 19 +- .../integration/resources/SHIBUI-1335-1.side | 40 +- .../integration/resources/SHIBUI-1335-2.side | 742 +++++++++++++++ .../integration/resources/SHIBUI-1335-3.side | 846 ++++++++++++++++++ .../integration/resources/SHIBUI-1335-4.side | 846 ++++++++++++++++++ 5 files changed, 2481 insertions(+), 12 deletions(-) create mode 100644 backend/src/integration/resources/SHIBUI-1335-2.side create mode 100644 backend/src/integration/resources/SHIBUI-1335-3.side create mode 100644 backend/src/integration/resources/SHIBUI-1335-4.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 10b3485b8..7679e111a 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 @@ -106,15 +106,18 @@ class SeleniumSIDETest extends Specification { // 'Create and Delete Name ID Format Regex Filter' | '/CreateAndDeleteNameIDFormatRegexFilter.side' // 'Create and Delete Name ID Format Script Filter' | '/CreateAndDeleteNameIDFormatScriptFilter.side' // 'Create and Modify Filter Order' | '/ModifyFilterOrder.side' -// 'SHIBUI-1281: Metadata Source Dashboard' | '/SHIBUI-1281.side' -// 'SHIBUI-1311: Metadata Provider Dashboard' | '/SHIBUI-1311.side' -// 'SHIBUI-950: Metadata Source from XML w/ digest' | '/SHIBUI-950.side' -// 'SHIBUI-1352: Create LocalDynamic provider' | '/SHIBUI-1352-1.side' -// 'SHIBUI-1352: Create FileSystem provider' | '/SHIBUI-1352-2.side' -// 'SHIBUI-1333: Verify metadata source configuration' | '/SHIBUI-1333.side' -// 'SHIBUI-1334: Verify metadata source versioning' | '/SHIBUI-1334-1.side' -// 'SHIBUI-1334: Verify metadata provider versioning' | '/SHIBUI-1334-2.side' + 'SHIBUI-1281: Metadata Source Dashboard' | '/SHIBUI-1281.side' + 'SHIBUI-1311: Metadata Provider Dashboard' | '/SHIBUI-1311.side' + 'SHIBUI-950: Metadata Source from XML w/ digest' | '/SHIBUI-950.side' + 'SHIBUI-1352: Create LocalDynamic provider' | '/SHIBUI-1352-1.side' + 'SHIBUI-1352: Create FileSystem provider' | '/SHIBUI-1352-2.side' + 'SHIBUI-1333: Verify metadata source configuration' | '/SHIBUI-1333.side' + 'SHIBUI-1334: Verify metadata source versioning' | '/SHIBUI-1334-1.side' + 'SHIBUI-1334: Verify metadata provider versioning' | '/SHIBUI-1334-2.side' 'SHIBUI-1335: Verify File Backed HTTP Metadata Provider Filters' | '/SHIBUI-1335-1.side' + 'SHIBUI-1335: Verify Filesystem Metadata Provider Filters' | '/SHIBUI-1335-2.side' + 'SHIBUI-1335: Local Dynamic Metadata Provider Filters' | '/SHIBUI-1335-3.side' + 'SHIBUI-1335: Dynamic HTTP Metadata Provider Filters' | '/SHIBUI-1335-4.side' } } diff --git a/backend/src/integration/resources/SHIBUI-1335-1.side b/backend/src/integration/resources/SHIBUI-1335-1.side index 87d006a0c..1af0bba89 100644 --- a/backend/src/integration/resources/SHIBUI-1335-1.side +++ b/backend/src/integration/resources/SHIBUI-1335-1.side @@ -74,6 +74,13 @@ ["xpath=//a[2]", "xpath:position"] ], "value": "" + }, { + "id": "7a42de04-995f-45aa-ba3f-095900a564ec", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" }, { "id": "b2725ef6-b394-4f87-a2a5-031be085cedb", "comment": "", @@ -91,12 +98,12 @@ "id": "ca36b018-a4df-43d1-9fbd-973d6653d3e0", "comment": "", "command": "select", - "target": "id=/@type", + "target": "id=/type", "targets": [ - ["id=/@type", "id"], + ["id=/type", "id"], ["name=field2", "name"], - ["css=#\\/\\@type", "css:finder"], - ["xpath=//select[@id='/@type']", "xpath:attributes"], + ["css=#\\/type", "css:finder"], + ["xpath=//select[@id='/type']", "xpath:attributes"], ["xpath=//select", "xpath:position"] ], "value": "label=FileBackedHttpMetadataProvider" @@ -551,6 +558,13 @@ ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] ], "value": "" + }, { + "id": "8a52ad88-b583-41b7-92a6-bdb185b03a06", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" }, { "id": "b1c779b1-d3ed-47cc-bc88-e5c280161c32", "comment": "", @@ -1067,6 +1081,13 @@ ["xpath=//option[contains(.,'NameIDFormat')]", "xpath:innerText"] ], "value": "" + }, { + "id": "4a663db9-9f10-4b12-9cb9-61aa01ecc0c0", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" }, { "id": "92fdc836-2479-4faa-9e3d-447f5b82cc11", "comment": "", @@ -1328,6 +1349,17 @@ ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] ], "value": "" + }, { + "id": "c28d683a-552d-4752-aa89-465e33d60887", + "comment": "", + "command": "waitForElementVisible", + "target": "css=tr:nth-child(2) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(2) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//tr[2]/td[4]", "xpath:position"], + ["xpath=//td[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "10000" }, { "id": "100902ee-6d6e-4148-a69b-b37746a4ad6e", "comment": "", diff --git a/backend/src/integration/resources/SHIBUI-1335-2.side b/backend/src/integration/resources/SHIBUI-1335-2.side new file mode 100644 index 000000000..3a1c51b24 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1335-2.side @@ -0,0 +1,742 @@ +{ + "id": "57bde36d-15e6-4364-b117-4fb36e1e4941", + "version": "2.0", + "name": "SHIBUI-1335-2", + "url": "http://localhost:10101", + "tests": [{ + "id": "d87336f9-5279-422f-bf4d-73403f34fc85", + "name": "SHIBUI-1335-2", + "commands": [{ + "id": "7e3c1218-65cd-4730-b715-ca9c922d75d3", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "4a52ace7-3b8c-44f1-8686-89f59a83b968", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "e9e6c795-7a41-4231-86b5-6a6c5d013aa2", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "185a1e41-d3a3-4627-aae2-7f05059e9c7d", + "comment": "", + "command": "click", + "target": "name=submit", + "targets": [ + ["name=submit", "name"], + ["css=td:nth-child(1) > input", "css:finder"], + ["xpath=//input[@name='submit']", "xpath:attributes"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "94e01321-ac2d-427f-89a5-7f816cea0f00", + "comment": "", + "command": "click", + "target": "css=#addNewDropdown > translate-i18n", + "targets": [ + ["css=#addNewDropdown > translate-i18n", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], + ["xpath=//translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c65500ae-3b08-4c22-8c88-b4116d6e0c9b", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "c5ec3177-5a66-4901-a644-8c6cfbb99254", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "d093ad38-ab2d-4441-a60b-2c094d6938f9", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field4", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Filesystem Metadata Provider" + }, { + "id": "aac150b1-6140-476b-8bdb-ebb83a14812d", + "comment": "", + "command": "select", + "target": "id=/type", + "targets": [ + ["id=/type", "id"], + ["name=field2", "name"], + ["css=#\\/type", "css:finder"], + ["xpath=//select[@id='/type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=FilesystemMetadataProvider" + }, { + "id": "7a60cb3c-ed3c-495c-8329-2fe52e72cceb", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8cbc5dce-126e-4fb6-afcd-9651d9be6ba2", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "c140099c-f6e3-4600-92b3-5b97e07a95ee", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field7", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "12345" + }, { + "id": "e2e3a3e4-196c-483d-ac52-de4027636a05", + "comment": "", + "command": "type", + "target": "id=/metadataFile", + "targets": [ + ["id=/metadataFile", "id"], + ["name=field8", "name"], + ["css=#\\/metadataFile", "css:finder"], + ["xpath=//input[@id='/metadataFile']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/metadata.txt" + }, { + "id": "5f32dd3f-a1d0-4ca3-9f2d-8a9cc6141004", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8197c49f-a70f-46dd-919e-58fff0e14075", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/minRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0f1a7a34-0955-45bb-bd2a-a5e4f246869b", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--1", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--1", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay__option--1", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/minRefreshDelay__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "62ee33e4-91d9-4c58-9c10-1732f83255bc", + "comment": "", + "command": "waitForElementVisible", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", + "targets": [], + "value": "10000" + }, { + "id": "64d0912a-0244-4f5e-818f-17000c01477b", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "80a08176-de7d-4938-8d49-1d296a8ba27c", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay__option--2", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "f5d73c96-8567-40da-8c7e-be7524050cb8", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field14", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "85e3eefd-43e7-43b7-b33e-a2c75149ba0c", + "comment": "", + "command": "type", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field14", "name"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "0.5" + }, { + "id": "9c67eec5-eb13-4aaa-9071-e23abb1b7c4b", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "c5fbaf24-139b-4886-a437-ef41a695bbc9", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//div[@id='/enabled.parent']/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Metadata Provider?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7fcdaee3-5714-4c5a-93a7-b1b15c6b24e1", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//span[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "27c0717e-f477-448b-8091-3bb2f3e6080f", + "comment": "", + "command": "waitForElementVisible", + "target": "css=td:nth-child(3)", + "targets": [], + "value": "10000" + }, { + "id": "20f7b832-ec52-450a-8224-399f0d4de0a0", + "comment": "", + "command": "verifyText", + "target": "css=td:nth-child(3)", + "targets": [ + ["css=td:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'FilesystemMetadataResolver')]", "xpath:innerText"] + ], + "value": "FilesystemMetadataResolver" + }, { + "id": "7548f260-d328-4b47-97ed-cf6df394b6bc", + "comment": "", + "command": "click", + "target": "linkText=Filesystem Metadata Provider", + "targets": [ + ["linkText=Filesystem Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Filesystem Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/5ddf2624-1a30-4709-8873-35bbba4a372f/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Filesystem Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "11d71ffb-3372-41cb-9832-72755ef298b5", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2) > translate-i18n", + "targets": [ + ["css=.btn:nth-child(2) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/button/translate-i18n", "xpath:idRelative"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Filters')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b7312cb1-744c-429f-a6fa-58635f7a1fea", + "comment": "", + "command": "click", + "target": "css=#filters .actions span", + "targets": [ + ["css=#filters .actions span", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a/span", "xpath:idRelative"], + ["xpath=//div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2ba34b77-bac1-48f4-b2ef-c3a4f93e9b51", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "73f3151e-9a9f-4f6c-b3d4-93560b3e42bb", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a8ee94c0-d4f2-47f1-974e-09308193e6dd", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "3edb4fc7-f24c-440b-8403-974304f0b4ac", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field18", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Entity Attributes" + }, { + "id": "f2c07797-07f6-4325-8c5f-57a676dc982c", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.valuedd", + "targets": [ + ["id=/entityAttributesFilterTarget.valuedd", "id"], + ["css=#\\/entityAttributesFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/entityAttributesFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "bca61e15-7c13-4007-8c90-1a667bbef67d", + "comment": "", + "command": "click", + "target": "linkText=Regex", + "targets": [ + ["linkText=Regex", "linkText"], + ["css=.dropdown-item:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e0c65de5-d74a-4d87-aca0-9e9f4b37fb36", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["name=script", "name"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "70a43e87-7180-4761-8f64-d69c7c7557e5", + "comment": "", + "command": "sendKeys", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [], + "value": "/foo.*/" + }, { + "id": "ce3cf65a-40bd-43fe-beb7-dc3e1d79927b", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2eea7d5e-e992-4c85-94da-4537e4863228", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/signAssertion\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/signAssertion\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/signAssertion.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-object/div/div/fieldset/div/div/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Sign the Assertion?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f34181b8-eac5-4ce7-8776-0f87cf938503", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/dontSignResponse\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/dontSignResponse\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/dontSignResponse.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"] + ], + "value": "" + }, { + "id": "06699eac-9dcc-46ea-a520-bd8117deab97", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/turnOffEncryption.parent']/label", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Turn off Encryption of Response?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "891515dc-c75b-45f7-b33e-05760891e9aa", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/forceAuthn.parent']/label", "xpath:idRelative"], + ["xpath=//div[10]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Force AuthN')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1c315922-1f5a-43a5-97fd-1767f3392471", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(5) .custom-control-label", + "targets": [ + ["css=tr:nth-child(5) .custom-control-label", "css:finder"], + ["xpath=//tr[5]/td[2]/fieldset/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Toggle givenName')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9569fc2c-5b8d-4724-bf1c-5a2a9af253bd", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(9) .custom-control-label", + "targets": [ + ["css=tr:nth-child(9) .custom-control-label", "css:finder"], + ["xpath=//tr[9]/td[2]/fieldset/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Toggle eduPersonEntitlement')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f2cfdab4-af65-45b5-b62a-56935ae15637", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "86d92dcf-e856-4578-8a0d-25b4121ad69e", + "comment": "", + "command": "waitForElementVisible", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//a[contains(@href, '/metadata/provider/45943457-0dd0-486b-b111-19ae6dd6896c/filter/new')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "10000" + }, { + "id": "bc3e5810-89fb-42de-92da-e9336b29ebd3", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//a[contains(@href, '/metadata/provider/dbc814ac-890b-4f11-b3e0-3a2d667fa5cd/filter/new')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "094ce013-936c-4479-9c5b-ba26db4d05c9", + "comment": "", + "command": "waitForElementVisible", + "target": "name=type", + "targets": [ + ["name=type", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//select[@name='type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "10000" + }, { + "id": "f6d537b3-74ab-430f-9688-b7c90516cfc0", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=NameIDFormat" + }, { + "id": "471c00e2-52d8-4cf7-a071-00b50c98bf9e", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "8b0dfae1-5e58-4943-ae62-cad5d32ea203", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field37", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Name ID Filter" + }, { + "id": "ec49b089-a390-4cff-904f-363d3a57cb76", + "comment": "", + "command": "click", + "target": "id=/nameIdFormatFilterTarget.valuedd", + "targets": [ + ["id=/nameIdFormatFilterTarget.valuedd", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/nameIdFormatFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "56abaabc-0c96-428c-9070-62a79ba90c6c", + "comment": "", + "command": "click", + "target": "linkText=Entity ID", + "targets": [ + ["linkText=Entity ID", "linkText"], + ["css=.show > .dropdown-item:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'Entity ID')]", "xpath:link"], + ["xpath=//a[contains(@href, '#')]", "xpath:href"], + ["xpath=//div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3f8bc2f3-ee80-410f-aa5d-33aea08bf991", + "comment": "", + "command": "type", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [ + ["id=/nameIdFormatFilterTarget.target", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/nameIdFormatFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "unicon" + }, { + "id": "7129e60b-fecc-436f-b055-0f377ade83f8", + "comment": "", + "command": "click", + "target": "css=.btn-success:nth-child(1)", + "targets": [ + ["css=.btn-success:nth-child(1)", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "93a29942-d580-412b-b151-9961fd1495d0", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c0ab05f8-13f7-4e4a-bf02-2118629eca43", + "comment": "", + "command": "click", + "target": "css=.btn-success > translate-i18n", + "targets": [ + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//array-component/div/div/button/translate-i18n", "xpath:position"] + ], + "value": "" + }, { + "id": "028122a4-7a5c-4ee9-afb9-5f7d491cc9bd", + "comment": "", + "command": "click", + "target": "css=.input-group-append > .btn", + "targets": [ + ["css=.input-group-append > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/formats/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e50612f4-b0e4-4749-99ec-5c67e66cd398", + "comment": "", + "command": "click", + "target": "id=/formats/0__option--1", + "targets": [ + ["id=/formats/0__option--1", "id"], + ["css=#\\/formats\\/0__option--1", "css:finder"], + ["xpath=//li[@id='/formats/0__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/0__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "952930b1-160e-42cd-9be5-c44f397a1451", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "eca1d3dd-9e47-49d2-b4a1-a45c2b6c8c3a", + "comment": "", + "command": "waitForElementVisible", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [], + "value": "10000" + }, { + "id": "d722902b-5c10-45dc-99df-d96f46e78313", + "comment": "", + "command": "verifyText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "EntityAttributes" + }, { + "id": "c8d9bc5a-4b7e-4178-8aba-8b8280506c20", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "d7909094-96ce-4532-98b4-446cc013c9c8", + "comment": "", + "command": "verifyText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "NameIDFormat" + }] + }], + "suites": [{ + "id": "248ba015-77cd-430f-b973-d14fd4f39a27", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["d87336f9-5279-422f-bf4d-73403f34fc85"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1335-3.side b/backend/src/integration/resources/SHIBUI-1335-3.side new file mode 100644 index 000000000..f85088621 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1335-3.side @@ -0,0 +1,846 @@ +{ + "id": "57bde36d-15e6-4364-b117-4fb36e1e4941", + "version": "2.0", + "name": "SHIBUI-1335-3", + "url": "http://localhost:10101", + "tests": [{ + "id": "d87336f9-5279-422f-bf4d-73403f34fc85", + "name": "SHIBUI-1335-3", + "commands": [{ + "id": "7e3c1218-65cd-4730-b715-ca9c922d75d3", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "4a52ace7-3b8c-44f1-8686-89f59a83b968", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "e9e6c795-7a41-4231-86b5-6a6c5d013aa2", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "185a1e41-d3a3-4627-aae2-7f05059e9c7d", + "comment": "", + "command": "click", + "target": "name=submit", + "targets": [ + ["name=submit", "name"], + ["css=td:nth-child(1) > input", "css:finder"], + ["xpath=//input[@name='submit']", "xpath:attributes"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "94e01321-ac2d-427f-89a5-7f816cea0f00", + "comment": "", + "command": "click", + "target": "css=#addNewDropdown > translate-i18n", + "targets": [ + ["css=#addNewDropdown > translate-i18n", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], + ["xpath=//translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c65500ae-3b08-4c22-8c88-b4116d6e0c9b", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "c5ec3177-5a66-4901-a644-8c6cfbb99254", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "d093ad38-ab2d-4441-a60b-2c094d6938f9", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field4", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Local Dynamic Metadata Provider" + }, { + "id": "aac150b1-6140-476b-8bdb-ebb83a14812d", + "comment": "", + "command": "select", + "target": "id=/type", + "targets": [ + ["id=/type", "id"], + ["name=field2", "name"], + ["css=#\\/type", "css:finder"], + ["xpath=//select[@id='/type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=LocalDynamicMetadataProvider" + }, { + "id": "7a60cb3c-ed3c-495c-8329-2fe52e72cceb", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8cbc5dce-126e-4fb6-afcd-9651d9be6ba2", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "c140099c-f6e3-4600-92b3-5b97e07a95ee", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field7", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "12345" + }, { + "id": "e2e3a3e4-196c-483d-ac52-de4027636a05", + "comment": "", + "command": "type", + "target": "id=/sourceDirectory", + "targets": [ + ["id=/sourceDirectory", "id"], + ["name=field8", "name"], + ["css=#\\/sourceDirectory", "css:finder"], + ["xpath=//input[@id='/sourceDirectory']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo" + }, { + "id": "5f32dd3f-a1d0-4ca3-9f2d-8a9cc6141004", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "0586f02c-c210-4e44-9a86-3e914bc94f3b", + "comment": "", + "command": "type", + "target": "id=/dynamicMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field11", "name"], + ["css=#\\/dynamicMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "0.5" + }, { + "id": "1a8a9dcf-9c6b-4802-8483-981d14131346", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/minCacheDuration-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "443a9cfc-17c8-49da-9d87-bfabda8fd0b6", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/minCacheDuration__option--0", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/minCacheDuration__option--0", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration__option--0", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/minCacheDuration__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/minCacheDuration__listbox']/li", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'PT0S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "84f35d35-ea9c-4a06-aaec-bee1c1922aec", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/maxCacheDuration-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "c03be15d-ee34-4cd1-bac9-c52e3baa70a3", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--2", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--2", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration__option--2", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "c66f68b6-324d-4b74-bccf-5c032729c802", + "comment": "", + "command": "waitForElementVisible", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", + "targets": [], + "value": "10000" + }, { + "id": "f0cdfbcf-46e2-4013-b085-0730b0127842", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "56f964c0-7940-4cad-8314-193fe1ef0c1c", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1", + "targets": [], + "value": "10000" + }, { + "id": "dd663319-7eef-4301-a0d4-24d9583eab7f", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData__option--1", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "25ed1d75-be93-4e20-88ba-57d8ae7bf053", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/removeIdleEntityData.false", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/removeIdleEntityData.false", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/removeIdleEntityData\\.false", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/removeIdleEntityData.false']", "xpath:attributes"], + ["xpath=//div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "54df6d88-1a85-407f-935a-a016f5952a93", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e7f2439a-e9a1-4b23-b0b9-d992f5b477d4", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval__option--3", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "64af203b-565c-4e35-b7da-4646423a3279", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "d02ae356-8086-4794-97ba-980fc75cca79", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//div[@id='/enabled.parent']/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Metadata Provider?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dc60328b-d6e0-4f62-96c5-012f0fb5edc4", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "02e53e75-003b-42ce-8522-817d52ad16a3", + "comment": "", + "command": "waitForElementVisible", + "target": "css=td:nth-child(3)", + "targets": [], + "value": "10000" + }, { + "id": "7d059a57-60f7-4729-95af-b36619b98694", + "comment": "", + "command": "verifyText", + "target": "css=td:nth-child(3)", + "targets": [ + ["css=td:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'LocalDynamicMetadataResolver')]", "xpath:innerText"] + ], + "value": "LocalDynamicMetadataResolver" + }, { + "id": "15912a4b-c036-4886-9577-312bf6816943", + "comment": "", + "command": "click", + "target": "linkText=Local Dynamic Metadata Provider", + "targets": [ + ["linkText=Local Dynamic Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Local Dynamic Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/dff5232d-66fb-4623-b25e-85c24df5ede4/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Local Dynamic Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "feb08e76-e553-4505-bffe-07f3e77206d0", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2)", + "targets": [ + ["css=.btn:nth-child(2) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/button/translate-i18n", "xpath:idRelative"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Filters')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2afa209b-d09b-468e-8cc3-d549abb3be4a", + "comment": "", + "command": "click", + "target": "css=#filters .actions span", + "targets": [ + ["css=#filters .actions span", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a/span", "xpath:idRelative"], + ["xpath=//div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c4e0394c-ba68-4e75-8d20-174a91fad2f5", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "5f1229fb-9185-40cf-bd65-76435d93d7df", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "03f838cb-2aea-40fa-b549-8263aa2046cf", + "comment": "", + "command": "click", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field20", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "ad127dfe-2cae-4693-b65f-e35c0655e9eb", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field20", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Entity Attributes Filter" + }, { + "id": "0065c161-84c6-4cd0-8b69-b257ec572915", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "15d90ee0-b1cc-4fae-abec-ae80d93db1c1", + "comment": "", + "command": "type", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "unicon" + }, { + "id": "1d754809-177b-47f9-98e6-5e757713d834", + "comment": "", + "command": "click", + "target": "css=.btn-success:nth-child(1)", + "targets": [ + ["css=.btn-success:nth-child(1)", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "72c2bc1d-f96f-497b-bbd8-b2e254fae6b6", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1e74f318-f78c-4e64-8ac7-fc999df0dd19", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/turnOffEncryption.parent']/label", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Turn off Encryption of Response?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d05f7295-35b2-42ba-98d0-1c9673846190", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/useSha.parent']/label", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Use SHA1 Signing Algorithm?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "82bbe8c4-e66c-470d-bdf6-9cd3337b4a3e", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/responderId", + "targets": [ + ["id=/relyingPartyOverrides/responderId", "id"], + ["name=field33", "name"], + ["css=#\\/relyingPartyOverrides\\/responderId", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/responderId']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "2e4c1077-cd2f-4298-969f-e945e2d68636", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/responderId", + "targets": [ + ["id=/relyingPartyOverrides/responderId", "id"], + ["name=field33", "name"], + ["css=#\\/relyingPartyOverrides\\/responderId", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/responderId']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "responder" + }, { + "id": "14785e6f-8ab8-47e0-b16e-8e736638d8c8", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "3e162911-9775-4d01-8802-63f5638c7cba", + "comment": "", + "command": "click", + "target": "css=.input-group-append > .btn", + "targets": [ + ["css=.input-group-append > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ab2594b3-45a8-43f7-885b-270239a46628", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/0__option--0", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/0__option--0", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/0__listbox']/li", "xpath:idRelative"], + ["xpath=//datalist-component/div/auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "dd4e22ff-aa54-40c0-b5c2-6a5b79845062", + "comment": "", + "command": "click", + "target": "css=.fa-check", + "targets": [ + ["css=.fa-check", "css:finder"], + ["xpath=//button[@id='/attributeRelease.checkall']/i", "xpath:idRelative"], + ["xpath=//td[2]/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "1c4c90ac-b644-4033-8ebc-07a8cd1bdbdd", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "af17a3a7-f292-4c22-8f2f-3d3bf1938fc1", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.td-lg:nth-child(4)", + "targets": [], + "value": "10000" + }, { + "id": "2b9c0a43-fd7a-4ffa-bfef-a7fc41746e16", + "comment": "", + "command": "verifyText", + "target": "css=.td-lg:nth-child(4)", + "targets": [ + ["css=.td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "EntityAttributes" + }, { + "id": "a0e16e8d-91c9-416c-b1c1-a2898bfbd185", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//a[contains(@href, '/metadata/provider/ceb1cfdd-26c1-4134-baab-1438190ae9bd/filter/new')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "11fd3e95-ce05-4ad0-8238-c34b696003cd", + "comment": "", + "command": "click", + "target": "name=type", + "targets": [ + ["name=type", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//select[@name='type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "" + }, { + "id": "0b68dd82-e9a5-447f-b062-9f7849529bcc", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=NameIDFormat" + }, { + "id": "e85fde4c-cdbf-41c6-89e7-d4b281a16219", + "comment": "", + "command": "click", + "target": "css=option:nth-child(3)", + "targets": [ + ["css=option:nth-child(3)", "css:finder"], + ["xpath=//option[@value='NameIDFormat']", "xpath:attributes"], + ["xpath=//option[3]", "xpath:position"], + ["xpath=//option[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a058bf22-7d07-4850-8004-8a85a2016d25", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "8a94f318-76bb-49f1-90d5-b2dcbcb1ff80", + "comment": "", + "command": "click", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field40", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "9bd2419e-c4f5-4dd2-9fb8-278d70be987b", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field40", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Name ID Format Filter" + }, { + "id": "9b9d7604-7025-4ccb-bb95-862f57f696f1", + "comment": "", + "command": "click", + "target": "id=/nameIdFormatFilterTarget.valuedd", + "targets": [ + ["id=/nameIdFormatFilterTarget.valuedd", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/nameIdFormatFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9e84c57f-c33d-48f8-85ac-ed50751eb37b", + "comment": "", + "command": "click", + "target": "linkText=Regex", + "targets": [ + ["linkText=Regex", "linkText"], + ["css=.dropdown-item:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f3bc22e2-0e3a-4d58-b992-31d687148c57", + "comment": "", + "command": "sendKeys", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [], + "value": "/foo.*/" + }, { + "id": "343b40b9-87df-46ab-b3ef-285e4e5ed784", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6ce98c83-68b8-45c0-834e-cc40af11fc29", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a7aa04e7-b909-42cf-85ed-adbff0adefce", + "comment": "", + "command": "click", + "target": "css=.input-group-append > .btn", + "targets": [ + ["css=.input-group-append > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/formats/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8b7b79fd-2405-4ab6-8f91-4906f663cd1e", + "comment": "", + "command": "click", + "target": "id=/formats/0__option--1", + "targets": [ + ["id=/formats/0__option--1", "id"], + ["css=#\\/formats\\/0__option--1", "css:finder"], + ["xpath=//li[@id='/formats/0__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/0__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "6d4c2c20-0855-4cdf-8e4d-dbbd6afb328b", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "455e24c1-5093-4da3-a62d-457bbf0cd5db", + "comment": "", + "command": "waitForElementVisible", + "target": "css=tr:nth-child(2) > .td-lg:nth-child(4)", + "targets": [], + "value": "10000" + }, { + "id": "9f7e95cf-4dd5-415f-8577-a6f1bc54a85d", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4a73b268-7d33-4e8c-8fa4-cb059be9768f", + "comment": "", + "command": "verifyText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "NameIDFormat" + }, { + "id": "63ac7307-0538-4c0d-8e98-2f05c767baaf", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "ed8e07ff-0dce-47d6-8310-f1920bfe1367", + "comment": "", + "command": "verifyText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "EntityAttributes" + }] + }], + "suites": [{ + "id": "248ba015-77cd-430f-b973-d14fd4f39a27", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["d87336f9-5279-422f-bf4d-73403f34fc85"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file diff --git a/backend/src/integration/resources/SHIBUI-1335-4.side b/backend/src/integration/resources/SHIBUI-1335-4.side new file mode 100644 index 000000000..c1f2d9405 --- /dev/null +++ b/backend/src/integration/resources/SHIBUI-1335-4.side @@ -0,0 +1,846 @@ +{ + "id": "57bde36d-15e6-4364-b117-4fb36e1e4941", + "version": "2.0", + "name": "SHIBUI-1335-4", + "url": "http://localhost:10101", + "tests": [{ + "id": "d87336f9-5279-422f-bf4d-73403f34fc85", + "name": "SHIBUI-1335-4", + "commands": [{ + "id": "7e3c1218-65cd-4730-b715-ca9c922d75d3", + "comment": "", + "command": "open", + "target": "/login", + "targets": [], + "value": "" + }, { + "id": "4a52ace7-3b8c-44f1-8686-89f59a83b968", + "comment": "", + "command": "type", + "target": "name=username", + "targets": [ + ["name=username", "name"], + ["css=tr:nth-child(1) input", "css:finder"], + ["xpath=//input[@name='username']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "admin" + }, { + "id": "e9e6c795-7a41-4231-86b5-6a6c5d013aa2", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=tr:nth-child(2) input", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "adminpass" + }, { + "id": "185a1e41-d3a3-4627-aae2-7f05059e9c7d", + "comment": "", + "command": "click", + "target": "name=submit", + "targets": [ + ["name=submit", "name"], + ["css=td:nth-child(1) > input", "css:finder"], + ["xpath=//input[@name='submit']", "xpath:attributes"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "94e01321-ac2d-427f-89a5-7f816cea0f00", + "comment": "", + "command": "click", + "target": "css=#addNewDropdown > translate-i18n", + "targets": [ + ["css=#addNewDropdown > translate-i18n", "css:finder"], + ["xpath=//button[@id='addNewDropdown']/translate-i18n", "xpath:idRelative"], + ["xpath=//translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add New')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c65500ae-3b08-4c22-8c88-b4116d6e0c9b", + "comment": "", + "command": "click", + "target": "linkText=Metadata Provider", + "targets": [ + ["linkText=Metadata Provider", "linkText"], + ["css=.nav-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='navbar']/ul/li/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '')])[3]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "c5ec3177-5a66-4901-a644-8c6cfbb99254", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "d093ad38-ab2d-4441-a60b-2c094d6938f9", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field4", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Local Dynamic Metadata Provider" + }, { + "id": "aac150b1-6140-476b-8bdb-ebb83a14812d", + "comment": "", + "command": "select", + "target": "id=/type", + "targets": [ + ["id=/type", "id"], + ["name=field2", "name"], + ["css=#\\/type", "css:finder"], + ["xpath=//select[@id='/type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "label=LocalDynamicMetadataProvider" + }, { + "id": "7a60cb3c-ed3c-495c-8329-2fe52e72cceb", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "8cbc5dce-126e-4fb6-afcd-9651d9be6ba2", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" + }, { + "id": "c140099c-f6e3-4600-92b3-5b97e07a95ee", + "comment": "", + "command": "type", + "target": "id=/xmlId", + "targets": [ + ["id=/xmlId", "id"], + ["name=field7", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "12345" + }, { + "id": "e2e3a3e4-196c-483d-ac52-de4027636a05", + "comment": "", + "command": "type", + "target": "id=/sourceDirectory", + "targets": [ + ["id=/sourceDirectory", "id"], + ["name=field8", "name"], + ["css=#\\/sourceDirectory", "css:finder"], + ["xpath=//input[@id='/sourceDirectory']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/foo" + }, { + "id": "5f32dd3f-a1d0-4ca3-9f2d-8a9cc6141004", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "0586f02c-c210-4e44-9a86-3e914bc94f3b", + "comment": "", + "command": "type", + "target": "id=/dynamicMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field11", "name"], + ["css=#\\/dynamicMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "0.5" + }, { + "id": "1a8a9dcf-9c6b-4802-8483-981d14131346", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/minCacheDuration-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "443a9cfc-17c8-49da-9d87-bfabda8fd0b6", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/minCacheDuration__option--0", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/minCacheDuration__option--0", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration__option--0", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/minCacheDuration__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/minCacheDuration__listbox']/li", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'PT0S')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "84f35d35-ea9c-4a06-aaec-bee1c1922aec", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/maxCacheDuration-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "c03be15d-ee34-4cd1-bac9-c52e3baa70a3", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--2", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--2", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration__option--2", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "c66f68b6-324d-4b74-bccf-5c032729c802", + "comment": "", + "command": "waitForElementVisible", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", + "targets": [], + "value": "10000" + }, { + "id": "f0cdfbcf-46e2-4013-b085-0730b0127842", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "56f964c0-7940-4cad-8314-193fe1ef0c1c", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1", + "targets": [], + "value": "10000" + }, { + "id": "dd663319-7eef-4301-a0d4-24d9583eab7f", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData__option--1", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "25ed1d75-be93-4e20-88ba-57d8ae7bf053", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/removeIdleEntityData.false", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/removeIdleEntityData.false", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/removeIdleEntityData\\.false", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/removeIdleEntityData.false']", "xpath:attributes"], + ["xpath=//div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "54df6d88-1a85-407f-935a-a016f5952a93", + "comment": "", + "command": "click", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval-container .btn", + "targets": [ + ["css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval-container .btn", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e7f2439a-e9a1-4b23-b0b9-d992f5b477d4", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval__option--3", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/cleanupTaskInterval__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "64af203b-565c-4e35-b7da-4646423a3279", + "comment": "", + "command": "click", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "d02ae356-8086-4794-97ba-980fc75cca79", + "comment": "", + "command": "click", + "target": "css=.custom-control-label", + "targets": [ + ["css=.custom-control-label", "css:finder"], + ["xpath=//div[@id='/enabled.parent']/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Metadata Provider?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dc60328b-d6e0-4f62-96c5-012f0fb5edc4", + "comment": "", + "command": "click", + "target": "css=.save", + "targets": [ + ["css=.save", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "02e53e75-003b-42ce-8522-817d52ad16a3", + "comment": "", + "command": "waitForElementVisible", + "target": "css=td:nth-child(3)", + "targets": [], + "value": "10000" + }, { + "id": "7d059a57-60f7-4729-95af-b36619b98694", + "comment": "", + "command": "verifyText", + "target": "css=td:nth-child(3)", + "targets": [ + ["css=td:nth-child(3)", "css:finder"], + ["xpath=//td[3]", "xpath:position"], + ["xpath=//td[contains(.,'LocalDynamicMetadataResolver')]", "xpath:innerText"] + ], + "value": "LocalDynamicMetadataResolver" + }, { + "id": "15912a4b-c036-4886-9577-312bf6816943", + "comment": "", + "command": "click", + "target": "linkText=Local Dynamic Metadata Provider", + "targets": [ + ["linkText=Local Dynamic Metadata Provider", "linkText"], + ["css=td > a", "css:finder"], + ["xpath=//a[contains(text(),'Local Dynamic Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/dff5232d-66fb-4623-b25e-85c24df5ede4/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Local Dynamic Metadata Provider')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "feb08e76-e553-4505-bffe-07f3e77206d0", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2)", + "targets": [ + ["css=.btn:nth-child(2) > translate-i18n", "css:finder"], + ["xpath=//div[@id='navigation']/div/button/translate-i18n", "xpath:idRelative"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Filters')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2afa209b-d09b-468e-8cc3-d549abb3be4a", + "comment": "", + "command": "click", + "target": "css=#filters .actions span", + "targets": [ + ["css=#filters .actions span", "css:finder"], + ["xpath=//div[@id='filters']/div/div/a/span", "xpath:idRelative"], + ["xpath=//div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c4e0394c-ba68-4e75-8d20-174a91fad2f5", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=EntityAttributes" + }, { + "id": "5f1229fb-9185-40cf-bd65-76435d93d7df", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='EntityAttributes']", "xpath:attributes"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "03f838cb-2aea-40fa-b549-8263aa2046cf", + "comment": "", + "command": "click", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field20", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "ad127dfe-2cae-4693-b65f-e35c0655e9eb", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field20", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Entity Attributes Filter" + }, { + "id": "0065c161-84c6-4cd0-8b69-b257ec572915", + "comment": "", + "command": "click", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "15d90ee0-b1cc-4fae-abec-ae80d93db1c1", + "comment": "", + "command": "type", + "target": "id=/entityAttributesFilterTarget.target", + "targets": [ + ["id=/entityAttributesFilterTarget.target", "id"], + ["css=#\\/entityAttributesFilterTarget\\.target", "css:finder"], + ["xpath=//input[@id='/entityAttributesFilterTarget.target']", "xpath:attributes"], + ["xpath=//div[@id='-container']/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "unicon" + }, { + "id": "1d754809-177b-47f9-98e6-5e757713d834", + "comment": "", + "command": "click", + "target": "css=.btn-success:nth-child(1)", + "targets": [ + ["css=.btn-success:nth-child(1)", "css:finder"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'Add Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "72c2bc1d-f96f-497b-bbd8-b2e254fae6b6", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1e74f318-f78c-4e64-8ac7-fc999df0dd19", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/turnOffEncryption.parent']/label", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Turn off Encryption of Response?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d05f7295-35b2-42ba-98d0-1c9673846190", + "comment": "", + "command": "click", + "target": "css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/useSha.parent']/label", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Use SHA1 Signing Algorithm?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "82bbe8c4-e66c-470d-bdf6-9cd3337b4a3e", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/responderId", + "targets": [ + ["id=/relyingPartyOverrides/responderId", "id"], + ["name=field33", "name"], + ["css=#\\/relyingPartyOverrides\\/responderId", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/responderId']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "2e4c1077-cd2f-4298-969f-e945e2d68636", + "comment": "", + "command": "type", + "target": "id=/relyingPartyOverrides/responderId", + "targets": [ + ["id=/relyingPartyOverrides/responderId", "id"], + ["name=field33", "name"], + ["css=#\\/relyingPartyOverrides\\/responderId", "css:finder"], + ["xpath=//input[@id='/relyingPartyOverrides/responderId']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "responder" + }, { + "id": "14785e6f-8ab8-47e0-b16e-8e736638d8c8", + "comment": "", + "command": "click", + "target": "css=div:nth-child(9) .d-flex > .btn", + "targets": [ + ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "3e162911-9775-4d01-8802-63f5638c7cba", + "comment": "", + "command": "click", + "target": "css=.input-group-append > .btn", + "targets": [ + ["css=.input-group-append > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ab2594b3-45a8-43f7-885b-270239a46628", + "comment": "", + "command": "click", + "target": "id=/relyingPartyOverrides/authenticationMethods/0__option--0", + "targets": [ + ["id=/relyingPartyOverrides/authenticationMethods/0__option--0", "id"], + ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0__option--0", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/0__option--0']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/0__listbox']/li", "xpath:idRelative"], + ["xpath=//datalist-component/div/auto-complete/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "dd4e22ff-aa54-40c0-b5c2-6a5b79845062", + "comment": "", + "command": "click", + "target": "css=.fa-check", + "targets": [ + ["css=.fa-check", "css:finder"], + ["xpath=//button[@id='/attributeRelease.checkall']/i", "xpath:idRelative"], + ["xpath=//td[2]/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "1c4c90ac-b644-4033-8ebc-07a8cd1bdbdd", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "af17a3a7-f292-4c22-8f2f-3d3bf1938fc1", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.td-lg:nth-child(4)", + "targets": [], + "value": "10000" + }, { + "id": "2b9c0a43-fd7a-4ffa-bfef-a7fc41746e16", + "comment": "", + "command": "verifyText", + "target": "css=.td-lg:nth-child(4)", + "targets": [ + ["css=.td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "EntityAttributes" + }, { + "id": "a0e16e8d-91c9-416c-b1c1-a2898bfbd185", + "comment": "", + "command": "click", + "target": "linkText=Add Filter", + "targets": [ + ["linkText=Add Filter", "linkText"], + ["css=.btn-success", "css:finder"], + ["xpath=//a[contains(@href, '/metadata/provider/ceb1cfdd-26c1-4134-baab-1438190ae9bd/filter/new')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "11fd3e95-ce05-4ad0-8238-c34b696003cd", + "comment": "", + "command": "click", + "target": "name=type", + "targets": [ + ["name=type", "name"], + ["css=.form-control", "css:finder"], + ["xpath=//select[@name='type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] + ], + "value": "" + }, { + "id": "0b68dd82-e9a5-447f-b062-9f7849529bcc", + "comment": "", + "command": "select", + "target": "name=type", + "targets": [], + "value": "label=NameIDFormat" + }, { + "id": "e85fde4c-cdbf-41c6-89e7-d4b281a16219", + "comment": "", + "command": "click", + "target": "css=option:nth-child(3)", + "targets": [ + ["css=option:nth-child(3)", "css:finder"], + ["xpath=//option[@value='NameIDFormat']", "xpath:attributes"], + ["xpath=//option[3]", "xpath:position"], + ["xpath=//option[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a058bf22-7d07-4850-8004-8a85a2016d25", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "8a94f318-76bb-49f1-90d5-b2dcbcb1ff80", + "comment": "", + "command": "click", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field40", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "9bd2419e-c4f5-4dd2-9fb8-278d70be987b", + "comment": "", + "command": "type", + "target": "id=/name", + "targets": [ + ["id=/name", "id"], + ["name=field40", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "Name ID Format Filter" + }, { + "id": "9b9d7604-7025-4ccb-bb95-862f57f696f1", + "comment": "", + "command": "click", + "target": "id=/nameIdFormatFilterTarget.valuedd", + "targets": [ + ["id=/nameIdFormatFilterTarget.valuedd", "id"], + ["css=#\\/nameIdFormatFilterTarget\\.valuedd", "css:finder"], + ["xpath=//button[@id='/nameIdFormatFilterTarget.valuedd']", "xpath:attributes"], + ["xpath=//fieldset/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9e84c57f-c33d-48f8-85ac-ed50751eb37b", + "comment": "", + "command": "click", + "target": "linkText=Regex", + "targets": [ + ["linkText=Regex", "linkText"], + ["css=.dropdown-item:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'Regex')]", "xpath:link"], + ["xpath=(//a[contains(@href, '#')])[2]", "xpath:href"], + ["xpath=//div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'Regex')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f3bc22e2-0e3a-4d58-b992-31d687148c57", + "comment": "", + "command": "sendKeys", + "target": "id=/nameIdFormatFilterTarget.target", + "targets": [], + "value": "/foo.*/" + }, { + "id": "343b40b9-87df-46ab-b3ef-285e4e5ed784", + "comment": "", + "command": "click", + "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], + ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6ce98c83-68b8-45c0-834e-cc40af11fc29", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a7aa04e7-b909-42cf-85ed-adbff0adefce", + "comment": "", + "command": "click", + "target": "css=.input-group-append > .btn", + "targets": [ + ["css=.input-group-append > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/formats/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8b7b79fd-2405-4ab6-8f91-4906f663cd1e", + "comment": "", + "command": "click", + "target": "id=/formats/0__option--1", + "targets": [ + ["id=/formats/0__option--1", "id"], + ["css=#\\/formats\\/0__option--1", "css:finder"], + ["xpath=//li[@id='/formats/0__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/formats/0__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "6d4c2c20-0855-4cdf-8e4d-dbbd6afb328b", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "455e24c1-5093-4da3-a62d-457bbf0cd5db", + "comment": "", + "command": "waitForElementVisible", + "target": "css=tr:nth-child(2) > .td-lg:nth-child(4)", + "targets": [], + "value": "10000" + }, { + "id": "9f7e95cf-4dd5-415f-8577-a6f1bc54a85d", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4a73b268-7d33-4e8c-8fa4-cb059be9768f", + "comment": "", + "command": "verifyText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'NameIDFormat')]", "xpath:innerText"] + ], + "value": "NameIDFormat" + }, { + "id": "63ac7307-0538-4c0d-8e98-2f05c767baaf", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .fa-arrow-circle-down", + "targets": [ + ["css=tr:nth-child(1) .fa-arrow-circle-down", "css:finder"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "ed8e07ff-0dce-47d6-8310-f1920bfe1367", + "comment": "", + "command": "verifyText", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", + "targets": [ + ["css=tr:nth-child(1) > .td-lg:nth-child(4)", "css:finder"], + ["xpath=//td[4]", "xpath:position"], + ["xpath=//td[contains(.,'EntityAttributes')]", "xpath:innerText"] + ], + "value": "EntityAttributes" + }] + }], + "suites": [{ + "id": "248ba015-77cd-430f-b973-d14fd4f39a27", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["d87336f9-5279-422f-bf4d-73403f34fc85"] + }], + "urls": ["http://localhost:10101/"], + "plugins": [] +} \ No newline at end of file From eac36c5f3b5eb96a633eada36624ab8fd9e15846 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Tue, 6 Aug 2019 14:38:12 -0700 Subject: [PATCH 4/6] SHIBUI-1335 Updates to Dynamic HTTP script. --- .../integration/resources/SHIBUI-1335-4.side | 641 +++++++++++------- 1 file changed, 383 insertions(+), 258 deletions(-) diff --git a/backend/src/integration/resources/SHIBUI-1335-4.side b/backend/src/integration/resources/SHIBUI-1335-4.side index c1f2d9405..0a0891cdf 100644 --- a/backend/src/integration/resources/SHIBUI-1335-4.side +++ b/backend/src/integration/resources/SHIBUI-1335-4.side @@ -93,7 +93,7 @@ ["xpath=//input[@id='/name']", "xpath:attributes"], ["xpath=//input", "xpath:position"] ], - "value": "Local Dynamic Metadata Provider" + "value": "Dynamic Http Metadata Provider" }, { "id": "aac150b1-6140-476b-8bdb-ebb83a14812d", "comment": "", @@ -106,7 +106,7 @@ ["xpath=//select[@id='/type']", "xpath:attributes"], ["xpath=//select", "xpath:position"] ], - "value": "label=LocalDynamicMetadataProvider" + "value": "label=DynamicHttpMetadataProvider" }, { "id": "7a60cb3c-ed3c-495c-8329-2fe52e72cceb", "comment": "", @@ -138,20 +138,77 @@ ], "value": "12345" }, { - "id": "e2e3a3e4-196c-483d-ac52-de4027636a05", + "id": "d8716eae-bb36-42ae-b505-2626c5a8c377", + "comment": "", + "command": "select", + "target": "id=/metadataRequestURLConstructionScheme/type", + "targets": [], + "value": "label=MetadataQueryProtocol" + }, { + "id": "326f3387-12c8-4294-843c-182fd8d06c46", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: MetadataQueryProtocol']", "xpath:attributes"], + ["xpath=//select[@id='/metadataRequestURLConstructionScheme/type']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'MetadataQueryProtocol')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "516d7e81-3672-4dd7-811b-70ee38c21e52", + "comment": "", + "command": "click", + "target": "id=/metadataRequestURLConstructionScheme/content", + "targets": [ + ["id=/metadataRequestURLConstructionScheme/content", "id"], + ["name=field10", "name"], + ["css=#\\/metadataRequestURLConstructionScheme\\/content", "css:finder"], + ["xpath=//input[@id='/metadataRequestURLConstructionScheme/content']", "xpath:attributes"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "7b60ce4c-a16c-4bc5-9d9c-999f9fc6b197", "comment": "", "command": "type", - "target": "id=/sourceDirectory", + "target": "id=/metadataRequestURLConstructionScheme/content", "targets": [ - ["id=/sourceDirectory", "id"], - ["name=field8", "name"], - ["css=#\\/sourceDirectory", "css:finder"], - ["xpath=//input[@id='/sourceDirectory']", "xpath:attributes"], + ["id=/metadataRequestURLConstructionScheme/content", "id"], + ["name=field10", "name"], + ["css=#\\/metadataRequestURLConstructionScheme\\/content", "css:finder"], + ["xpath=//input[@id='/metadataRequestURLConstructionScheme/content']", "xpath:attributes"], ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] ], - "value": "%{idp.home}/foo" + "value": "randomString" + }, { + "id": "cd0d4f15-2193-4814-8e72-f38d9d2221e2", + "comment": "", + "command": "click", + "target": "id=/requireValidMetadata.false", + "targets": [ + ["id=/requireValidMetadata.false", "id"], + ["css=#\\/requireValidMetadata\\.false", "css:finder"], + ["xpath=//input[@id='/requireValidMetadata.false']", "xpath:attributes"], + ["xpath=//div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "3b83fa2b-147f-4b7b-9b30-44c28b07576e", + "comment": "", + "command": "click", + "target": "id=/failFastInitialization.false", + "targets": [ + ["id=/failFastInitialization.false", "id"], + ["css=#\\/failFastInitialization\\.false", "css:finder"], + ["xpath=//input[@id='/failFastInitialization.false']", "xpath:attributes"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" }, { - "id": "5f32dd3f-a1d0-4ca3-9f2d-8a9cc6141004", + "id": "175324e0-025d-4674-a3ee-51307a215079", "comment": "", "command": "click", "target": "css=.next", @@ -161,20 +218,33 @@ ], "value": "" }, { - "id": "0586f02c-c210-4e44-9a86-3e914bc94f3b", + "id": "30565900-4c02-4cb0-9d5a-c980349307ea", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/refreshDelayFactor", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/refreshDelayFactor", "id"], + ["name=field15", "name"], + ["css=#\\/dynamicMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "5b6ea5bf-d5c1-4d5e-bc15-ffabf67f74ec", "comment": "", "command": "type", "target": "id=/dynamicMetadataResolverAttributes/refreshDelayFactor", "targets": [ ["id=/dynamicMetadataResolverAttributes/refreshDelayFactor", "id"], - ["name=field11", "name"], + ["name=field15", "name"], ["css=#\\/dynamicMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], ["xpath=//input[@id='/dynamicMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], ["xpath=//input", "xpath:position"] ], "value": "0.5" }, { - "id": "1a8a9dcf-9c6b-4802-8483-981d14131346", + "id": "a51172e3-792f-4881-8083-efcb34c63e56", "comment": "", "command": "click", "target": "css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration-container .btn", @@ -187,21 +257,28 @@ ], "value": "" }, { - "id": "443a9cfc-17c8-49da-9d87-bfabda8fd0b6", + "id": "b1ec3405-0d75-45d6-8986-51c2f09c4dc4", "comment": "", "command": "click", - "target": "id=/dynamicMetadataResolverAttributes/minCacheDuration__option--0", + "target": "id=/dynamicMetadataResolverAttributes/minCacheDuration__option--1", "targets": [ - ["id=/dynamicMetadataResolverAttributes/minCacheDuration__option--0", "id"], - ["css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration__option--0", "css:finder"], - ["xpath=//li[@id='/dynamicMetadataResolverAttributes/minCacheDuration__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/minCacheDuration__listbox']/li", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li", "xpath:position"], - ["xpath=//li[contains(.,'PT0S')]", "xpath:innerText"] + ["id=/dynamicMetadataResolverAttributes/minCacheDuration__option--1", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/minCacheDuration__option--1", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/minCacheDuration__option--1']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/minCacheDuration__listbox']/li[2]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] ], "value": "" }, { - "id": "84f35d35-ea9c-4a06-aaec-bee1c1922aec", + "id": "203f95b2-a2f8-4d7c-88a9-7934a9ce8c23", + "comment": "", + "command": "waitForElementVisible", + "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", + "targets": [], + "value": "10000" + }, { + "id": "2793bf1b-177b-461f-b06c-0a584ab6eaf0", "comment": "", "command": "click", "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration-container .btn", @@ -213,27 +290,20 @@ ], "value": "" }, { - "id": "c03be15d-ee34-4cd1-bac9-c52e3baa70a3", + "id": "87084a6a-8e89-4c00-a3d9-c104107a3ba2", "comment": "", "command": "click", - "target": "id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--2", + "target": "id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--3", "targets": [ - ["id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--2", "id"], - ["css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration__option--2", "css:finder"], - ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__option--2']", "xpath:attributes"], - ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__listbox']/li[3]", "xpath:idRelative"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] + ["id=/dynamicMetadataResolverAttributes/maxCacheDuration__option--3", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/maxCacheDuration__option--3", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxCacheDuration__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] ], "value": "" }, { - "id": "c66f68b6-324d-4b74-bccf-5c032729c802", - "comment": "", - "command": "waitForElementVisible", - "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", - "targets": [], - "value": "10000" - }, { - "id": "f0cdfbcf-46e2-4013-b085-0730b0127842", + "id": "4c017bde-e242-4d2f-838e-a2a026e4292b", "comment": "", "command": "click", "target": "css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData-container .btn", @@ -245,39 +315,20 @@ ], "value": "" }, { - "id": "56f964c0-7940-4cad-8314-193fe1ef0c1c", - "comment": "", - "command": "waitForElementVisible", - "target": "id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1", - "targets": [], - "value": "10000" - }, { - "id": "dd663319-7eef-4301-a0d4-24d9583eab7f", - "comment": "", - "command": "click", - "target": "id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1", - "targets": [ - ["id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1", "id"], - ["css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData__option--1", "css:finder"], - ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "25ed1d75-be93-4e20-88ba-57d8ae7bf053", + "id": "d477fd6a-2c15-4fb6-a199-d49aa495ef94", "comment": "", "command": "click", - "target": "id=/dynamicMetadataResolverAttributes/removeIdleEntityData.false", + "target": "id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--2", "targets": [ - ["id=/dynamicMetadataResolverAttributes/removeIdleEntityData.false", "id"], - ["css=#\\/dynamicMetadataResolverAttributes\\/removeIdleEntityData\\.false", "css:finder"], - ["xpath=//input[@id='/dynamicMetadataResolverAttributes/removeIdleEntityData.false']", "xpath:attributes"], - ["xpath=//div[2]/label/input", "xpath:position"] + ["id=/dynamicMetadataResolverAttributes/maxIdleEntityData__option--2", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/maxIdleEntityData__option--2", "css:finder"], + ["xpath=//li[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/dynamicMetadataResolverAttributes/maxIdleEntityData__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[3]", "xpath:position"] ], "value": "" }, { - "id": "54df6d88-1a85-407f-935a-a016f5952a93", + "id": "62f7ce3c-5cff-43c6-8ce6-a0e6bf2b2257", "comment": "", "command": "click", "target": "css=#\\/dynamicMetadataResolverAttributes\\/cleanupTaskInterval-container .btn", @@ -289,7 +340,7 @@ ], "value": "" }, { - "id": "e7f2439a-e9a1-4b23-b0b9-d992f5b477d4", + "id": "bf855df4-326e-484e-9022-d2c84e09e6f3", "comment": "", "command": "click", "target": "id=/dynamicMetadataResolverAttributes/cleanupTaskInterval__option--3", @@ -302,7 +353,163 @@ ], "value": "" }, { - "id": "64af203b-565c-4e35-b7da-4646423a3279", + "id": "df2a3e70-d7d3-487b-a205-218e9987b060", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory", "id"], + ["name=field21", "name"], + ["css=#\\/dynamicMetadataResolverAttributes\\/persistentCacheManagerDirectory", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b25d9d91-b8f2-46ad-ac79-cbac34fa3f91", + "comment": "", + "command": "type", + "target": "id=/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory", "id"], + ["name=field21", "name"], + ["css=#\\/dynamicMetadataResolverAttributes\\/persistentCacheManagerDirectory", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/persistentCacheManagerDirectory']", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/cache" + }, { + "id": "5b546b6b-ee98-4852-8ffd-b95f7e68d954", + "comment": "", + "command": "click", + "target": "id=/dynamicMetadataResolverAttributes/initializeFromPersistentCacheInBackground.false", + "targets": [ + ["id=/dynamicMetadataResolverAttributes/initializeFromPersistentCacheInBackground.false", "id"], + ["css=#\\/dynamicMetadataResolverAttributes\\/initializeFromPersistentCacheInBackground\\.false", "css:finder"], + ["xpath=//input[@id='/dynamicMetadataResolverAttributes/initializeFromPersistentCacheInBackground.false']", "xpath:attributes"], + ["xpath=//div[8]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] + ], + "value": "" + }, { + "id": "5743cab2-018a-4706-b052-0d26c8e1e963", + "comment": "", + "command": "click", + "target": "css=.label:nth-child(1)", + "targets": [ + ["css=.label:nth-child(1)", "css:finder"], + ["xpath=//li[3]/button/span", "xpath:position"] + ], + "value": "" + }, { + "id": "b777b343-71a0-4056-a85e-d8d548b993b2", + "comment": "", + "command": "click", + "target": "css=.btn-outline-secondary", + "targets": [ + ["css=.btn-outline-secondary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval-container']/div/div/button", "xpath:idRelative"], + ["xpath=//div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "22f7bf37-718c-4126-867b-67a383eefff5", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--2", + "targets": [ + ["id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--2", "id"], + ["css=#\\/metadataFilters\\/RequiredValidUntil\\/maxValidityInterval__option--2", "css:finder"], + ["xpath=//li[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/metadataFilters/RequiredValidUntil/maxValidityInterval__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[3]", "xpath:position"], + ["xpath=//li[contains(.,'PT1M')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5320f384-0881-4e7a-b89f-33a57efb22ba", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/metadataFilters\\/SignatureValidation\\/requireSignedRoot\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/SignatureValidation/requireSignedRoot.parent']/label", "xpath:idRelative"], + ["xpath=//div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Require Signed Root')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f60a2a6e-2739-4da6-8e94-a5f0e7cf70de", + "comment": "", + "command": "click", + "target": "id=/metadataFilters/SignatureValidation/certificateFile", + "targets": [ + ["id=/metadataFilters/SignatureValidation/certificateFile", "id"], + ["name=field30", "name"], + ["css=#\\/metadataFilters\\/SignatureValidation\\/certificateFile", "css:finder"], + ["xpath=//input[@id='/metadataFilters/SignatureValidation/certificateFile']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "d1402eee-5e5c-4634-ac31-6843ed775bb8", + "comment": "", + "command": "type", + "target": "id=/metadataFilters/SignatureValidation/certificateFile", + "targets": [ + ["id=/metadataFilters/SignatureValidation/certificateFile", "id"], + ["name=field30", "name"], + ["css=#\\/metadataFilters\\/SignatureValidation\\/certificateFile", "css:finder"], + ["xpath=//input[@id='/metadataFilters/SignatureValidation/certificateFile']", "xpath:attributes"], + ["xpath=//custom-string/div/input", "xpath:position"] + ], + "value": "%{idp.home}/cert.key" + }, { + "id": "581415bb-bd83-4bc8-9417-da0a9781c7bd", + "comment": "", + "command": "click", + "target": "css=.btn-success", + "targets": [ + ["css=.btn-success", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6e976ed9-98a5-4e5d-8151-13a6c8498155", + "comment": "", + "command": "select", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/0", + "targets": [], + "value": "label=SPSSODescriptor" + }, { + "id": "4c21b4c9-6f8e-4520-b55c-9b945b97de01", + "comment": "", + "command": "click", + "target": "css=option:nth-child(2)", + "targets": [ + ["css=option:nth-child(2)", "css:finder"], + ["xpath=//option[@value='1: SPSSODescriptor']", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/0']/option[2]", "xpath:idRelative"], + ["xpath=//option[2]", "xpath:position"], + ["xpath=//option[contains(.,'SPSSODescriptor')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b027e53b-bdf7-40e5-a296-6f25eae50732", + "comment": "", + "command": "click", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeRolelessEntityDescriptors\\.parent > .custom-control-label", + "targets": [ + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/removeRolelessEntityDescriptors\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/metadataFilters/EntityRoleWhiteList/removeRolelessEntityDescriptors.parent']/label", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Roleless Entity Descriptors?')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "939aa904-89cf-4063-9b95-15eeb6f2d43c", "comment": "", "command": "click", "target": "css=.next", @@ -312,7 +519,7 @@ ], "value": "" }, { - "id": "d02ae356-8086-4794-97ba-980fc75cca79", + "id": "c4d98111-537a-45a1-9bfd-e8d780a0c0b3", "comment": "", "command": "click", "target": "css=.custom-control-label", @@ -324,7 +531,7 @@ ], "value": "" }, { - "id": "dc60328b-d6e0-4f62-96c5-012f0fb5edc4", + "id": "a57a12dd-b641-46eb-afce-4c7be5a8f180", "comment": "", "command": "click", "target": "css=.save", @@ -334,42 +541,35 @@ ], "value": "" }, { - "id": "02e53e75-003b-42ce-8522-817d52ad16a3", - "comment": "", - "command": "waitForElementVisible", - "target": "css=td:nth-child(3)", - "targets": [], - "value": "10000" - }, { - "id": "7d059a57-60f7-4729-95af-b36619b98694", + "id": "8c52471a-70f5-43aa-b670-6f8d22e18668", "comment": "", "command": "verifyText", "target": "css=td:nth-child(3)", "targets": [ ["css=td:nth-child(3)", "css:finder"], ["xpath=//td[3]", "xpath:position"], - ["xpath=//td[contains(.,'LocalDynamicMetadataResolver')]", "xpath:innerText"] + ["xpath=//td[contains(.,'DynamicHttpMetadataResolver')]", "xpath:innerText"] ], - "value": "LocalDynamicMetadataResolver" + "value": "DynamicHttpMetadataResolver" }, { - "id": "15912a4b-c036-4886-9577-312bf6816943", + "id": "76629f3d-b0a3-40ac-b848-da22b0933c31", "comment": "", "command": "click", - "target": "linkText=Local Dynamic Metadata Provider", + "target": "linkText=Dynamic Http Metadata Provider", "targets": [ - ["linkText=Local Dynamic Metadata Provider", "linkText"], + ["linkText=Dynamic Http Metadata Provider", "linkText"], ["css=td > a", "css:finder"], - ["xpath=//a[contains(text(),'Local Dynamic Metadata Provider')]", "xpath:link"], - ["xpath=//a[contains(@href, '/metadata/provider/dff5232d-66fb-4623-b25e-85c24df5ede4/configuration/options')]", "xpath:href"], + ["xpath=//a[contains(text(),'Dynamic Http Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/f5bb61ac-54fe-427e-8b6b-2fcdd66ba175/configuration/options')]", "xpath:href"], ["xpath=//td[2]/a", "xpath:position"], - ["xpath=//a[contains(.,'Local Dynamic Metadata Provider')]", "xpath:innerText"] + ["xpath=//a[contains(.,'Dynamic Http Metadata Provider')]", "xpath:innerText"] ], "value": "" }, { - "id": "feb08e76-e553-4505-bffe-07f3e77206d0", + "id": "31a8587f-8ac0-4512-98ec-6cd230dfb0b6", "comment": "", "command": "click", - "target": "css=.btn:nth-child(2)", + "target": "css=.btn:nth-child(2) > translate-i18n", "targets": [ ["css=.btn:nth-child(2) > translate-i18n", "css:finder"], ["xpath=//div[@id='navigation']/div/button/translate-i18n", "xpath:idRelative"], @@ -378,7 +578,7 @@ ], "value": "" }, { - "id": "2afa209b-d09b-468e-8cc3-d549abb3be4a", + "id": "fb7aea4e-7991-482c-b673-de998c20129c", "comment": "", "command": "click", "target": "css=#filters .actions span", @@ -390,14 +590,14 @@ ], "value": "" }, { - "id": "c4e0394c-ba68-4e75-8d20-174a91fad2f5", + "id": "990cf83b-5650-4b03-8b41-bdb5560a60fa", "comment": "", "command": "select", "target": "name=type", "targets": [], "value": "label=EntityAttributes" }, { - "id": "5f1229fb-9185-40cf-bd65-76435d93d7df", + "id": "5d3daf7a-a4e0-4767-a1ef-2416270bfae4", "comment": "", "command": "click", "target": "css=option:nth-child(2)", @@ -409,33 +609,40 @@ ], "value": "" }, { - "id": "03f838cb-2aea-40fa-b549-8263aa2046cf", + "id": "f013d7b6-96c3-4155-ac1e-cff223e5e547", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" + }, { + "id": "a58e088d-329b-4cfb-949b-eea9fdbdad37", "comment": "", "command": "click", "target": "id=/name", "targets": [ ["id=/name", "id"], - ["name=field20", "name"], + ["name=field39", "name"], ["css=#\\/name", "css:finder"], ["xpath=//input[@id='/name']", "xpath:attributes"], ["xpath=//input", "xpath:position"] ], "value": "" }, { - "id": "ad127dfe-2cae-4693-b65f-e35c0655e9eb", + "id": "60177908-3143-407a-8bdf-a045463d5490", "comment": "", "command": "type", "target": "id=/name", "targets": [ ["id=/name", "id"], - ["name=field20", "name"], + ["name=field39", "name"], ["css=#\\/name", "css:finder"], ["xpath=//input[@id='/name']", "xpath:attributes"], ["xpath=//input", "xpath:position"] ], "value": "Entity Attributes Filter" }, { - "id": "0065c161-84c6-4cd0-8b69-b257ec572915", + "id": "67d52837-5e50-487c-a744-9ee0ea39f5b7", "comment": "", "command": "click", "target": "id=/entityAttributesFilterTarget.target", @@ -448,7 +655,7 @@ ], "value": "" }, { - "id": "15d90ee0-b1cc-4fae-abec-ae80d93db1c1", + "id": "3512eb60-34d4-455b-8a2c-e6c98d382cac", "comment": "", "command": "type", "target": "id=/entityAttributesFilterTarget.target", @@ -461,7 +668,7 @@ ], "value": "unicon" }, { - "id": "1d754809-177b-47f9-98e6-5e757713d834", + "id": "a9d49b1c-c794-4c54-83ea-c61bd3011dba", "comment": "", "command": "click", "target": "css=.btn-success:nth-child(1)", @@ -472,7 +679,7 @@ ], "value": "" }, { - "id": "72c2bc1d-f96f-497b-bbd8-b2e254fae6b6", + "id": "dff6b5d5-02ae-41a1-bae4-6ce39aeca199", "comment": "", "command": "click", "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", @@ -484,104 +691,101 @@ ], "value": "" }, { - "id": "1e74f318-f78c-4e64-8ac7-fc999df0dd19", + "id": "356339ea-0caf-406a-a2d6-b3eb991b7af6", "comment": "", "command": "click", - "target": "css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", + "target": "css=#\\/relyingPartyOverrides\\/omitNotBefore\\.parent > .custom-control-label", "targets": [ - ["css=#\\/relyingPartyOverrides\\/turnOffEncryption\\.parent > .custom-control-label", "css:finder"], - ["xpath=//div[@id='/relyingPartyOverrides/turnOffEncryption.parent']/label", "xpath:idRelative"], - ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Turn off Encryption of Response?')]", "xpath:innerText"] + ["css=#\\/relyingPartyOverrides\\/omitNotBefore\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/omitNotBefore.parent']/label", "xpath:idRelative"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Omit Not Before Condition?')]", "xpath:innerText"] ], "value": "" }, { - "id": "d05f7295-35b2-42ba-98d0-1c9673846190", + "id": "fdb64234-9424-4e0d-8be0-dd7c43859de3", "comment": "", "command": "click", - "target": "css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", + "target": "css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", "targets": [ - ["css=#\\/relyingPartyOverrides\\/useSha\\.parent > .custom-control-label", "css:finder"], - ["xpath=//div[@id='/relyingPartyOverrides/useSha.parent']/label", "xpath:idRelative"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Use SHA1 Signing Algorithm?')]", "xpath:innerText"] + ["css=#\\/relyingPartyOverrides\\/forceAuthn\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/relyingPartyOverrides/forceAuthn.parent']/label", "xpath:idRelative"], + ["xpath=//div[10]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Force AuthN')]", "xpath:innerText"] ], "value": "" }, { - "id": "82bbe8c4-e66c-470d-bdf6-9cd3337b4a3e", + "id": "c722da17-b739-4fa6-b731-8b347e3c96e3", "comment": "", "command": "click", - "target": "id=/relyingPartyOverrides/responderId", + "target": "css=div:nth-child(8) .d-flex > .btn", "targets": [ - ["id=/relyingPartyOverrides/responderId", "id"], - ["name=field33", "name"], - ["css=#\\/relyingPartyOverrides\\/responderId", "css:finder"], - ["xpath=//input[@id='/relyingPartyOverrides/responderId']", "xpath:attributes"], - ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ["css=div:nth-child(8) .d-flex > .btn", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" }, { - "id": "2e4c1077-cd2f-4298-969f-e945e2d68636", + "id": "93505bd6-8a5e-4ef0-8f50-d2dc9bce71d6", "comment": "", - "command": "type", - "target": "id=/relyingPartyOverrides/responderId", + "command": "click", + "target": "css=.input-group-append > .btn", "targets": [ - ["id=/relyingPartyOverrides/responderId", "id"], - ["name=field33", "name"], - ["css=#\\/relyingPartyOverrides\\/responderId", "css:finder"], - ["xpath=//input[@id='/relyingPartyOverrides/responderId']", "xpath:attributes"], - ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] + ["css=.input-group-append > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='/relyingPartyOverrides/nameIdFormats/0-container']/div/div/button", "xpath:idRelative"], + ["xpath=//auto-complete/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] ], - "value": "responder" + "value": "" }, { - "id": "14785e6f-8ab8-47e0-b16e-8e736638d8c8", + "id": "b269b8f4-8191-47c1-a84a-5b64df6aadcb", "comment": "", "command": "click", - "target": "css=div:nth-child(9) .d-flex > .btn", + "target": "id=/relyingPartyOverrides/nameIdFormats/0__option--2", "targets": [ - ["css=div:nth-child(9) .d-flex > .btn", "css:finder"], - ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"] + ["id=/relyingPartyOverrides/nameIdFormats/0__option--2", "id"], + ["css=#\\/relyingPartyOverrides\\/nameIdFormats\\/0__option--2", "css:finder"], + ["xpath=//li[@id='/relyingPartyOverrides/nameIdFormats/0__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/relyingPartyOverrides/nameIdFormats/0__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[3]", "xpath:position"] ], "value": "" }, { - "id": "3e162911-9775-4d01-8802-63f5638c7cba", + "id": "c4431fc6-cbd3-4b7b-b1fd-b30141aa2af8", "comment": "", "command": "click", - "target": "css=.input-group-append > .btn", + "target": "css=tr:nth-child(6) .custom-control-label", "targets": [ - ["css=.input-group-append > .btn", "css:finder"], - ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], - ["xpath=//div[@id='/relyingPartyOverrides/authenticationMethods/0-container']/div/div/button", "xpath:idRelative"], - ["xpath=//auto-complete/div/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ["css=tr:nth-child(6) .custom-control-label", "css:finder"], + ["xpath=//tr[6]/td[2]/fieldset/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Toggle eduPersonAffiliation')]", "xpath:innerText"] ], "value": "" }, { - "id": "ab2594b3-45a8-43f7-885b-270239a46628", + "id": "7b22d9b0-81f4-47c6-91f1-713c89cf9dd1", "comment": "", "command": "click", - "target": "id=/relyingPartyOverrides/authenticationMethods/0__option--0", + "target": "css=tr:nth-child(7) .custom-control-label", "targets": [ - ["id=/relyingPartyOverrides/authenticationMethods/0__option--0", "id"], - ["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/0__option--0", "css:finder"], - ["xpath=//li[@id='/relyingPartyOverrides/authenticationMethods/0__option--0']", "xpath:attributes"], - ["xpath=//ul[@id='/relyingPartyOverrides/authenticationMethods/0__listbox']/li", "xpath:idRelative"], - ["xpath=//datalist-component/div/auto-complete/div/ul/li", "xpath:position"] + ["css=tr:nth-child(7) .custom-control-label", "css:finder"], + ["xpath=//tr[7]/td[2]/fieldset/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Toggle eduPersonScopedAffiliation')]", "xpath:innerText"] ], "value": "" }, { - "id": "dd4e22ff-aa54-40c0-b5c2-6a5b79845062", + "id": "ad3ec36d-6e6a-4650-b7a1-0c8efaaeabe3", "comment": "", "command": "click", - "target": "css=.fa-check", + "target": "css=tr:nth-child(8) .custom-control-label", "targets": [ - ["css=.fa-check", "css:finder"], - ["xpath=//button[@id='/attributeRelease.checkall']/i", "xpath:idRelative"], - ["xpath=//td[2]/button/i", "xpath:position"] + ["css=tr:nth-child(8) .custom-control-label", "css:finder"], + ["xpath=//tr[8]/td[2]/fieldset/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Toggle eduPersonPrimaryAffiliation')]", "xpath:innerText"] ], "value": "" }, { - "id": "1c4c90ac-b644-4033-8ebc-07a8cd1bdbdd", + "id": "25090cbb-9e11-4938-b44e-70326857422d", "comment": "", "command": "click", "target": "css=.btn-primary", @@ -593,14 +797,7 @@ ], "value": "" }, { - "id": "af17a3a7-f292-4c22-8f2f-3d3bf1938fc1", - "comment": "", - "command": "waitForElementVisible", - "target": "css=.td-lg:nth-child(4)", - "targets": [], - "value": "10000" - }, { - "id": "2b9c0a43-fd7a-4ffa-bfef-a7fc41746e16", + "id": "e9f4ddf4-db8a-4bda-88cc-66173717986c", "comment": "", "command": "verifyText", "target": "css=.td-lg:nth-child(4)", @@ -611,39 +808,25 @@ ], "value": "EntityAttributes" }, { - "id": "a0e16e8d-91c9-416c-b1c1-a2898bfbd185", + "id": "9a99cc7c-55e1-4f62-bf18-e5936e8a98a7", "comment": "", "command": "click", - "target": "linkText=Add Filter", - "targets": [ - ["linkText=Add Filter", "linkText"], - ["css=.btn-success", "css:finder"], - ["xpath=//a[contains(@href, '/metadata/provider/ceb1cfdd-26c1-4134-baab-1438190ae9bd/filter/new')]", "xpath:href"], - ["xpath=//div[2]/a", "xpath:position"], - ["xpath=//a[contains(.,'Add Filter')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "11fd3e95-ce05-4ad0-8238-c34b696003cd", - "comment": "", - "command": "click", - "target": "name=type", + "target": "css=.btn-success", "targets": [ - ["name=type", "name"], - ["css=.form-control", "css:finder"], - ["xpath=//select[@name='type']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] + ["css=.btn-success > translate-i18n", "css:finder"], + ["xpath=//div[2]/a/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Add Filter')]", "xpath:innerText"] ], "value": "" }, { - "id": "0b68dd82-e9a5-447f-b062-9f7849529bcc", + "id": "30bd8306-1aa2-4151-9076-68ce955052c3", "comment": "", "command": "select", "target": "name=type", "targets": [], "value": "label=NameIDFormat" }, { - "id": "e85fde4c-cdbf-41c6-89e7-d4b281a16219", + "id": "a0388dc6-4668-48bb-ab21-2ecaaade5ff0", "comment": "", "command": "click", "target": "css=option:nth-child(3)", @@ -655,40 +838,20 @@ ], "value": "" }, { - "id": "a058bf22-7d07-4850-8004-8a85a2016d25", - "comment": "", - "command": "waitForElementVisible", - "target": "id=/name", - "targets": [], - "value": "10000" - }, { - "id": "8a94f318-76bb-49f1-90d5-b2dcbcb1ff80", - "comment": "", - "command": "click", - "target": "id=/name", - "targets": [ - ["id=/name", "id"], - ["name=field40", "name"], - ["css=#\\/name", "css:finder"], - ["xpath=//input[@id='/name']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" - }, { - "id": "9bd2419e-c4f5-4dd2-9fb8-278d70be987b", + "id": "be76769e-6422-4b1f-a2e4-00a32d394057", "comment": "", "command": "type", "target": "id=/name", "targets": [ ["id=/name", "id"], - ["name=field40", "name"], + ["name=field59", "name"], ["css=#\\/name", "css:finder"], ["xpath=//input[@id='/name']", "xpath:attributes"], ["xpath=//input", "xpath:position"] ], "value": "Name ID Format Filter" }, { - "id": "9b9d7604-7025-4ccb-bb95-862f57f696f1", + "id": "81373637-8e36-4736-9b2a-7b8d477dc2c1", "comment": "", "command": "click", "target": "id=/nameIdFormatFilterTarget.valuedd", @@ -701,7 +864,7 @@ ], "value": "" }, { - "id": "9e84c57f-c33d-48f8-85ac-ed50751eb37b", + "id": "f562c710-39fc-490d-80c9-d3525722397c", "comment": "", "command": "click", "target": "linkText=Regex", @@ -715,82 +878,44 @@ ], "value": "" }, { - "id": "f3bc22e2-0e3a-4d58-b992-31d687148c57", + "id": "c5dc3e04-eb5a-4885-92ed-3425da3026e6", "comment": "", "command": "sendKeys", "target": "id=/nameIdFormatFilterTarget.target", "targets": [], "value": "/foo.*/" }, { - "id": "343b40b9-87df-46ab-b3ef-285e4e5ed784", + "id": "d2cbc813-89e5-4801-a9fe-5e0e775a419f", "comment": "", "command": "click", - "target": "css=#\\/filterEnabled\\.parent > .custom-control-label", + "target": "css=#\\/removeExistingFormats\\.parent > .custom-control-label", "targets": [ - ["css=#\\/filterEnabled\\.parent > .custom-control-label", "css:finder"], - ["xpath=//div[@id='/filterEnabled.parent']/label", "xpath:idRelative"], - ["xpath=//checkbox-component/div/div/div/label", "xpath:position"], - ["xpath=//label[contains(.,'Enable Filter?')]", "xpath:innerText"] + ["css=#\\/removeExistingFormats\\.parent > .custom-control-label", "css:finder"], + ["xpath=//div[@id='/removeExistingFormats.parent']/label", "xpath:idRelative"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Existing Formats?')]", "xpath:innerText"] ], "value": "" }, { - "id": "6ce98c83-68b8-45c0-834e-cc40af11fc29", + "id": "77dfeb05-38e3-4ef8-9566-06e7597d464c", "comment": "", "command": "click", - "target": "css=.btn-success", + "target": "css=.btn-primary > translate-i18n", "targets": [ - ["css=.btn-success", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "a7aa04e7-b909-42cf-85ed-adbff0adefce", - "comment": "", - "command": "click", - "target": "css=.input-group-append > .btn", - "targets": [ - ["css=.input-group-append > .btn", "css:finder"], - ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], - ["xpath=//div[@id='/formats/0-container']/div/div/button", "xpath:idRelative"], - ["xpath=//auto-complete/div/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "8b7b79fd-2405-4ab6-8f91-4906f663cd1e", - "comment": "", - "command": "click", - "target": "id=/formats/0__option--1", - "targets": [ - ["id=/formats/0__option--1", "id"], - ["css=#\\/formats\\/0__option--1", "css:finder"], - ["xpath=//li[@id='/formats/0__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='/formats/0__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "6d4c2c20-0855-4cdf-8e4d-dbbd6afb328b", - "comment": "", - "command": "click", - "target": "css=.btn-primary", - "targets": [ - ["css=.btn-primary", "css:finder"], - ["xpath=//button[@type='submit']", "xpath:attributes"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] + ["css=.btn-primary > translate-i18n", "css:finder"], + ["xpath=//div/button/translate-i18n", "xpath:position"], + ["xpath=//translate-i18n[contains(.,'Save')]", "xpath:innerText"] ], "value": "" }, { - "id": "455e24c1-5093-4da3-a62d-457bbf0cd5db", + "id": "f79371b5-0081-45a0-bfb3-c403db903043", "comment": "", "command": "waitForElementVisible", - "target": "css=tr:nth-child(2) > .td-lg:nth-child(4)", + "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", "targets": [], "value": "10000" }, { - "id": "9f7e95cf-4dd5-415f-8577-a6f1bc54a85d", + "id": "a8ed628c-53f7-4551-9ce8-fef976cc96ce", "comment": "", "command": "click", "target": "css=tr:nth-child(1) .fa-arrow-circle-down", @@ -800,7 +925,7 @@ ], "value": "" }, { - "id": "4a73b268-7d33-4e8c-8fa4-cb059be9768f", + "id": "be805934-2692-4a1c-a28f-afb3cc4eb5f4", "comment": "", "command": "verifyText", "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", @@ -811,7 +936,7 @@ ], "value": "NameIDFormat" }, { - "id": "63ac7307-0538-4c0d-8e98-2f05c767baaf", + "id": "039aff93-c0de-40fb-a1c9-e22ffbf7e1da", "comment": "", "command": "click", "target": "css=tr:nth-child(1) .fa-arrow-circle-down", @@ -821,7 +946,7 @@ ], "value": "" }, { - "id": "ed8e07ff-0dce-47d6-8310-f1920bfe1367", + "id": "8f2da627-e8ad-473a-a71a-bec5dd1f0999", "comment": "", "command": "verifyText", "target": "css=tr:nth-child(1) > .td-lg:nth-child(4)", From 0b7fc6538c308c944a00f5ea5050a2b016eb26ba Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Tue, 6 Aug 2019 15:08:21 -0700 Subject: [PATCH 5/6] SHIBUI-1335 Updates for /@type -> /type. Also fixed a couple waits. --- .../shibboleth/admin/ui/SeleniumSIDETest.groovy | 4 ++-- backend/src/integration/resources/SHIBUI-1311.side | 4 ++-- .../src/integration/resources/SHIBUI-1334-2.side | 2 +- .../src/integration/resources/SHIBUI-1335-4.side | 14 ++++++++++++++ .../src/integration/resources/SHIBUI-1352-1.side | 2 +- .../src/integration/resources/SHIBUI-1352-2.side | 2 +- 6 files changed, 21 insertions(+), 7 deletions(-) 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 7679e111a..b96f4c476 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 @@ -116,8 +116,8 @@ class SeleniumSIDETest extends Specification { 'SHIBUI-1334: Verify metadata provider versioning' | '/SHIBUI-1334-2.side' 'SHIBUI-1335: Verify File Backed HTTP Metadata Provider Filters' | '/SHIBUI-1335-1.side' 'SHIBUI-1335: Verify Filesystem Metadata Provider Filters' | '/SHIBUI-1335-2.side' - 'SHIBUI-1335: Local Dynamic Metadata Provider Filters' | '/SHIBUI-1335-3.side' - 'SHIBUI-1335: Dynamic HTTP Metadata Provider Filters' | '/SHIBUI-1335-4.side' + 'SHIBUI-1335: Verify Local Dynamic Metadata Provider Filters' | '/SHIBUI-1335-3.side' + 'SHIBUI-1335: Verify Dynamic HTTP Metadata Provider Filters' | '/SHIBUI-1335-4.side' } } diff --git a/backend/src/integration/resources/SHIBUI-1311.side b/backend/src/integration/resources/SHIBUI-1311.side index 8a43dea42..117135710 100644 --- a/backend/src/integration/resources/SHIBUI-1311.side +++ b/backend/src/integration/resources/SHIBUI-1311.side @@ -103,7 +103,7 @@ "id": "add874d5-e3b2-4412-8039-2b9d2619ed19", "comment": "", "command": "select", - "target": "id=/@type", + "target": "id=/type", "targets": [ ["css=select-component > .widget", "css:finder"], ["xpath=//select-component/div", "xpath:position"] @@ -603,7 +603,7 @@ "id": "90dffd02-8971-4bf5-bc57-33194fdb27a2", "comment": "", "command": "select", - "target": "id=/@type", + "target": "id=/type", "targets": [ ["id=/@type", "id"], ["name=field38", "name"], diff --git a/backend/src/integration/resources/SHIBUI-1334-2.side b/backend/src/integration/resources/SHIBUI-1334-2.side index 7f5d7550a..db9a5f632 100644 --- a/backend/src/integration/resources/SHIBUI-1334-2.side +++ b/backend/src/integration/resources/SHIBUI-1334-2.side @@ -103,7 +103,7 @@ "id": "add874d5-e3b2-4412-8039-2b9d2619ed19", "comment": "", "command": "select", - "target": "id=/@type", + "target": "id=/type", "targets": [ ["css=select-component > .widget", "css:finder"], ["xpath=//select-component/div", "xpath:position"] diff --git a/backend/src/integration/resources/SHIBUI-1335-4.side b/backend/src/integration/resources/SHIBUI-1335-4.side index 0a0891cdf..8ffe35e98 100644 --- a/backend/src/integration/resources/SHIBUI-1335-4.side +++ b/backend/src/integration/resources/SHIBUI-1335-4.side @@ -540,6 +540,13 @@ ["xpath=//li[3]/button", "xpath:position"] ], "value": "" + }, { + "id": "ae27b108-a2f4-4d4b-b375-b582ccc0ef56", + "comment": "", + "command": "waitForElementVisible", + "target": "css=td:nth-child(3)", + "targets": [], + "value": "10000" }, { "id": "8c52471a-70f5-43aa-b670-6f8d22e18668", "comment": "", @@ -796,6 +803,13 @@ ["xpath=//button[contains(.,'Save')]", "xpath:innerText"] ], "value": "" + }, { + "id": "772bafa8-7089-4895-a66b-0d3c333c7245", + "comment": "", + "command": "waitForElementVisible", + "target": "css=.td-lg:nth-child(4)", + "targets": [], + "value": "10000" }, { "id": "e9f4ddf4-db8a-4bda-88cc-66173717986c", "comment": "", diff --git a/backend/src/integration/resources/SHIBUI-1352-1.side b/backend/src/integration/resources/SHIBUI-1352-1.side index 653013789..d5a659fa7 100644 --- a/backend/src/integration/resources/SHIBUI-1352-1.side +++ b/backend/src/integration/resources/SHIBUI-1352-1.side @@ -104,7 +104,7 @@ "id": "fd4257d7-488a-4eed-8d72-7f39034a1c72", "comment": "", "command": "select", - "target": "id=/@type", + "target": "id=/type", "targets": [ ["id=/@type", "id"], ["name=field2", "name"], diff --git a/backend/src/integration/resources/SHIBUI-1352-2.side b/backend/src/integration/resources/SHIBUI-1352-2.side index f36910028..56acfae26 100644 --- a/backend/src/integration/resources/SHIBUI-1352-2.side +++ b/backend/src/integration/resources/SHIBUI-1352-2.side @@ -104,7 +104,7 @@ "id": "9621e646-308a-4eda-9244-036e8997467a", "comment": "", "command": "select", - "target": "id=/@type", + "target": "id=/type", "targets": [ ["id=/@type", "id"], ["name=field2", "name"], From 7ffbf02ae3d7ba9f926b9699a107b227c77c64a0 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Thu, 8 Aug 2019 09:27:25 -0700 Subject: [PATCH 6/6] SHIBUI-1335 Added 4 waits to try and help the scripts to stop failing prematurely. --- .../integration/resources/SHIBUI-1311.side | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/backend/src/integration/resources/SHIBUI-1311.side b/backend/src/integration/resources/SHIBUI-1311.side index 117135710..748be7cd3 100644 --- a/backend/src/integration/resources/SHIBUI-1311.side +++ b/backend/src/integration/resources/SHIBUI-1311.side @@ -73,6 +73,13 @@ ["xpath=//a[2]", "xpath:position"] ], "value": "" + }, { + "id": "69432299-f150-4bea-9e07-7ef222d7c71f", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" }, { "id": "b49d6ed7-75ea-4be8-9a79-c7fd83287aa0", "comment": "", @@ -119,6 +126,13 @@ ["xpath=//li[2]/button", "xpath:position"] ], "value": "" + }, { + "id": "a237669b-daf4-42f6-bc7f-dc4cb5548f56", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" }, { "id": "86262eda-4a44-41b0-b7aa-fa46406e2601", "comment": "", @@ -573,6 +587,13 @@ ["xpath=//a[2]", "xpath:position"] ], "value": "" + }, { + "id": "664722f5-86a5-49a8-b60e-fac67544fbea", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/name", + "targets": [], + "value": "10000" }, { "id": "6437379e-d34f-479e-82f1-bf52654a95cb", "comment": "", @@ -622,6 +643,13 @@ ["xpath=//li[2]/button", "xpath:position"] ], "value": "" + }, { + "id": "a8d021db-c36c-4cf7-9211-17751cf0624a", + "comment": "", + "command": "waitForElementVisible", + "target": "id=/xmlId", + "targets": [], + "value": "10000" }, { "id": "5795f70f-79e1-4b45-9c38-ef96d5197e70", "comment": "",