PromucFlow_constructor/app/client/cypress/locators/Pages.json
NandanAnantharamu 3a52f51af0
WIP : Updated test for page spec (#3749)
* Updated test for page spec

* Updated test for pages with widget

* updated test

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2021-04-14 13:44:06 +05:30

24 lines
1.2 KiB
JSON

{
"pagesIcon": ".t--entity-name:contains('Pages')",
"commonWidgets": ".t--page-sidebar-CommonWidgets",
"formWidgets": ".t--page-sidebar-FormWidgets",
"viewWidgets": ".t--page-sidebar-ViewWidgets",
"widgetsEditor": ".t--nav-link-widgets-editor",
"AddPage": ".pages .t--entity-add-btn",
"editInput": ".t--entity-name.editing",
"Menuaction": ".bp3-overlay-open>.bp3-transition-container",
"Delete": ":nth-child(2) > .bp3-menu-item",
"apiEditorIcon": ".t--nav-link-api-editor",
"addEntityAPI": ".apis .t--entity-add-btn",
"entityWidget": ".t--entity-name:contains('Widgets')",
"entityTable": ".t--entity-name:contains('Table1')",
"entityText": ".t--entity-name:contains('Text1')",
"entityExplorer": ".t--nav-link-entity-explorer",
"popover": "//div[contains(@class,'t--entity page')]//*[last()]//*[local-name()='g' and @id='Icon/Outline/more-vertical']",
"editName": ".single-select >div:contains('Edit Name')",
"clonePage": ".single-select >div:contains('Clone')",
"deletePage": ".single-select >div:contains('Delete')",
"hidePage": ".single-select >div:contains('Hide')",
"entityQuery": ".t--entity-name:contains('Queries')",
"showPage": ".single-select >div:contains('Show')"
}