1 import {PageObjectModel} from 'nightwatch';
2 import {fmEditorFieldSelector} from '../../../src/utils';
4 const vandelay: PageObjectModel = {
6 recordDisplayAttributes: {
7 selector: '//a[text()="Record Display Attributes"]',
8 locateStrategy: 'xpath'
11 selector: '//button[not(@disabled) and contains(text(), "New Queued Authority Record Attribute Definition")]',
12 locateStrategy: 'xpath'
15 selector: fmEditorFieldSelector('Code')
18 selector: fmEditorFieldSelector('Description')
21 selector: fmEditorFieldSelector('XPath')
24 selector: '//button[text()="Save"]',
25 locateStrategy: 'xpath'
28 selector: fmEditorFieldSelector('Record Type')
31 selector: fmEditorFieldSelector('Select or Create a Queue')
34 selector: '//button[text()="Upload"]',
35 locateStrategy: 'xpath'
38 selector: '//button[text()="Go To Queue"]',
39 locateStrategy: 'xpath'
41 authorityRecordType: {
42 selector: '//button/span[text()="Authority Records"]',
43 locateStrategy: 'xpath'
48 export default vandelay;