Skip to content

Commit

Permalink
SHIBUI-2393
Browse files Browse the repository at this point in the history
Test update. Also commented tests to help Ryan run them.
  • Loading branch information
Bill Smith committed Dec 1, 2022
1 parent 2b99961 commit 99b2ae1
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,60 +107,60 @@ class SeleniumSIDETest extends Specification {

where:
name | file
'SHIBUI-1364: Compare FBHTTPMP with filters' | '/SHIBUI-1364-1.side'
'SHIBUI-1364: Compare FSMP' | '/SHIBUI-1364-2.side'
'SHIBUI-1364: Compare LDMP' | '/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-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' | '/SHIBUI-1335-2.side'
'SHIBUI-1335: Verify Local Dynamic Metadata Provider' | '/SHIBUI-1335-3.side'
'SHIBUI-1335: Verify Dynamic HTTP Metadata Provider Filters' | '/SHIBUI-1335-4.side'
'SHIBUI-1361: Verify dates display in proper format' | '/SHIBUI-1361.side' // Note that this script WILL NOT PASS in the Selenium IDE due to it thinking there is a syntax error where there is none.
'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-1407: Metadata provider comparison highlights' | '/SHIBUI-1407-2.side'
'SHIBUI-1503: Non-admin can create metadata source' | '/SHIBUI-1503-1.side'
'SHIBUI-1503: User can be deleted' | '/SHIBUI-1503-2.side'
'SHIBUI-1503: User can be enabled' | '/SHIBUI-1503-3.side'
'SHIBUI-1732: Create, use, and delete CEA String' | '/SHIBUI-1732-1.side'
'SHIBUI-1732: Create, use, and delete CEA Boolean' | '/SHIBUI-1732-2.side'
'SHIBUI-1732: Create, use, and delete CEA List' | '/SHIBUI-1732-3.side'
'SHIBUI-1732: Create, use, and delete CEA Long' | '/SHIBUI-1732-4.side'
'SHIBUI-1732: Create, use, and delete CEA Double' | '/SHIBUI-1732-5.side'
'SHIBUI-1732: Create, use, and delete CEA Duration' | '/SHIBUI-1732-6.side'
'SHIBUI-1732: Create, use, and delete CEA Spring Bean' | '/SHIBUI-1732-7.side'
'SHIBUI-1392: Verify provider with script filter is persistable' | '/SHIBUI-1392.side'
'SHIBUI-1740: Group can be created, edited, deleted' | '/SHIBUI-1740-1.side'
'SHIBUI-1740: Verify dev profile group membership' | '/SHIBUI-1740-2.side'
'SHIBUI-1740: Verify admin-owned resource not visible to nonadmins' | '/SHIBUI-1740-3.side'
'SHIBUI-1740: Verify nonadmin-owned resource visibility' | '/SHIBUI-1740-4.side'
'SHIBUI-1742: Verify enabler role allows enabling' | '/SHIBUI-1742-1.side'
'SHIBUI-1742: Verify role CRUD operations' | '/SHIBUI-1742-2.side'
'SHIBUI-1743: Verify group regex CRUD operations' | '/SHIBUI-1743-1.side'
'SHIBUI-1743: Verify nonadmin group regex validation' | '/SHIBUI-1743-2.side'
'SHIBUI-1744: Verify attribute bundle CRUD operations' | '/SHIBUI-1744-1.side'
'SHIBUI-1744: Verify attribute bundles in metadata sources' | '/SHIBUI-1744-2.side'
// 'SHIBUI-1364: Compare FBHTTPMP with filters' | '/SHIBUI-1364-1.side'
// 'SHIBUI-1364: Compare FSMP' | '/SHIBUI-1364-2.side'
// 'SHIBUI-1364: Compare LDMP' | '/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-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' | '/SHIBUI-1335-2.side'
// 'SHIBUI-1335: Verify Local Dynamic Metadata Provider' | '/SHIBUI-1335-3.side'
// 'SHIBUI-1335: Verify Dynamic HTTP Metadata Provider Filters' | '/SHIBUI-1335-4.side'
// 'SHIBUI-1361: Verify dates display in proper format' | '/SHIBUI-1361.side' // Note that this script WILL NOT PASS in the Selenium IDE due to it thinking there is a syntax error where there is none.
// '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-1407: Metadata provider comparison highlights' | '/SHIBUI-1407-2.side'
// 'SHIBUI-1503: Non-admin can create metadata source' | '/SHIBUI-1503-1.side'
// 'SHIBUI-1503: User can be deleted' | '/SHIBUI-1503-2.side'
// 'SHIBUI-1503: User can be enabled' | '/SHIBUI-1503-3.side'
// 'SHIBUI-1732: Create, use, and delete CEA String' | '/SHIBUI-1732-1.side'
// 'SHIBUI-1732: Create, use, and delete CEA Boolean' | '/SHIBUI-1732-2.side'
// 'SHIBUI-1732: Create, use, and delete CEA List' | '/SHIBUI-1732-3.side'
// 'SHIBUI-1732: Create, use, and delete CEA Long' | '/SHIBUI-1732-4.side'
// 'SHIBUI-1732: Create, use, and delete CEA Double' | '/SHIBUI-1732-5.side'
// 'SHIBUI-1732: Create, use, and delete CEA Duration' | '/SHIBUI-1732-6.side'
// 'SHIBUI-1732: Create, use, and delete CEA Spring Bean' | '/SHIBUI-1732-7.side'
// 'SHIBUI-1392: Verify provider with script filter is persistable' | '/SHIBUI-1392.side'
// 'SHIBUI-1740: Group can be created, edited, deleted' | '/SHIBUI-1740-1.side'
// 'SHIBUI-1740: Verify dev profile group membership' | '/SHIBUI-1740-2.side'
// 'SHIBUI-1740: Verify admin-owned resource not visible to nonadmins' | '/SHIBUI-1740-3.side'
// 'SHIBUI-1740: Verify nonadmin-owned resource visibility' | '/SHIBUI-1740-4.side'
// 'SHIBUI-1742: Verify enabler role allows enabling' | '/SHIBUI-1742-1.side'
// 'SHIBUI-1742: Verify role CRUD operations' | '/SHIBUI-1742-2.side'
// 'SHIBUI-1743: Verify group regex CRUD operations' | '/SHIBUI-1743-1.side'
// 'SHIBUI-1743: Verify nonadmin group regex validation' | '/SHIBUI-1743-2.side'
// 'SHIBUI-1744: Verify attribute bundle CRUD operations' | '/SHIBUI-1744-1.side'
// 'SHIBUI-1744: Verify attribute bundles in metadata sources' | '/SHIBUI-1744-2.side'
'SHIBUI-1744: Verify attribute bundles in entity attribute filters' | '/SHIBUI-1744-3.side'
'SHIBUI-2052: Logged in user & role appear on dashboard' | '/SHIBUI-2052.side'
'SHIBUI-2116: Verify entity attribute bundle highlights' | '/SHIBUI-2116.side' // Note that this script WILL NOT PASS in the Selenium IDE due to ${driver} not being set (it is provided by this groovy script).
'SHIBUI-2267: Verify new RPO CRUD' | '/SHIBUI-2267.side'
'SHIBUI-2380: OIDC metadata source CRUD' | '/SHIBUI-2380.side'
'SHIBUI-1674: Verify metadata source tooltips' | '/SHIBUI-1674-1.side'
'SHIBUI-1674: Verify metadata provider tooltips' | '/SHIBUI-1674-2.side'
'SHIBUI-1674: Verify advanced menu tooltips' | '/SHIBUI-1674-3.side'
'SHIBUI-2270: Verify property set CRUD' | '/SHIBUI-2270-1.side'
'SHIBUI-2270: Verify full property set' | '/SHIBUI-2270-2.side'
'SHIBUI-2268: Verify Algorithm Filter' | '/SHIBUI-2268.side'
'SHIBUI-2269: Verify XML generation of external filters' | '/SHIBUI-2269.side'
// 'SHIBUI-2052: Logged in user & role appear on dashboard' | '/SHIBUI-2052.side'
// 'SHIBUI-2116: Verify entity attribute bundle highlights' | '/SHIBUI-2116.side' // Note that this script WILL NOT PASS in the Selenium IDE due to ${driver} not being set (it is provided by this groovy script).
// 'SHIBUI-2267: Verify new RPO CRUD' | '/SHIBUI-2267.side'
// 'SHIBUI-2380: OIDC metadata source CRUD' | '/SHIBUI-2380.side'
// 'SHIBUI-1674: Verify metadata source tooltips' | '/SHIBUI-1674-1.side'
// 'SHIBUI-1674: Verify metadata provider tooltips' | '/SHIBUI-1674-2.side'
// 'SHIBUI-1674: Verify advanced menu tooltips' | '/SHIBUI-1674-3.side'
// 'SHIBUI-2270: Verify property set CRUD' | '/SHIBUI-2270-1.side'
// 'SHIBUI-2270: Verify full property set' | '/SHIBUI-2270-2.side'
// 'SHIBUI-2268: Verify Algorithm Filter' | '/SHIBUI-2268.side'
// 'SHIBUI-2269: Verify XML generation of external filters' | '/SHIBUI-2269.side'
}
}
32 changes: 23 additions & 9 deletions backend/src/integration/resources/SHIBUI-1744-3.side
Original file line number Diff line number Diff line change
Expand Up @@ -461,17 +461,23 @@
"id": "e8a2f501-0efa-43a3-bbf2-b86e5ec8f6d1",
"comment": "",
"command": "waitForElementVisible",
"target": "css=fieldset > div > button > strong",
"targets": [],
"target": "id=user-attr-bundle-btn-0",
"targets": [
["id=user-attr-bundle-btn-0", "id"],
["css=#user-attr-bundle-btn-0", "css:finder"],
["xpath=//button[@id='user-attr-bundle-btn-0']", "xpath:attributes"],
["xpath=//div[@id='root_attributeRelease-group']/div/fieldset/div/button", "xpath:idRelative"],
["xpath=//fieldset/div/button", "xpath:position"]
],
"value": "30000"
}, {
"id": "cc36c580-3d53-483a-a813-2a6c8fb95792",
"comment": "",
"command": "assertText",
"target": "css=fieldset > div > button > strong",
"target": "css=strong",
"targets": [
["css=strong", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[8]/div/div/div/fieldset/ul/li/strong", "xpath:idRelative"],
["xpath=//button[@id='user-attr-bundle-btn-0']/strong", "xpath:idRelative"],
["xpath=//strong", "xpath:position"],
["xpath=//strong[contains(.,'Bundle - Test Bundle')]", "xpath:innerText"]
],
Expand All @@ -480,14 +486,22 @@
"id": "f4b2e9ae-cb20-4c41-8ad6-50004e75a865",
"comment": "",
"command": "click",
"target": "css=fieldset > div > button",
"target": "id=user-attr-bundle-btn-0",
"targets": [
["css=.badge", "css:finder"],
["xpath=//div[@id='root_attributeRelease-group']/div/fieldset/div/button/span", "xpath:idRelative"],
["xpath=//div/button/span", "xpath:position"],
["xpath=//span[contains(.,'Select Bundle')]", "xpath:innerText"]
["id=user-attr-bundle-btn-0", "id"],
["css=#user-attr-bundle-btn-0", "css:finder"],
["xpath=//button[@id='user-attr-bundle-btn-0']", "xpath:attributes"],
["xpath=//div[@id='root_attributeRelease-group']/div/fieldset/div/button", "xpath:idRelative"],
["xpath=//fieldset/div/button", "xpath:position"]
],
"value": ""
}, {
"id": "33dc6ff7-9b71-4fe4-b74d-29d8b663d8f8",
"comment": "",
"command": "pause",
"target": "300000",
"targets": [],
"value": ""
}, {
"id": "5cd2df54-e975-4657-9d4b-390c87901f88",
"comment": "",
Expand Down

0 comments on commit 99b2ae1

Please sign in to comment.