Skip to content

Commit

Permalink
Merged in feature/SHIBUI-1437-QA (pull request #394)
Browse files Browse the repository at this point in the history
Feature/SHIBUI-1437 QA

Approved-by: Dmitriy Kopylenko <dkopylenko@unicon.net>
  • Loading branch information
Bill Smith authored and rmathis committed Oct 17, 2019
2 parents d6c9d4e + cc899cf commit 09e7c06
Show file tree
Hide file tree
Showing 24 changed files with 277 additions and 619 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,30 +88,29 @@ class SeleniumSIDETest extends Specification {
// TODO: Uncomment the below commented tests once they've been updated to use the new configuration screen
where:
name | file
// 'SHIBUI-1281: Metadata Source Dashboard' | '/SHIBUI-1281.side'
// 'SHIBUI-1364: Compare FBHTTPMP with filters' | '/SHIBUI-1364-1.side'
// 'SHIBUI-1364: Compare FSMP with filters' | '/SHIBUI-1364-2.side'
// 'SHIBUI-1364: Compare LDMP with filters' | '/SHIBUI-1364-3.side'
// 'SHIBUI-1364: Compare DHTTPMP with filters' | '/SHIBUI-1364-4.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-1333: Verify metadata source configuration' | '/SHIBUI-1333.side'
'SHIBUI-1334: Verify metadata source versioning' | '/SHIBUI-1334-1.side'
// 'SHIBUI-1334: Verify metadata provider versioning' | '/SHIBUI-1334-2.side'
// 'SHIBUI-1335: Verify File Backed HTTP Metadata Provider Filters' | '/SHIBUI-1335-1.side'
// 'SHIBUI-1335: Verify Filesystem Metadata Provider Filters' | '/SHIBUI-1335-2.side'
// 'SHIBUI-1335: Verify Local Dynamic Metadata Provider Filters' | '/SHIBUI-1335-3.side'
// 'SHIBUI-1335: Verify Dynamic HTTP Metadata Provider Filters' | '/SHIBUI-1335-4.side'
// 'SHIBUI-1392: Verify provider with script filter is persistable' | '/SHIBUI-1392.side'
// 'SHIBUI-1361: Verify dates display in proper format' | '/SHIBUI-1361.side'
// 'SHIBUI-1385: Restore a metadata source version' | '/SHIBUI-1385-1.side'
'SHIBUI-1385: Restore a metadata source version' | '/SHIBUI-1385-1.side'
// 'SHIBUI-1385: Restore a metadata provider version' | '/SHIBUI-1385-2.side'
// 'SHIBUI-1391: Regex Validation' | '/SHIBUI-1391.side'
// 'SHIBUI-1407: Metadata source comparison highlights' | '/SHIBUI-1407-1.side'
'SHIBUI-1391: Regex Validation' | '/SHIBUI-1391.side'
'SHIBUI-1407: Metadata source comparison highlights' | '/SHIBUI-1407-1.side'
// 'SHIBUI-1407: Metadata provider comparison highlights' | '/SHIBUI-1407-2.side'
// 'SHIBUI-1364: Compare FBHTTPMP with filters' | '/SHIBUI-1364-1.side'
// 'SHIBUI-1364: Compare FSMP with filters' | '/SHIBUI-1364-2.side'
// 'SHIBUI-1364: Compare LDMP with filters' | '/SHIBUI-1364-3.side'
// 'SHIBUI-1364: Compare DHTTPMP with filters' | '/SHIBUI-1364-4.side'
'SHIBUI-1521: Metadata source Entity ID validation test' | '/SHIBUI-1521.side'
}
}

39 changes: 24 additions & 15 deletions backend/src/integration/resources/SHIBUI-1281.side
Original file line number Diff line number Diff line change
Expand Up @@ -1768,45 +1768,47 @@
"id": "3baa7bd3-55c0-4d10-8aa3-c0daa63ec4d4",
"comment": "",
"command": "assertText",
"target": "css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)",
"target": "css=.d-block > primitive-property:nth-child(1) .text-truncate",
"targets": [
["css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"],
["xpath=//summary-property/div/span", "xpath:position"],
["css=.d-block > primitive-property:nth-child(1) .text-truncate", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section/div/div[2]/object-property/primitive-property/div/div/span[2]", "xpath:idRelative"],
["xpath=//div/span[2]", "xpath:position"],
["xpath=//span[contains(.,'test-1234')]", "xpath:innerText"]
],
"value": "test-1234"
}, {
"id": "0d355ff0-0449-49a7-ae75-14d7c405b97c",
"comment": "",
"command": "assertText",
"target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)",
"target": "css=.mb-4:nth-child(7) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate",
"targets": [
["css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", "css:finder"],
["xpath=//div[2]/section[2]/summary-property/div/table/tbody/tr[2]/td", "xpath:position"],
["xpath=//td[contains(.,'http://test.org/assert2')]", "xpath:innerText"]
["css=.mb-4:nth-child(7) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[7]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:idRelative"],
["xpath=//section[7]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:position"]
],
"value": "http://test.org/assert2"
}, {
"id": "e53030b6-f344-4361-981d-b8303a721c5d",
"comment": "",
"command": "assertText",
"target": "css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)",
"target": "css=array-property:nth-child(8) .border-0",
"targets": [
["css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", "css:finder"],
["xpath=//li[5]", "xpath:position"],
["xpath=//li[contains(.,'somethingElse')]", "xpath:innerText"]
["css=array-property:nth-child(8) .border-0", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[8]/div/div[2]/object-property/object-property/array-property/div/ul/li[5]", "xpath:idRelative"],
["xpath=//section[8]/div/div[2]/object-property/object-property/array-property/div/ul/li[5]", "xpath:position"]
],
"value": "somethingElse"
}, {
"id": "18636780-2feb-458f-97be-cf4a625b22e1",
"comment": "",
"command": "assertText",
"target": "css=summary-property:nth-child(10) .d-block:nth-child(2)",
"target": "css=.d-flex:nth-child(5) > .py-2 > span",
"targets": [
["css=summary-property:nth-child(10) .d-block:nth-child(2)", "css:finder"],
["xpath=//summary-property[10]/div/span", "xpath:position"]
["css=.d-flex:nth-child(5) > .py-2 > span", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[9]/div/div[2]/object-property/array-property/div/div[5]/div/span", "xpath:idRelative"],
["xpath=//div/div[5]/div/span", "xpath:position"]
],
"value": "true"
"value": "True"
}, {
"id": "1406d7e4-907d-4359-8de8-a40206f0993e",
"comment": "",
Expand Down Expand Up @@ -1942,6 +1944,13 @@
"target": "css=td:nth-child(2)",
"targets": [],
"value": ""
}, {
"id": "3e7de570-9ff8-4dfe-9eaa-3417f3172d49",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}],
"suites": [{
Expand Down
7 changes: 7 additions & 0 deletions backend/src/integration/resources/SHIBUI-1311.side
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,13 @@
["xpath=//tr[2]/td[6]/span/span", "xpath:position"]
],
"value": "Disabled"
}, {
"id": "57d0e204-6c28-4be5-9888-28f8d7738508",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}],
"suites": [{
Expand Down
45 changes: 21 additions & 24 deletions backend/src/integration/resources/SHIBUI-1333.side
Original file line number Diff line number Diff line change
Expand Up @@ -1768,45 +1768,47 @@
"id": "3baa7bd3-55c0-4d10-8aa3-c0daa63ec4d4",
"comment": "",
"command": "assertText",
"target": "css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)",
"target": "css=.d-block > primitive-property:nth-child(1) .text-truncate",
"targets": [
["css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"],
["xpath=//summary-property/div/span", "xpath:position"],
["css=.d-block > primitive-property:nth-child(1) .text-truncate", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section/div/div[2]/object-property/primitive-property/div/div/span[2]", "xpath:idRelative"],
["xpath=//div/span[2]", "xpath:position"],
["xpath=//span[contains(.,'test-1234')]", "xpath:innerText"]
],
"value": "test-1234"
}, {
"id": "0d355ff0-0449-49a7-ae75-14d7c405b97c",
"comment": "",
"command": "assertText",
"target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)",
"target": "css=.mb-4:nth-child(7) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate",
"targets": [
["css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", "css:finder"],
["xpath=//div[2]/section[2]/summary-property/div/table/tbody/tr[2]/td", "xpath:position"],
["xpath=//td[contains(.,'http://test.org/assert2')]", "xpath:innerText"]
["css=.mb-4:nth-child(7) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[7]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:idRelative"],
["xpath=//section[7]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:position"]
],
"value": "http://test.org/assert2"
}, {
"id": "e53030b6-f344-4361-981d-b8303a721c5d",
"comment": "",
"command": "assertText",
"target": "css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)",
"target": "css=array-property:nth-child(8) .border-0",
"targets": [
["css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", "css:finder"],
["xpath=//li[5]", "xpath:position"],
["xpath=//li[contains(.,'somethingElse')]", "xpath:innerText"]
["css=array-property:nth-child(8) .border-0", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[8]/div/div[2]/object-property/object-property/array-property/div/ul/li[5]", "xpath:idRelative"],
["xpath=//section[8]/div/div[2]/object-property/object-property/array-property/div/ul/li[5]", "xpath:position"]
],
"value": "somethingElse"
}, {
"id": "18636780-2feb-458f-97be-cf4a625b22e1",
"comment": "",
"command": "assertText",
"target": "css=summary-property:nth-child(10) .d-block:nth-child(2)",
"target": "css=.d-flex:nth-child(5) > .py-2 > span",
"targets": [
["css=summary-property:nth-child(10) .d-block:nth-child(2)", "css:finder"],
["xpath=//summary-property[10]/div/span", "xpath:position"]
["css=.d-flex:nth-child(5) > .py-2 > span", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[9]/div/div[2]/object-property/array-property/div/div[5]/div/span", "xpath:idRelative"],
["xpath=//div/div[5]/div/span", "xpath:position"]
],
"value": "true"
"value": "True"
}, {
"id": "1406d7e4-907d-4359-8de8-a40206f0993e",
"comment": "",
Expand Down Expand Up @@ -2091,16 +2093,11 @@
],
"value": "True"
}, {
"id": "cf6660cb-2086-452f-a5e5-ad64db784d92",
"id": "8872eadd-b15a-48d3-8334-a54a3fa14e6d",
"comment": "",
"command": "click",
"target": "css=.btn:nth-child(4) > translate-i18n",
"targets": [
["css=.btn:nth-child(4) > translate-i18n", "css:finder"],
["xpath=//div[@id='header']/button/translate-i18n", "xpath:idRelative"],
["xpath=//div/button/translate-i18n", "xpath:position"],
["xpath=//translate-i18n[contains(.,'Back to Top')]", "xpath:innerText"]
],
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}],
Expand Down
89 changes: 24 additions & 65 deletions backend/src/integration/resources/SHIBUI-1334-1.side
Original file line number Diff line number Diff line change
Expand Up @@ -1768,45 +1768,47 @@
"id": "3baa7bd3-55c0-4d10-8aa3-c0daa63ec4d4",
"comment": "",
"command": "assertText",
"target": "css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)",
"target": "css=.d-block > primitive-property:nth-child(1) .text-truncate",
"targets": [
["css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"],
["xpath=//summary-property/div/span", "xpath:position"],
["css=.d-block > primitive-property:nth-child(1) .text-truncate", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section/div/div[2]/object-property/primitive-property/div/div/span[2]", "xpath:idRelative"],
["xpath=//div/span[2]", "xpath:position"],
["xpath=//span[contains(.,'test-1234')]", "xpath:innerText"]
],
"value": "test-1234"
}, {
"id": "0d355ff0-0449-49a7-ae75-14d7c405b97c",
"comment": "",
"command": "assertText",
"target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)",
"target": "css=.mb-4:nth-child(7) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate",
"targets": [
["css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", "css:finder"],
["xpath=//div[2]/section[2]/summary-property/div/table/tbody/tr[2]/td", "xpath:position"],
["xpath=//td[contains(.,'http://test.org/assert2')]", "xpath:innerText"]
["css=.mb-4:nth-child(7) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[7]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:idRelative"],
["xpath=//section[7]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:position"]
],
"value": "http://test.org/assert2"
}, {
"id": "e53030b6-f344-4361-981d-b8303a721c5d",
"comment": "",
"command": "assertText",
"target": "css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)",
"target": "css=array-property:nth-child(8) .border-0",
"targets": [
["css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", "css:finder"],
["xpath=//li[5]", "xpath:position"],
["xpath=//li[contains(.,'somethingElse')]", "xpath:innerText"]
["css=array-property:nth-child(8) .border-0", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[8]/div/div[2]/object-property/object-property/array-property/div/ul/li[5]", "xpath:idRelative"],
["xpath=//section[8]/div/div[2]/object-property/object-property/array-property/div/ul/li[5]", "xpath:position"]
],
"value": "somethingElse"
}, {
"id": "18636780-2feb-458f-97be-cf4a625b22e1",
"comment": "",
"command": "assertText",
"target": "css=summary-property:nth-child(10) .d-block:nth-child(2)",
"target": "css=.d-flex:nth-child(5) > .py-2 > span",
"targets": [
["css=summary-property:nth-child(10) .d-block:nth-child(2)", "css:finder"],
["xpath=//summary-property[10]/div/span", "xpath:position"]
["css=.d-flex:nth-child(5) > .py-2 > span", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[9]/div/div[2]/object-property/array-property/div/div[5]/div/span", "xpath:idRelative"],
["xpath=//div/div[5]/div/span", "xpath:position"]
],
"value": "true"
"value": "True"
}, {
"id": "1406d7e4-907d-4359-8de8-a40206f0993e",
"comment": "",
Expand Down Expand Up @@ -2090,56 +2092,6 @@
["xpath=//section[8]/div/div[2]/object-property/array-property/div/div/div[3]/div/span", "xpath:position"]
],
"value": "True"
}, {
"id": "cf6660cb-2086-452f-a5e5-ad64db784d92",
"comment": "",
"command": "click",
"target": "css=.btn:nth-child(4) > translate-i18n",
"targets": [
["css=.btn:nth-child(4) > translate-i18n", "css:finder"],
["xpath=//div[@id='header']/button/translate-i18n", "xpath:idRelative"],
["xpath=//div/button/translate-i18n", "xpath:position"],
["xpath=//translate-i18n[contains(.,'Back to Top')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "6a183f25-1a9c-4774-a2cc-975a641ecef7",
"comment": "",
"command": "click",
"target": "css=.btn-link:nth-child(1) > translate-i18n",
"targets": [
["css=.btn-link:nth-child(1) > translate-i18n", "css:finder"],
["xpath=//div[@id='navigation']/div/a/translate-i18n", "xpath:idRelative"],
["xpath=//div/a/translate-i18n", "xpath:position"],
["xpath=//translate-i18n[contains(.,'Version History')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "c0c0f9e1-af95-47b0-8aa8-ed141735d83b",
"comment": "",
"command": "click",
"target": "css=.breadcrumb-item > a",
"targets": [
["css=.breadcrumb-item > a", "css:finder"],
["xpath=//a[contains(text(),'Dashboard')]", "xpath:link"],
["xpath=(//a[contains(@href, '/dashboard')])[2]", "xpath:href"],
["xpath=//ol/li/a", "xpath:position"]
],
"value": ""
}, {
"id": "2536386b-315e-4b39-b9a7-badcfd0dfbb1",
"comment": "",
"command": "click",
"target": "linkText=Test Provider",
"targets": [
["linkText=Test Provider", "linkText"],
["css=td > a", "css:finder"],
["xpath=//a[contains(text(),'Test Provider')]", "xpath:link"],
["xpath=//a[contains(@href, '/metadata/resolver/5916c370-370b-4fae-94c2-a9a9675ae95b/configuration/options')]", "xpath:href"],
["xpath=//td/a", "xpath:position"],
["xpath=//a[contains(.,'Test Provider')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "2c46cdcd-d5a5-47fe-aa7b-0120fd2fcfc9",
"comment": "",
Expand Down Expand Up @@ -2439,6 +2391,13 @@
["xpath=//section[2]/div/div[2]/object-property/object-property/primitive-property/div/span[3]", "xpath:position"]
],
"value": "Display Name"
}, {
"id": "c88d3154-c810-47cd-b8d8-48e705bad0f4",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}],
"suites": [{
Expand Down
7 changes: 7 additions & 0 deletions backend/src/integration/resources/SHIBUI-1334-2.side
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,13 @@
["xpath=//object-property/object-property/primitive-property[5]/div/span[2]", "xpath:position"]
],
"value": "false"
}, {
"id": "a77b2cf6-c88d-458b-9421-2745634180a7",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}],
"suites": [{
Expand Down
7 changes: 7 additions & 0 deletions backend/src/integration/resources/SHIBUI-1335-1.side
Original file line number Diff line number Diff line change
Expand Up @@ -1693,6 +1693,13 @@
["xpath=//td[contains(.,'Entity Attributes Filter')]", "xpath:innerText"]
],
"value": "Entity Attributes Filter"
}, {
"id": "13133548-1a88-4cc0-a861-7481794c65e0",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}],
"suites": [{
Expand Down
7 changes: 7 additions & 0 deletions backend/src/integration/resources/SHIBUI-1335-2.side
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,13 @@
["xpath=//td[contains(.,'NameIDFormat')]", "xpath:innerText"]
],
"value": "NameIDFormat"
}, {
"id": "d4c36d2c-c90e-45e6-ae49-a46b3c64a629",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}],
"suites": [{
Expand Down
Loading

0 comments on commit 09e7c06

Please sign in to comment.