Skip to content

Commit

Permalink
SHIBUI-1361
Browse files Browse the repository at this point in the history
Added script to verify display date format are parseable valid dates by
core JavaScript. Possible regex testing to come.

Also includes minor script updates to 1334, 1335 scripts.
  • Loading branch information
Bill Smith committed Aug 8, 2019
1 parent b8ea0ac commit 3ad17c0
Show file tree
Hide file tree
Showing 4 changed files with 1,204 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class SeleniumSIDETest extends Specification {
'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'
}
}

24 changes: 12 additions & 12 deletions backend/src/integration/resources/SHIBUI-1334-2.side
Original file line number Diff line number Diff line change
Expand Up @@ -693,41 +693,41 @@
"id": "68103f0e-e3f1-419b-903d-5d8c30bc6700",
"comment": "",
"command": "verifyText",
"target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)",
"target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)",
"targets": [
["css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(2)", "css:finder"],
["xpath=//primitive-property[2]/div/span[2]", "xpath:position"],
["css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(2)", "css:finder"],
["xpath=//primitive-property[4]/div/span[2]", "xpath:position"],
["xpath=//span[contains(.,'123 v2')]", "xpath:innerText"]
],
"value": "123 v2"
}, {
"id": "a13198b9-7827-47e2-ade3-143b981d34ee",
"comment": "",
"command": "verifyText",
"target": "css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(3)",
"target": "css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(3)",
"targets": [
["css=.d-block > primitive-property:nth-child(2) .d-block:nth-child(3)", "css:finder"],
["xpath=//primitive-property[2]/div/span[3]", "xpath:position"]
["css=.d-block > primitive-property:nth-child(4) .d-block:nth-child(3)", "css:finder"],
["xpath=//primitive-property[4]/div/span[3]", "xpath:position"]
],
"value": "123"
}, {
"id": "3d83741c-299e-4fcb-9ce6-4b7291c423a4",
"comment": "",
"command": "verifyText",
"target": "css=.d-block > primitive-property:nth-child(10) .d-block:nth-child(2)",
"target": "css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(2)",
"targets": [
["css=.d-block > primitive-property:nth-child(10) .d-block:nth-child(2)", "css:finder"],
["xpath=//primitive-property[10]/div/span[2]", "xpath:position"]
["css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(2)", "css:finder"],
["xpath=//primitive-property[12]/div/span[2]", "xpath:position"]
],
"value": "false"
}, {
"id": "190cc157-d427-4046-aff2-180392395ad3",
"comment": "",
"command": "verifyText",
"target": "css=.d-block > primitive-property:nth-child(10) .d-block:nth-child(3)",
"target": "css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(3)",
"targets": [
["css=.d-block > primitive-property:nth-child(10) .d-block:nth-child(3)", "css:finder"],
["xpath=//primitive-property[10]/div/span[3]", "xpath:position"]
["css=.d-block > primitive-property:nth-child(12) .d-block:nth-child(3)", "css:finder"],
["xpath=//primitive-property[12]/div/span[3]", "xpath:position"]
],
"value": "true"
}, {
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 @@ -117,6 +117,13 @@
["xpath=//li[2]/button", "xpath:position"]
],
"value": ""
}, {
"id": "7d9109bb-f3b5-4d74-864e-5c647e90c9e4",
"comment": "",
"command": "waitForElementVisible",
"target": "id=/xmlId",
"targets": [],
"value": "10000"
}, {
"id": "e7462621-f4e4-4512-b200-20afa5685fc6",
"comment": "",
Expand Down
Loading

0 comments on commit 3ad17c0

Please sign in to comment.