{ waitForCQ:
function() { return "mycomponent[title^=Edit id - " + some_id_calculated_earlier + "]"},
desc: "Verify Editor Opened to appropriate record"
}
I'd like to do the same thing with a type: action. It would be something like this:
{ type: function() { return some_string_calculated_earlier;}, target: "#filters menu > :nth-child(4) => .x-form-text" },
function(next) {
var els = this.compositeQuery('#filters menu > :nth-child(4) => .x-form-text');
if (els.length > 0) {
var txtField = els[0];
txtField.value = some_string_calculated_earlier;
next();
}
},
-Joe