LP1989195: Nightwatch Chrome Config & Notes
[evergreen-equinox.git] / Open-ILS / src / eg2 / nightwatch / pages / staff / admin / orgUnitAdmin.ts
1 import {PageObjectModel} from 'nightwatch';
2
3 const orgUnitAdmin: PageObjectModel = {
4     elements: {
5         system2expand: {
6             selector: '//div[@class = "eg-tree"]/div[./div/a[text()="Example System 2 -- SYS2"]]/div[@class="eg-tree-node-expandy"]/div/span[text()="expand_more"]',
7             locateStrategy: 'xpath'
8         },
9         br3: {
10             selector: '//a[text()="Example Branch 3 -- BR3"]',
11             locateStrategy: 'xpath'
12         },
13         saveButton: {
14             selector: '//button[text()="Save"]',
15             locateStrategy: 'xpath'
16         }
17     }
18 };
19
20 export default orgUnitAdmin;