add e2e test for gcp service account file input

This commit is contained in:
Jake McDermott
2017-11-17 14:21:01 -05:00
parent 1229a10f35
commit 06a7c024fe
8 changed files with 317 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ const inputContainerElements = {
popover: '.at-Popover-container',
yaml: 'input[type="radio", value="yaml"]',
json: 'input[type="radio", value="json"]',
revert: 'a[class~="reset"]',
reset: 'a[class~="reset"]',
down: 'span[class^="fa-angle-down"]',
up: 'span[class^="fa-angle-up"]',
prompt: {
@@ -34,6 +34,14 @@ const inputContainerElements = {
off: {
locateStrategy: 'xpath',
selector: `.//button[${normalized}='off']`
},
replace: {
locateStrategy: 'xpath',
selector: `.//button[${normalized}='replace']`
},
revert: {
locateStrategy: 'xpath',
selector: `.//button[${normalized}='revert']`
}
};