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 4ed294e7c..2fc003e6d 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 @@ -105,7 +105,7 @@ 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-1281: Metadata Source Dashboard' | '/SHIBUI-1281.side' 'SHIBUI-1311: Metadata Provider Dashboard' | '/SHIBUI-1311.side' } } diff --git a/backend/src/integration/resources/SHIBUI-1311.side b/backend/src/integration/resources/SHIBUI-1311.side index 3f15f161a..3e83ebc05 100644 --- a/backend/src/integration/resources/SHIBUI-1311.side +++ b/backend/src/integration/resources/SHIBUI-1311.side @@ -77,12 +77,12 @@ "id": "b49d6ed7-75ea-4be8-9a79-c7fd83287aa0", "comment": "", "command": "click", - "target": "id=field1", + "target": "id=/name", "targets": [ - ["id=field1", "id"], + ["id=/name", "id"], ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], ["xpath=//input", "xpath:position"] ], "value": "" @@ -90,12 +90,12 @@ "id": "54dc29f7-bbe0-4c2b-a76e-e67a61f57a96", "comment": "", "command": "type", - "target": "id=field1", + "target": "id=/name", "targets": [ - ["id=field1", "id"], + ["id=/name", "id"], ["name=field1", "name"], - ["css=#field1", "css:finder"], - ["xpath=//input[@id='field1']", "xpath:attributes"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], ["xpath=//input", "xpath:position"] ], "value": "Test Metadata Provider" @@ -103,22 +103,12 @@ "id": "add874d5-e3b2-4412-8039-2b9d2619ed19", "comment": "", "command": "select", - "target": "id=field2", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "9c0cd148-ee93-49d0-96ca-64b3ceca5faa", - "comment": "", - "command": "click", - "target": "css=option:nth-child(2)", + "target": "id=/@type", "targets": [ - ["css=option:nth-child(2)", "css:finder"], - ["xpath=//option[@value='1: FileBackedHttpMetadataResolver']", "xpath:attributes"], - ["xpath=//select[@id='field2']/option[2]", "xpath:idRelative"], - ["xpath=//option[2]", "xpath:position"], - ["xpath=//option[contains(.,'FileBackedHttpMetadataProvider')]", "xpath:innerText"] + ["css=select-component > .widget", "css:finder"], + ["xpath=//select-component/div", "xpath:position"] ], - "value": "" + "value": "label=FileBackedHttpMetadataProvider" }, { "id": "1cc352f4-0d71-4a3e-9399-1d9932816efc", "comment": "", @@ -129,24 +119,11 @@ ["xpath=//li[2]/button", "xpath:position"] ], "value": "" - }, { - "id": "9c6e0a75-ae26-4f45-bd69-2157261f9eae", - "comment": "", - "command": "click", - "target": "id=field7", - "targets": [ - ["id=field7", "id"], - ["name=field7", "name"], - ["css=#field7", "css:finder"], - ["xpath=//input[@id='field7']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "" }, { "id": "86262eda-4a44-41b0-b7aa-fa46406e2601", "comment": "", "command": "type", - "target": "id=field7", + "target": "id=/xmlId", "targets": [ ["id=field7", "id"], ["name=field7", "name"], @@ -155,24 +132,11 @@ ["xpath=//input", "xpath:position"] ], "value": "123" - }, { - "id": "bf7eb6eb-073d-4651-8d50-92d15a299068", - "comment": "", - "command": "click", - "target": "id=field8", - "targets": [ - ["id=field8", "id"], - ["name=field8", "name"], - ["css=#field8", "css:finder"], - ["xpath=//input[@id='field8']", "xpath:attributes"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" }, { "id": "26cc765d-98c1-414c-97d8-4c7e5c6ab7e2", "comment": "", "command": "type", - "target": "id=field8", + "target": "id=/metadataURL", "targets": [ ["id=field8", "id"], ["name=field8", "name"], @@ -185,73 +149,47 @@ "id": "f0459917-b2a1-4e3c-8800-25273965129f", "comment": "", "command": "click", - "target": "css=div:nth-child(3) > sf-form-element .widget", + "target": "css=.form-check:nth-child(4) #\\/initializeFromBackupFile", "targets": [ - ["css=div:nth-child(3) > sf-form-element .widget", "css:finder"], - ["xpath=//boolean-radio/div", "xpath:position"] - ], - "value": "" - }, { - "id": "bfda70d4-dd91-41b3-bfc2-7836563f44c2", - "comment": "", - "command": "click", - "target": "id=field9-1", - "targets": [ - ["id=field9-1", "id"], - ["css=#field9-1", "css:finder"], - ["xpath=//input[@id='field9-1']", "xpath:attributes"], + ["css=.form-check:nth-child(4) #\\/initializeFromBackupFile", "css:finder"], + ["xpath=(//input[@id='/initializeFromBackupFile'])[2]", "xpath:attributes"], ["xpath=//div[2]/label/input", "xpath:position"] ], "value": "" - }, { - "id": "0a8f4562-eb6b-472f-8345-683ec9cc1eea", - "comment": "", - "command": "click", - "target": "id=field10", - "targets": [ - ["id=field10", "id"], - ["name=field10", "name"], - ["css=#field10", "css:finder"], - ["xpath=//input[@id='field10']", "xpath:attributes"], - ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] - ], - "value": "" }, { "id": "5b37cf08-77b9-4091-94f9-c0d539c9010d", "comment": "", "command": "type", - "target": "id=field10", + "target": "id=/backingFile", "targets": [ - ["id=field10", "id"], + ["id=/backingFile", "id"], ["name=field10", "name"], - ["css=#field10", "css:finder"], - ["xpath=//input[@id='field10']", "xpath:attributes"], + ["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": "5fc6a348-0533-4d94-bb76-ebb891a0db8f", + "id": "203d0d3c-d866-422a-8b48-b50181db00e9", "comment": "", "command": "click", - "target": "css=.btn-outline-secondary", + "target": "css=.fa-caret-down", "targets": [ - ["css=.btn-outline-secondary", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field11-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ["css=.fa-caret-down", "css:finder"], + ["xpath=//div[@id='/backupFileInitNextRefreshDelay-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//div/button/i", "xpath:position"] ], "value": "" }, { - "id": "293f95b4-b4b7-4722-9605-f8161653bf7f", + "id": "5fc6a348-0533-4d94-bb76-ebb891a0db8f", "comment": "", "command": "click", - "target": "id=field11__option--1", + "target": "id=/backupFileInitNextRefreshDelay__option--1", "targets": [ - ["id=field11__option--1", "id"], - ["css=#field11__option--1", "css:finder"], - ["xpath=//li[@id='field11__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field11__listbox']/li[2]", "xpath:idRelative"], + ["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"] ], @@ -260,86 +198,118 @@ "id": "bf041d41-5d58-4f69-8fcc-49ec79e5547d", "comment": "", "command": "click", - "target": "css=.label:nth-child(1)", + "target": "css=.form-check:nth-child(4) #\\/requireValidMetadata", "targets": [ - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] + ["css=.form-check:nth-child(4) #\\/requireValidMetadata", "css:finder"], + ["xpath=(//input[@id='/requireValidMetadata'])[2]", "xpath:attributes"], + ["xpath=//div[6]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] ], "value": "" }, { "id": "fba85c75-e218-4deb-b5e1-888ff75b6a4e", "comment": "", "command": "click", - "target": "css=#field18-container .btn", + "target": "css=.form-check:nth-child(4) #\\/failFastInitialization", "targets": [ - ["css=#field18-container .btn", "css:finder"], - ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], - ["xpath=//div[@id='field18-container']/div/div/button", "xpath:idRelative"], - ["xpath=//div/button", "xpath:position"], - ["xpath=//button[contains(.,'Toggle Dropdown')]", "xpath:innerText"] + ["css=.form-check:nth-child(4) #\\/failFastInitialization", "css:finder"], + ["xpath=(//input[@id='/failFastInitialization'])[2]", "xpath:attributes"], + ["xpath=//div[7]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] ], "value": "" }, { "id": "375b8d6e-179b-4f14-8f00-d8a8cad29d7e", "comment": "", "command": "click", - "target": "id=field18__option--1", + "target": "css=.form-check:nth-child(4) #\\/useDefaultPredicateRegistry", "targets": [ - ["id=field18__option--1", "id"], - ["css=#field18__option--1", "css:finder"], - ["xpath=//li[@id='field18__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field18__listbox']/li[2]", "xpath:idRelative"], - ["xpath=//auto-complete/div/ul/li[2]", "xpath:position"], - ["xpath=//li[contains(.,'PT30S')]", "xpath:innerText"] + ["css=.form-check:nth-child(4) #\\/useDefaultPredicateRegistry", "css:finder"], + ["xpath=(//input[@id='/useDefaultPredicateRegistry'])[2]", "xpath:attributes"], + ["xpath=//div[8]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div[2]/label/input", "xpath:position"] ], "value": "" }, { "id": "8b4bf341-62c0-491f-b775-d2faf55477bc", "comment": "", "command": "click", - "target": "css=#field19-container .fa", + "target": "id=/satisfyAnyPredicates", "targets": [ - ["css=#field19-container .fa", "css:finder"], - ["xpath=//div[@id='field19-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] + ["id=/satisfyAnyPredicates", "id"], + ["css=.form-check:nth-child(3) #\\/satisfyAnyPredicates", "css:finder"], + ["xpath=//input[@id='/satisfyAnyPredicates']", "xpath:attributes"], + ["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/boolean-radio/div/div/label/input", "xpath:position"] ], "value": "" }, { "id": "57ca153c-4121-4531-9ebe-3dfba20fa299", "comment": "", "command": "click", - "target": "id=field19__option--2", + "target": "css=.next", + "targets": [ + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "a188bc3e-fd98-4d49-ae35-a0b78a17607c", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/minRefreshDelay-container .btn", "targets": [ - ["id=field19__option--2", "id"], - ["css=#field19__option--2", "css:finder"], - ["xpath=//li[@id='field19__option--2']", "xpath:attributes"], - ["xpath=//ul[@id='field19__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"] + ["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": "a159e056-c870-4e02-a7e9-4b3a60d83718", "comment": "", "command": "click", - "target": "id=field20", + "target": "id=/reloadableMetadataResolverAttributes/minRefreshDelay__option--1", "targets": [ - ["id=field20", "id"], - ["name=field20", "name"], - ["css=#field20", "css:finder"], - ["xpath=//input[@id='field20']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] + ["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": "7a72cf6a-c97a-49f6-83d0-cbe42f0fdb7d", + "comment": "", + "command": "click", + "target": "css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .fa", + "targets": [ + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay-container .fa", "css:finder"], + ["xpath=//div[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay-container']/div/div/button/i", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/div/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "820397f5-aabb-46f5-a65a-56747ce29091", + "comment": "", + "command": "click", + "target": "id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--3", + "targets": [ + ["id=/reloadableMetadataResolverAttributes/maxRefreshDelay__option--3", "id"], + ["css=#\\/reloadableMetadataResolverAttributes\\/maxRefreshDelay__option--3", "css:finder"], + ["xpath=//li[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__option--3']", "xpath:attributes"], + ["xpath=//ul[@id='/reloadableMetadataResolverAttributes/maxRefreshDelay__listbox']/li[4]", "xpath:idRelative"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/datalist-component/div/auto-complete/div/ul/li[4]", "xpath:position"] ], "value": "" }, { "id": "b036a851-4ac9-43cb-8686-8e78ed940d72", "comment": "", "command": "type", - "target": "id=field20", + "target": "id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "targets": [ - ["id=field20", "id"], + ["id=/reloadableMetadataResolverAttributes/refreshDelayFactor", "id"], ["name=field20", "name"], - ["css=#field20", "css:finder"], - ["xpath=//input[@id='field20']", "xpath:attributes"], + ["css=#\\/reloadableMetadataResolverAttributes\\/refreshDelayFactor", "css:finder"], + ["xpath=//input[@id='/reloadableMetadataResolverAttributes/refreshDelayFactor']", "xpath:attributes"], ["xpath=//custom-string/div/input", "xpath:position"] ], "value": "0.5" @@ -347,33 +317,35 @@ "id": "b48d48d8-2fec-4877-85ae-2f94f15e63eb", "comment": "", "command": "click", - "target": "css=.label:nth-child(1)", + "target": "css=.next", "targets": [ - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] ], "value": "" }, { "id": "232da257-962f-4a4b-8213-038ef90c96c3", "comment": "", "command": "click", - "target": "css=.fa-caret-down", + "target": "css=.btn-outline-secondary", "targets": [ - ["css=.fa-caret-down", "css:finder"], - ["xpath=//div[@id='field24-container']/div/div/button/i", "xpath:idRelative"], - ["xpath=//div/button/i", "xpath:position"] + ["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": "b8d999f1-0c59-4a9a-9991-91d222f52b8e", "comment": "", "command": "click", - "target": "id=field24__option--1", + "target": "id=/metadataFilters/RequiredValidUntil/maxValidityInterval__option--1", "targets": [ - ["id=field24__option--1", "id"], - ["css=#field24__option--1", "css:finder"], - ["xpath=//li[@id='field24__option--1']", "xpath:attributes"], - ["xpath=//ul[@id='field24__listbox']/li[2]", "xpath:idRelative"], + ["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"] ], @@ -382,19 +354,6 @@ "id": "8af1abb5-2c7a-4a4c-a8f7-0eb287100dde", "comment": "", "command": "click", - "target": "id=field27", - "targets": [ - ["id=field27", "id"], - ["name=field27", "name"], - ["css=#field27", "css:finder"], - ["xpath=//input[@id='field27']", "xpath:attributes"], - ["xpath=//custom-string/div/input", "xpath:position"] - ], - "value": "" - }, { - "id": "323a2a02-9111-4064-8bb0-a3da34330e54", - "comment": "", - "command": "click", "target": "css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", "targets": [ ["css=div:nth-child(1) > sf-form-element > .has-success .custom-control-label", "css:finder"], @@ -403,160 +362,124 @@ ], "value": "" }, { - "id": "fcee6ffd-630b-4725-b72b-bacdd6096541", + "id": "323a2a02-9111-4064-8bb0-a3da34330e54", "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" + "command": "type", + "target": "id=/metadataFilters/SignatureValidation/certificateFile", + "targets": [], + "value": "%{idp.home}/foo.txt" }, { - "id": "78c17949-e5f6-4edc-9554-92ca7f0148a4", + "id": "a125e601-f306-441d-9c8c-e97b95817b46", "comment": "", "command": "click", - "target": "id=field32", + "target": "css=.btn-success", "targets": [ - ["id=field32", "id"], - ["name=field32", "name"], - ["css=#field32", "css:finder"], - ["xpath=//select[@id='field32']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] + ["css=.btn-success", "css:finder"], + ["xpath=//array-component/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] ], "value": "" }, { - "id": "7bb883dc-62e0-4bfa-944f-7ae5da453908", + "id": "74d696db-3f3b-4ff3-a180-34baceb469a2", "comment": "", "command": "select", - "target": "id=field32", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/0", "targets": [], "value": "label=SPSSODescriptor" }, { - "id": "5dfac033-ecfd-42e8-aa6f-931d5acd4d89", + "id": "532bf2e5-13fc-48d7-b01b-ff16207a554d", "comment": "", "command": "click", "target": "css=option:nth-child(2)", "targets": [ ["css=option:nth-child(2)", "css:finder"], ["xpath=//option[@value='1: md:SPSSODescriptor']", "xpath:attributes"], - ["xpath=//select[@id='field32']/option[2]", "xpath:idRelative"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/0']/option[2]", "xpath:idRelative"], ["xpath=//option[2]", "xpath:position"], ["xpath=//option[contains(.,'SPSSODescriptor')]", "xpath:innerText"] ], "value": "" }, { - "id": "9d5934f0-fe10-4539-9d71-80b454fc8612", - "comment": "", - "command": "click", - "target": "css=.btn-success > translate-i18n", - "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] - ], - "value": "" - }, { - "id": "865092b4-2b47-457a-b93e-e4c09c8deb47", + "id": "12cf80c9-594c-4c4d-bf26-aa36ba636220", "comment": "", "command": "click", - "target": "css=.mt-2 > .d-flex .btn", + "target": "css=.fa-plus", "targets": [ - ["css=.mt-2 > .d-flex .btn", "css:finder"], - ["xpath=//li[2]/div/div/button", "xpath:position"] + ["css=.fa-plus", "css:finder"], + ["xpath=//array-component/div/div/button/i", "xpath:position"] ], "value": "" }, { - "id": "530234cd-ec70-48f2-9cc6-9e0d848c4b82", + "id": "6cb9854b-293b-482d-8c07-4b7c638d79cb", "comment": "", "command": "click", - "target": "css=.btn-success", + "target": "css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(1)", "targets": [ - ["css=.btn-success", "css:finder"], - ["xpath=//array-component/div/div/button", "xpath:position"], - ["xpath=//button[contains(.,'Add   ')]", "xpath:innerText"] + ["css=#\\/metadataFilters\\/EntityRoleWhiteList\\/retainedRoles\\/1 > option:nth-child(1)", "css:finder"], + ["xpath=(//option[@value=''])[2]", "xpath:attributes"], + ["xpath=//select[@id='/metadataFilters/EntityRoleWhiteList/retainedRoles/1']/option", "xpath:idRelative"], + ["xpath=//li[2]/div/sf-form-element/div/sf-widget-chooser/select-component/div/select/option", "xpath:position"] ], "value": "" }, { - "id": "0916f6d6-c3b9-489b-bb35-7295feaf9319", + "id": "f366c86c-1420-4fb7-86c2-82c49d81208d", "comment": "", "command": "select", - "target": "id=field34", + "target": "id=/metadataFilters/EntityRoleWhiteList/retainedRoles/1", "targets": [], "value": "label=AttributeAuthorityDescriptor" }, { - "id": "6e2b28ee-0c2c-4103-a9eb-7945964c4c49", - "comment": "", - "command": "click", - "target": "css=#field34 > option:nth-child(3)", - "targets": [ - ["css=#field34 > option:nth-child(3)", "css:finder"], - ["xpath=(//option[@value='2: md:AttributeAuthorityDescriptor'])[2]", "xpath:attributes"], - ["xpath=//select[@id='field34']/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": "ed96b46a-2e89-427a-85d8-4017b4ea3270", + "id": "5dfac033-ecfd-42e8-aa6f-931d5acd4d89", "comment": "", "command": "click", - "target": "css=.btn-success > translate-i18n", + "target": "css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "targets": [ - ["css=.btn-success > translate-i18n", "css:finder"], - ["xpath=//div/button/translate-i18n", "xpath:position"] + ["css=div:nth-child(2) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], + ["xpath=//div[2]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Roleless Entity Descriptors?')]", "xpath:innerText"] ], "value": "" }, { - "id": "bfe30b75-f75f-4562-af7b-832b8639352e", + "id": "9d5934f0-fe10-4539-9d71-80b454fc8612", "comment": "", "command": "click", - "target": "css=#field35 > option:nth-child(1)", + "target": "css=div:nth-child(3) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "targets": [ - ["css=#field35 > option:nth-child(1)", "css:finder"], - ["xpath=(//option[@value=''])[3]", "xpath:attributes"], - ["xpath=//select[@id='field35']/option", "xpath:idRelative"], - ["xpath=//li[3]/div/sf-form-element/div/sf-widget-chooser/select-component/div/select/option", "xpath:position"] + ["css=div:nth-child(3) > sf-form-element > .has-success > sf-widget-chooser > checkbox-component .custom-control-label", "css:finder"], + ["xpath=//div[3]/sf-form-element/div/sf-widget-chooser/checkbox-component/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'Remove Empty Entities Descriptors?')]", "xpath:innerText"] ], "value": "" }, { - "id": "fff0c88e-8554-48b7-9ad4-ac9128afd708", - "comment": "", - "command": "select", - "target": "id=field35", - "targets": [], - "value": "label=SPSSODescriptor" - }, { - "id": "d0a966a9-f97d-4d36-b0de-e06872ad7fcd", + "id": "530234cd-ec70-48f2-9cc6-9e0d848c4b82", "comment": "", "command": "click", - "target": "css=.mt-2:nth-child(3) .fa", + "target": "css=.next", "targets": [ - ["css=.mt-2:nth-child(3) .fa", "css:finder"], - ["xpath=//li[3]/div/div/button/i", "xpath:position"] + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] ], "value": "" }, { - "id": "b6471365-3d66-482f-9258-4eb6feed4192", + "id": "79b96f40-2677-438a-9564-62df0ea2c116", "comment": "", "command": "click", - "target": "css=.label:nth-child(1)", - "targets": [ - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] - ], + "target": "css=.custom-control-label", + "targets": [], "value": "" }, { - "id": "b22efa37-3c12-40ac-a43d-e3349d68a45d", + "id": "52f5680c-c63d-411e-8332-52901f12ea3b", "comment": "", - "command": "click", - "target": "css=.custom-control-label", + "command": "verifyText", + "target": "css=.px-3:nth-child(1) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "targets": [ - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"], - ["xpath=//label[contains(.,'Enable this service?')]", "xpath:innerText"] + ["css=.px-3:nth-child(1) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"], + ["xpath=//summary-property/div/span", "xpath:position"], + ["xpath=//span[contains(.,'Test Metadata Provider')]", "xpath:innerText"] ], - "value": "" + "value": "Test Metadata Provider" }, { - "id": "52298de6-ba25-4eb7-a8c8-e358662b9745", + "id": "67ff44aa-1efd-4b13-a0e9-3648a09911dd", "comment": "", "command": "verifyText", "target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", @@ -566,17 +489,6 @@ ["xpath=//span[contains(.,'123')]", "xpath:innerText"] ], "value": "123" - }, { - "id": "79b96f40-2677-438a-9564-62df0ea2c116", - "comment": "", - "command": "verifyText", - "target": "css=summary-property:nth-child(5) .d-block:nth-child(2)", - "targets": [ - ["css=summary-property:nth-child(5) .d-block:nth-child(2)", "css:finder"], - ["xpath=//summary-property[4]/div/span", "xpath:position"], - ["xpath=//span[contains(.,'%{idp.home}/foo.txt')]", "xpath:innerText"] - ], - "value": "%{idp.home}/foo.txt" }, { "id": "f5197d46-41a7-4ef2-ac40-19f80c953929", "comment": "", @@ -661,12 +573,12 @@ "id": "6437379e-d34f-479e-82f1-bf52654a95cb", "comment": "", "command": "click", - "target": "id=field39", + "target": "id=/name", "targets": [ - ["id=field39", "id"], - ["name=field39", "name"], - ["css=#field39", "css:finder"], - ["xpath=//input[@id='field39']", "xpath:attributes"], + ["id=/name", "id"], + ["name=field37", "name"], + ["css=#\\/name", "css:finder"], + ["xpath=//input[@id='/name']", "xpath:attributes"], ["xpath=//input", "xpath:position"] ], "value": "" @@ -674,7 +586,7 @@ "id": "79471f9f-e04f-4d98-8e78-f8f554d36821", "comment": "", "command": "type", - "target": "id=field39", + "target": "id=/name", "targets": [ ["id=field39", "id"], ["name=field39", "name"], @@ -687,22 +599,15 @@ "id": "90dffd02-8971-4bf5-bc57-33194fdb27a2", "comment": "", "command": "select", - "target": "id=field40", - "targets": [], - "value": "label=FileBackedHttpMetadataProvider" - }, { - "id": "4d07a76f-5d21-4ca7-b743-c74f35429c1e", - "comment": "", - "command": "click", - "target": "css=option:nth-child(2)", + "target": "id=/@type", "targets": [ - ["css=option:nth-child(2)", "css:finder"], - ["xpath=//option[@value='1: FileBackedHttpMetadataResolver']", "xpath:attributes"], - ["xpath=//select[@id='field40']/option[2]", "xpath:idRelative"], - ["xpath=//option[2]", "xpath:position"], - ["xpath=//option[contains(.,'FileBackedHttpMetadataProvider')]", "xpath:innerText"] + ["id=/@type", "id"], + ["name=field38", "name"], + ["css=#\\/\\@type", "css:finder"], + ["xpath=//select[@id='/@type']", "xpath:attributes"], + ["xpath=//select", "xpath:position"] ], - "value": "" + "value": "label=FileBackedHttpMetadataProvider" }, { "id": "48061ec7-f134-4cf4-aba6-4f62708a779a", "comment": "", @@ -717,12 +622,12 @@ "id": "5795f70f-79e1-4b45-9c38-ef96d5197e70", "comment": "", "command": "click", - "target": "id=field45", + "target": "id=/xmlId", "targets": [ - ["id=field45", "id"], - ["name=field45", "name"], - ["css=#field45", "css:finder"], - ["xpath=//input[@id='field45']", "xpath:attributes"], + ["id=/xmlId", "id"], + ["name=field43", "name"], + ["css=#\\/xmlId", "css:finder"], + ["xpath=//input[@id='/xmlId']", "xpath:attributes"], ["xpath=//input", "xpath:position"] ], "value": "" @@ -730,7 +635,7 @@ "id": "88a910a8-1e02-400a-9875-c76d0095aa57", "comment": "", "command": "type", - "target": "id=field45", + "target": "id=/xmlId", "targets": [ ["id=field45", "id"], ["name=field45", "name"], @@ -743,12 +648,12 @@ "id": "9dbebf86-2c5a-4c88-9fa8-437d4bea96e6", "comment": "", "command": "click", - "target": "id=field46", + "target": "id=/metadataURL", "targets": [ - ["id=field46", "id"], - ["name=field46", "name"], - ["css=#field46", "css:finder"], - ["xpath=//input[@id='field46']", "xpath:attributes"], + ["id=/metadataURL", "id"], + ["name=field44", "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": "" @@ -756,7 +661,7 @@ "id": "b7e620be-7672-4d3a-8da7-e2b278747f44", "comment": "", "command": "type", - "target": "id=field46", + "target": "id=/metadataURL", "targets": [ ["id=field46", "id"], ["name=field46", "name"], @@ -769,11 +674,10 @@ "id": "d389f80c-4923-40ad-bdb6-f1142cb95a5e", "comment": "", "command": "click", - "target": "id=field47-1", + "target": "css=.form-check:nth-child(4) #\\/initializeFromBackupFile", "targets": [ - ["id=field47-1", "id"], - ["css=#field47-1", "css:finder"], - ["xpath=//input[@id='field47-1']", "xpath:attributes"], + ["css=.form-check:nth-child(4) #\\/initializeFromBackupFile", "css:finder"], + ["xpath=(//input[@id='/initializeFromBackupFile'])[2]", "xpath:attributes"], ["xpath=//div[2]/label/input", "xpath:position"] ], "value": "" @@ -781,12 +685,12 @@ "id": "4ce6d583-aadc-44b4-a694-92ca75a07e31", "comment": "", "command": "click", - "target": "id=field48", + "target": "id=/backingFile", "targets": [ - ["id=field48", "id"], - ["name=field48", "name"], - ["css=#field48", "css:finder"], - ["xpath=//input[@id='field48']", "xpath:attributes"], + ["id=/backingFile", "id"], + ["name=field46", "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": "" @@ -794,7 +698,7 @@ "id": "206dd1e2-1c91-4c92-a99d-b938560d726c", "comment": "", "command": "type", - "target": "id=field48", + "target": "id=/backingFile", "targets": [ ["id=field48", "id"], ["name=field48", "name"], @@ -803,19 +707,6 @@ ["xpath=//div[4]/sf-form-element/div/sf-widget-chooser/custom-string/div/input", "xpath:position"] ], "value": "%{idp.home}/foo.txt" - }, { - "id": "8643497f-d718-4b33-bd47-510ca49aec01", - "comment": "", - "command": "click", - "target": "id=field49", - "targets": [ - ["id=field49", "id"], - ["css=#field49", "css:finder"], - ["xpath=//input[@id='field49']", "xpath:attributes"], - ["xpath=//div[@id='field49-container']/div/input", "xpath:idRelative"], - ["xpath=//div/div/input", "xpath:position"] - ], - "value": "" }, { "id": "43dcf85f-0606-4177-aced-a1817aa2bd05", "comment": "", @@ -831,14 +722,14 @@ "id": "38816b0f-9f4d-46d2-b900-937503ef93a0", "comment": "", "command": "click", - "target": "id=field49__option--3", + "target": "id=/backupFileInitNextRefreshDelay__option--2", "targets": [ - ["id=field49__option--3", "id"], - ["css=#field49__option--3", "css:finder"], - ["xpath=//li[@id='field49__option--3']", "xpath:attributes"], - ["xpath=//ul[@id='field49__listbox']/li[4]", "xpath:idRelative"], - ["xpath=//li[4]", "xpath:position"], - ["xpath=//li[contains(.,'PT10M')]", "xpath:innerText"] + ["id=/backupFileInitNextRefreshDelay__option--2", "id"], + ["css=#\\/backupFileInitNextRefreshDelay__option--2", "css:finder"], + ["xpath=//li[@id='/backupFileInitNextRefreshDelay__option--2']", "xpath:attributes"], + ["xpath=//ul[@id='/backupFileInitNextRefreshDelay__listbox']/li[3]", "xpath:idRelative"], + ["xpath=//auto-complete/div/ul/li[3]", "xpath:position"], + ["xpath=//li[contains(.,'PT1M')]", "xpath:innerText"] ], "value": "" }, { @@ -855,10 +746,10 @@ "id": "bcbc4aaf-e8f6-4369-b6aa-e33c0d9dddf1", "comment": "", "command": "click", - "target": "css=.label:nth-child(1)", + "target": "css=.next", "targets": [ - ["css=.label:nth-child(1)", "css:finder"], - ["xpath=//li[3]/button/span", "xpath:position"] + ["css=.next", "css:finder"], + ["xpath=//li[3]/button", "xpath:position"] ], "value": "" }, { @@ -873,7 +764,7 @@ ], "value": "" }, { - "id": "337993b0-4e0e-4f64-b962-8c46d748ea28", + "id": "fdec5198-73f6-43d1-a16a-55686cb68efa", "comment": "", "command": "click", "target": "css=.next", @@ -883,18 +774,7 @@ ], "value": "" }, { - "id": "14fb1ff6-9d74-4af2-b732-d237e7e0b03c", - "comment": "", - "command": "click", - "target": "css=.custom-control-label", - "targets": [ - ["css=.custom-control-label", "css:finder"], - ["xpath=//label", "xpath:position"], - ["xpath=//label[contains(.,'Enable this service?')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "fdec5198-73f6-43d1-a16a-55686cb68efa", + "id": "1237c623-a944-4525-9aea-b93fdd007f78", "comment": "", "command": "click", "target": "css=.save", @@ -911,7 +791,21 @@ "targets": [], "value": "10000" }, { - "id": "f72a2169-08f3-4d7e-b814-bf6a61ffd6c9", + "id": "b437068f-d3ed-43b5-9975-fb54decaf7ab", + "comment": "", + "command": "verifyText", + "target": "linkText=Test Metadata Provider", + "targets": [ + ["linkText=Test Metadata Provider", "linkText"], + ["css=tr:nth-child(1) a", "css:finder"], + ["xpath=//a[contains(text(),'Test Metadata Provider')]", "xpath:link"], + ["xpath=//a[contains(@href, '/metadata/provider/e69cdb37-d020-4e34-9a11-fad3a9cb5256/configuration/options')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Test Metadata Provider')]", "xpath:innerText"] + ], + "value": "Test Metadata Provider" + }, { + "id": "abf5ec9e-eeb3-480f-8919-1efecbae20d0", "comment": "", "command": "verifyText", "target": "linkText=Test Provider 2", @@ -919,23 +813,13 @@ ["linkText=Test Provider 2", "linkText"], ["css=tr:nth-child(2) a", "css:finder"], ["xpath=//a[contains(text(),'Test Provider 2')]", "xpath:link"], - ["xpath=(//a[contains(@href, '')])[11]", "xpath:href"], + ["xpath=//a[contains(@href, '/metadata/provider/4d34b788-8b81-43bb-aac6-2062bd067cff/configuration/options')]", "xpath:href"], ["xpath=//tr[2]/td[2]/a", "xpath:position"], ["xpath=//a[contains(.,'Test Provider 2')]", "xpath:innerText"] ], "value": "Test Provider 2" }, { - "id": "190a5481-53b9-464b-9acb-f00165c79a54", - "comment": "", - "command": "verifyText", - "target": "css=tr:nth-child(2) .provider-index", - "targets": [ - ["css=tr:nth-child(2) .provider-index", "css:finder"], - ["xpath=//tr[2]/td/div/div", "xpath:position"] - ], - "value": "1" - }, { - "id": "a36771ab-07cc-4dd3-96c5-e40d002aef62", + "id": "b799fede-c85b-4bd3-8e03-347f8a7d188a", "comment": "", "command": "click", "target": "css=tr:nth-child(2) .fa-chevron-circle-up", @@ -945,63 +829,35 @@ ], "value": "" }, { - "id": "2fbec171-a254-4282-b46a-367e47c108c9", - "comment": "", - "command": "verifyText", - "target": "linkText=Test Metadata Provider", - "targets": [ - ["linkText=Test Metadata Provider", "linkText"], - ["css=tr:nth-child(2) a", "css:finder"], - ["xpath=//a[contains(text(),'Test Metadata Provider')]", "xpath:link"], - ["xpath=(//a[contains(@href, '')])[11]", "xpath:href"], - ["xpath=//tr[2]/td[2]/a", "xpath:position"], - ["xpath=//a[contains(.,'Test Metadata Provider')]", "xpath:innerText"] - ], - "value": "Test Metadata Provider" - }, { - "id": "fadffda3-b2a4-4006-8f57-83ec5c8d9e4f", + "id": "72123a28-c3be-478c-8f30-555e346837e2", "comment": "", "command": "verifyText", - "target": "css=tr:nth-child(2) .provider-index", + "target": "css=.badge-success > span", "targets": [ - ["css=tr:nth-child(2) .provider-index", "css:finder"], - ["xpath=//tr[2]/td/div/div", "xpath:position"] + ["css=.badge-success > span", "css:finder"], + ["xpath=//tr[2]/td[6]/span/span", "xpath:position"] ], - "value": "1" + "value": "Enabled" }, { - "id": "06bd511e-5561-4521-a330-defb05a26ea1", + "id": "664aafa3-9f6f-4eab-9eb6-a4d1a8344c5c", "comment": "", "command": "click", - "target": "css=tr:nth-child(1) .fa-chevron-circle-down", + "target": "css=tr:nth-child(2) .fa-chevron-circle-up", "targets": [ - ["css=tr:nth-child(1) .fa-chevron-circle-down", "css:finder"], - ["xpath=//div/button/i", "xpath:position"] + ["css=tr:nth-child(2) .fa-chevron-circle-up", "css:finder"], + ["xpath=//tr[2]/td/div/button[2]/i", "xpath:position"] ], "value": "" }, { - "id": "de6477a2-4738-4852-a7ba-89ee9b494012", - "comment": "", - "command": "verifyText", - "target": "linkText=Test Provider 2", - "targets": [ - ["linkText=Test Provider 2", "linkText"], - ["css=tr:nth-child(2) a", "css:finder"], - ["xpath=//a[contains(text(),'Test Provider 2')]", "xpath:link"], - ["xpath=(//a[contains(@href, '')])[11]", "xpath:href"], - ["xpath=//tr[2]/td[2]/a", "xpath:position"], - ["xpath=//a[contains(.,'Test Provider 2')]", "xpath:innerText"] - ], - "value": "Test Provider 2" - }, { - "id": "17aebc64-35c8-40e7-8bda-e8fee86d8464", + "id": "ad8842de-2a4c-42a4-b919-dd7524a679c6", "comment": "", "command": "verifyText", - "target": "css=tr:nth-child(2) .provider-index", + "target": "css=.badge-danger > span", "targets": [ - ["css=tr:nth-child(2) .provider-index", "css:finder"], - ["xpath=//tr[2]/td/div/div", "xpath:position"] + ["css=.badge-danger > span", "css:finder"], + ["xpath=//tr[2]/td[6]/span/span", "xpath:position"] ], - "value": "1" + "value": "Disabled" }] }], "suites": [{