Update XPath to the latest

This commit is contained in:
Kazuhito Yokoi
2020-02-17 13:29:06 +09:00
parent e3dab3cf20
commit 42b841cb78
3 changed files with 10 additions and 10 deletions

View File

@@ -14,9 +14,9 @@
* limitations under the License.
**/
var util = require("util");
var util = require('util');
var nodePage = require("../../node_page");
var nodePage = require('../../node_page');
function changeNode(id) {
nodePage.call(this, id);
@@ -85,7 +85,7 @@ changeNode.prototype.ruleMove = function (p, to, index) {
}
changeNode.prototype.addRule = function () {
browser.clickWithWait('//*[@id="dialog-form"]/div[3]/div/a');
browser.clickWithWait('//*[@id="dialog-form"]/div[5]/div/a');
}
module.exports = changeNode;

View File

@@ -14,9 +14,9 @@
* limitations under the License.
**/
var util = require("util");
var util = require('util');
var nodePage = require("../../node_page");
var nodePage = require('../../node_page');
function jsonNode(id) {
nodePage.call(this, id);
@@ -28,8 +28,8 @@ jsonNode.prototype.setAction = function (action) {
browser.setValue('node-input-action', action);
}
jsonNode.prototype.setProperty = function(property) {
browser.setValue('//*[@id="dialog-form"]/div[2]/div/div/input', property);
jsonNode.prototype.setProperty = function (property) {
browser.setValue('//*[@id="dialog-form"]/div[4]/div/div[1]/input', property);
}
module.exports = jsonNode;