UNPKG

siesta-lite

Version:

Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers

34 lines (26 loc) 818 B
/* Siesta 5.6.1 Copyright(c) 2009-2022 Bryntum AB https://bryntum.com/contact https://bryntum.com/products/siesta/license */ Class('Ariadne.ExtJSComponentQueryFinder.Identifier.XType', { isa : Ariadne.QueryFinder.Identifier, does : [ Ariadne.ExtJSComponentQueryFinder.Role.ExtJSComponentHelper ], methods : { identify : function (cmp, root, maze) { var xtype = this.getComponentXType(cmp) var escaped = this.escapeCQSelector(xtype) return [ this.getExt4ProofXtype(cmp, this.finder.Ext), { query : escaped + '(true)', leading : true, weight : 1010 } ] } } });