UNPKG

siesta-lite

Version:

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

1 lines 34.4 kB
Ext.data.JsonP.Siesta_Test_ExtJSCore({"tagname":"class","name":"Siesta.Test.ExtJSCore","autodetected":{},"files":[{"filename":"ExtJSCore.js","href":"ExtJSCore2.html#Siesta-Test-ExtJSCore"}],"members":[{"name":"","tagname":"property","owner":"Siesta.Test.ExtJSCore","id":"property-","meta":{}},{"name":"Ext","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-Ext","meta":{}},{"name":"clickCQ","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-clickCQ","meta":{}},{"name":"clickComponentQuery","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-clickComponentQuery","meta":{}},{"name":"compToEl","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-compToEl","meta":{"private":true}},{"name":"componentQuery","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-componentQuery","meta":{}},{"name":"componentQueryExists","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-componentQueryExists","meta":{}},{"name":"compositeQuery","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-compositeQuery","meta":{}},{"name":"cq","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-cq","meta":{}},{"name":"cq1","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-cq1","meta":{}},{"name":"cqExists","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-cqExists","meta":{}},{"name":"cqNotExists","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-cqNotExists","meta":{}},{"name":"getExt","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-getExt","meta":{}},{"name":"knownBugIn","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-knownBugIn","meta":{}},{"name":"messageBoxIsHidden","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-messageBoxIsHidden","meta":{}},{"name":"messageBoxIsVisible","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-messageBoxIsVisible","meta":{}},{"name":"query","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-query","meta":{}},{"name":"requireOk","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-requireOk","meta":{}},{"name":"setValue","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-setValue","meta":{}},{"name":"waitForAnimations","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-waitForAnimations","meta":{}},{"name":"waitForTarget","tagname":"method","owner":"Siesta.Test.ExtJSCore","id":"method-waitForTarget","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Siesta.Test.ExtJSCore","short_doc":"A base mixin for testing Ext JS and Sencha Touch applications. ...","component":false,"superclasses":[],"subclasses":[],"mixedInto":["Siesta.Test.ExtJS","Siesta.Test.SenchaTouch"],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Mixed into</h4><div class='dependency'><a href='#!/api/Siesta.Test.ExtJS' rel='Siesta.Test.ExtJS' class='docClass'>Siesta.Test.ExtJS</a></div><div class='dependency'><a href='#!/api/Siesta.Test.SenchaTouch' rel='Siesta.Test.SenchaTouch' class='docClass'>Siesta.Test.SenchaTouch</a></div><h4>Files</h4><div class='dependency'><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore' target='_blank'>ExtJSCore.js</a></div></pre><div class='doc-contents'><p>A base mixin for testing Ext JS and Sencha Touch applications.</p>\n\n<p>Contains testing functionality that is common for both frameworks.</p>\n\n<p>This file is a reference only, for a getting start guide and manual, please refer to <a href=\"#!/guide/getting_started_browser\">Siesta getting started in browser environment</a> guide.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-property-' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-property-' class='name expandable'></a> : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>Checks if the class being required is an override, which is not available\nvia Ext.ClassManager.get(). ...</div><div class='long'><p>Checks if the class being required is an override, which is not available\nvia Ext.ClassManager.get(). Only available in ExtJS 5+.</p>\n\n<p>See: https://www.assembla.com/spaces/bryntum/tickets/2201</p>\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-Ext' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-Ext' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-Ext' class='name expandable'>Ext</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>The alias for getExt ...</div><div class='long'><p>The alias for <a href=\"#!/api/Siesta.Test.ExtJSCore-method-getExt\" rel=\"Siesta.Test.ExtJSCore-method-getExt\" class=\"docClass\">getExt</a></p>\n</div></div></div><div id='method-clickCQ' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-clickCQ' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-clickCQ' class='name expandable'>clickCQ</a>( <span class='pre'>selector, root, callback</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>An alias for clickComponentQuery. ...</div><div class='long'><p>An alias for <a href=\"#!/api/Siesta.Test.ExtJSCore-method-clickComponentQuery\" rel=\"Siesta.Test.ExtJSCore-method-clickComponentQuery\" class=\"docClass\">clickComponentQuery</a>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The selector to perform a component query with</p>\n</div></li><li><span class='pre'>root</span> : Ext.Container<div class='sub-desc'><p>The optional root container to start a query from.</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call, after clicking all the found components</p>\n</div></li></ul></div></div></div><div id='method-clickComponentQuery' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-clickComponentQuery' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-clickComponentQuery' class='name expandable'>clickComponentQuery</a>( <span class='pre'>selector, root, callback</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>This method is a simple wrapper around the chainClick - it performs a component query for provided selector starting ...</div><div class='long'><p>This method is a simple wrapper around the chainClick - it performs a component query for provided <code>selector</code> starting from the <code>root</code> container\nand then clicks on all found components, in order:</p>\n\n<pre><code>// click all buttons in the `panel`\nt.clickComponentQuery('button', panel, function () {})\n</code></pre>\n\n<p>The 2nd argument for this method can be omitted and method can be called with 2 arguments only. In this case a global component query will be performed:</p>\n\n<pre><code>// click all buttons in the application\nt.clickComponentQuery('button', function () {})\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The selector to perform a component query with</p>\n</div></li><li><span class='pre'>root</span> : Ext.Container<div class='sub-desc'><p>The optional root container to start a query from.</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call, after clicking all the found components</p>\n</div></li></ul></div></div></div><div id='method-compToEl' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-compToEl' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-compToEl' class='name expandable'>compToEl</a>( <span class='pre'>comp, locateInputEl</span> ) : Ext.dom.Element<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>comp</span> : Ext.Component<div class='sub-desc'><p>the Ext.Component</p>\n</div></li><li><span class='pre'>locateInputEl</span> : Boolean<div class='sub-desc'><p>For form fields, try to find the inner input element by default.\nIf you want to target the containing Component element, pass false instead.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Ext.dom.Element</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-componentQuery' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-componentQuery' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-componentQuery' class='name expandable'>componentQuery</a>( <span class='pre'>selector, root, options</span> ) : Array[Ext.Component]<span class=\"signature\"></span></div><div class='description'><div class='short'>This method performs an ExtJS component query. ...</div><div class='long'><p>This method performs an ExtJS component query. The selector may start with <code>&gt;&gt;</code> which will be\ntrimmed.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>A component query selector. The leading '>>' will be trimmed.</p>\n</div></li><li><span class='pre'>root</span> : Ext.Component<div class='sub-desc'><p>A root for the component query.</p>\n</div></li><li><span class='pre'>options</span> : Object<div class='sub-desc'>\n<ul><li><span class='pre'>ignoreNonVisible</span> : Boolean<div class='sub-desc'><p>Whether to remove the hidden components from the results</p>\n</div></li></ul></div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Array[Ext.Component]</span><div class='sub-desc'><p>Array of matching components</p>\n</div></li></ul></div></div></div><div id='method-componentQueryExists' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-componentQueryExists' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-componentQueryExists' class='name expandable'>componentQueryExists</a>( <span class='pre'>query, [description]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>This assertion passes if the passed component query matches at least one component. ...</div><div class='long'><p>This assertion passes if the passed component query matches at least one component.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>query</span> : String<div class='sub-desc'><p>The component query</p>\n</div></li><li><span class='pre'>description</span> : String (optional)<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-compositeQuery' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-compositeQuery' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-compositeQuery' class='name expandable'>compositeQuery</a>( <span class='pre'>selector, root, allowEmpty</span> ) : HTMLElement[]<span class=\"signature\"></span></div><div class='description'><div class='short'>This method performs a combination of Ext.ComponentQuery and DOM query, allowing to easily find the DOM elements,\nmat...</div><div class='long'><p>This method performs a combination of <code>Ext.ComponentQuery</code> and DOM query, allowing to easily find the DOM elements,\nmatching a css selector, inside of some Ext.Component.</p>\n\n<p>Both queries should be combined with the <code>=&gt;</code> separator:</p>\n\n<pre><code> gridpanel[title=Accounts] =&gt; .x-grid-row\n</code></pre>\n\n<p>On the left side of such \"composite\" query should be a component query, on the right - DOM query (CSS selector)</p>\n\n<p>In case when component query returns more than one component, this method iterate through all of them and will try to\nresolve the 2nd part of the query. The results from the 1st component with matching DOM nodes is returned.</p>\n\n<p>E.g. the composite query <code>gridpanel[title=Accounts] =&gt; .x-grid-row</code> will give you the grid row elements inside a grid panel\nwith <code>title</code> config matching \"Accounts\".</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The CompositeQuery selector</p>\n</div></li><li><span class='pre'>root</span> : Ext.Component<div class='sub-desc'><p>The optional root component to start the component query from. If omitted, a global component query will be performed.</p>\n</div></li><li><span class='pre'>allowEmpty</span> : Boolean<div class='sub-desc'><p>False to throw the exception from this method if no matching DOM element is found. Default is <code>true</code>.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>HTMLElement[]</span><div class='sub-desc'><p>The array of DOM elements</p>\n</div></li></ul></div></div></div><div id='method-cq' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-cq' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-cq' class='name expandable'>cq</a>( <span class='pre'>selector</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>An alias for Ext.ComponentQuery.query. ...</div><div class='long'><p>An alias for Ext.ComponentQuery.query.</p>\n\n<p>As a convenience, this method will strip leading <code>&gt;&gt;</code> characters from the query\n(which denotes the component query in <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a>).</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The selector to perform a component query with</p>\n</div></li></ul></div></div></div><div id='method-cq1' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-cq1' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-cq1' class='name expandable'>cq1</a>( <span class='pre'>selector</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>An shorthand method to get the first result of any Ext.ComponentQuery.query\n\nAs a convenience, this method will strip...</div><div class='long'><p>An shorthand method to get the first result of any Ext.ComponentQuery.query</p>\n\n<p>As a convenience, this method will strip leading <code>&gt;&gt;</code> characters from the query\n(which denotes the component query in <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a>).</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The selector to perform a component query with</p>\n</div></li></ul></div></div></div><div id='method-cqExists' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-cqExists' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-cqExists' class='name expandable'>cqExists</a>( <span class='pre'>query, [description]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>This assertion passes if the passed component query matches at least one component. ...</div><div class='long'><p>This assertion passes if the passed component query matches at least one component.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>query</span> : String<div class='sub-desc'><p>The component query</p>\n</div></li><li><span class='pre'>description</span> : String (optional)<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-cqNotExists' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-cqNotExists' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-cqNotExists' class='name expandable'>cqNotExists</a>( <span class='pre'>query, [description]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>This assertion passes if the passed component query matches no components. ...</div><div class='long'><p>This assertion passes if the passed component query matches no components.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>query</span> : String<div class='sub-desc'><p>The component query</p>\n</div></li><li><span class='pre'>description</span> : String (optional)<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-getExt' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-getExt' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-getExt' class='name expandable'>getExt</a>( <span class='pre'>global</span> ) : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>This method returns the Ext object from the scope of the test. ...</div><div class='long'><p>This method returns the <code>Ext</code> object from the scope of the test. When creating your own assertions for Ext JS code, you need\nto make sure you are using this method to get the <code>Ext</code> instance. Otherwise, you'll be using the same \"top-level\" <code>Ext</code>\ninstance, used by the project for its UI.</p>\n\n<p>For example:</p>\n\n<pre><code> elementHasProvidedCssClass : function (el, cls, desc) {\n var Ext = this.getExt();\n\n if (Ext.fly(el).hasCls(cls)) {\n this.pass(desc);\n } else {\n this.fail(desc);\n }\n }\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>global</span> : Object<div class='sub-desc'></div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object</span><div class='sub-desc'><p>The <code>Ext</code> object from the scope of test</p>\n</div></li></ul></div></div></div><div id='method-knownBugIn' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-knownBugIn' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-knownBugIn' class='name expandable'>knownBugIn</a>( <span class='pre'>frameworkVersion, fn, reason</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>This method allow assertions to fail silently for tests executed in versions of Ext JS up to a certain release. ...</div><div class='long'><p>This method allow assertions to fail silently for tests executed in versions of Ext JS up to a certain release. When you try to run this test on a newer\nversion of Ext JS and it fails, it will fail properly and force you to re-investigate. If it passes in the newer version, you should remove the\nuse of this method.</p>\n\n<p>See also <a href=\"#!/api/Siesta.Test-method-todo\" rel=\"Siesta.Test-method-todo\" class=\"docClass\">Siesta.Test.todo</a></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>frameworkVersion</span> : String<div class='sub-desc'><p>The Ext JS framework version, e.g. '4.0.7'</p>\n</div></li><li><span class='pre'>fn</span> : Function<div class='sub-desc'><p>The method covering the broken functionality</p>\n</div></li><li><span class='pre'>reason</span> : String<div class='sub-desc'><p>The reason or explanation of the bug</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>maxtimeoutchanged</li></ul></div></div></div><div id='method-messageBoxIsHidden' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-messageBoxIsHidden' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-messageBoxIsHidden' class='name expandable'>messageBoxIsHidden</a>( <span class='pre'>[description]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>This assertion passes if the singleton MessageBox instance is currently hidden. ...</div><div class='long'><p>This assertion passes if the singleton MessageBox instance is currently hidden.\nThe assertion is relevant if you use one of the following methods Ext.Msg.alert, Ext.Msg.confirm, Ext.Msg.prompt.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>description</span> : String (optional)<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-messageBoxIsVisible' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-messageBoxIsVisible' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-messageBoxIsVisible' class='name expandable'>messageBoxIsVisible</a>( <span class='pre'>[description]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>This assertion passes if the singleton MessageBox instance is currently visible. ...</div><div class='long'><p>This assertion passes if the singleton MessageBox instance is currently visible.\nThe assertion is relevant if you use one of the following methods Ext.Msg.alert, Ext.Msg.confirm, Ext.Msg.prompt.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>description</span> : String (optional)<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-query' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-query' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-query' class='name expandable'>query</a>( <span class='pre'>selector, [root]</span> ) : Array[Element]<span class=\"signature\"></span></div><div class='description'><div class='short'>This method resolves a query string, as defined by the Siesta.Test.ActionTarget. ...</div><div class='long'><p>This method resolves a query string, as defined by the <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a>. See the link for details,\nhere we'll just briefly mention, that by default string supposed to be a CSS query. If it starts with <code>&gt;&gt;</code>\nit will be recognized as Component query. And if it contains the <code>=&gt;</code> characters, then it will be\nconsidered a compositeQuery.</p>\n\n<pre><code>await t.click('&gt;&gt;button');\nawait t.click('mypanel =&gt; .dataview .item1');\n</code></pre>\n\n<p>You can also target Ext JS components in nested contexts like iframes:</p>\n\n<pre><code>await t.click('.iframe1 -&gt; .iframe2 -&gt; &gt;&gt;button');\nawait t.click('.iframe1 -&gt; .iframe2 -&gt; myPanel =&gt; button');\n</code></pre>\n\n<p>A few extra CSS pseudo selectors are also supported: <code>:contains()</code> and <code>:textEquals()</code> which makes it\npossible to query elements by their exact (textEquals) or partial (contains) textual content.</p>\n\n<pre><code>await t.click('.iframe1 -&gt; iframe2 -&gt; button:contains(Save)');\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>A Siesta ActionTarget selector</p>\n</div></li><li><span class='pre'>root</span> : Object (optional)<div class='sub-desc'><p>The root element for the query (or shadow root)</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Array[Element]</span><div class='sub-desc'>\n</div></li></ul><p>Overrides: <a href=\"#!/api/Siesta.Test.Browser-method-query\" rel=\"Siesta.Test.Browser-method-query\" class=\"docClass\">Siesta.Test.Browser.query</a></p></div></div></div><div id='method-requireOk' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-requireOk' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-requireOk' class='name expandable'>requireOk</a>( <span class='pre'>className1, className2, classNameN, fn</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>This method will load the specified classes with Ext.require() and call the provided callback. ...</div><div class='long'><p>This method will load the specified classes with <code>Ext.require()</code> and call the provided callback. Additionally it will check that all classes have been loaded.</p>\n\n<p>This method accepts either variable number of arguments:</p>\n\n<pre><code> t.requireOk('Some.Class1', 'Some.Class2', function () { ... })\n</code></pre>\n\n<p>or array of class names:</p>\n\n<pre><code> t.requireOk([ 'Some.Class1', 'Some.Class2' ], function () { ... })\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>className1</span> : String<div class='sub-desc'><p>The name of the class to <code>require</code></p>\n</div></li><li><span class='pre'>className2</span> : String<div class='sub-desc'><p>The name of the class to <code>require</code></p>\n</div></li><li><span class='pre'>classNameN</span> : String<div class='sub-desc'><p>The name of the class to <code>require</code></p>\n</div></li><li><span class='pre'>fn</span> : Function<div class='sub-desc'><p>The callback. Will be called even if the loading of some classes have failed.</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>maxtimeoutchanged</li></ul></div></div></div><div id='method-setValue' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-setValue' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-setValue' class='name expandable'>setValue</a>( <span class='pre'>component, value</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Sets a value to an Ext Component. ...</div><div class='long'><p>Sets a value to an Ext Component. A faster way to set a value than manually calling \"type\" into\na text field for example. A value is set by calling either the <code>setRawValue</code> or <code>setValue</code> method\nof the component.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>component</span> : Ext.Component/String<div class='sub-desc'><p>A component instance or a component query to resolve</p>\n</div></li><li><span class='pre'>value</span> : Mixed<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-waitForAnimations' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-waitForAnimations' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-waitForAnimations' class='name expandable'>waitForAnimations</a>( <span class='pre'>callback, scope, timeout</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Waits until no ongoing animations can be detected. ...</div><div class='long'><p>Waits until no ongoing animations can be detected.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the component becomes visible</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>maxtimeoutchanged</li></ul></div></div></div><div id='method-waitForTarget' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.ExtJSCore'>Siesta.Test.ExtJSCore</span><br/><a href='source/ExtJSCore2.html#Siesta-Test-ExtJSCore-method-waitForTarget' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.ExtJSCore-method-waitForTarget' class='name expandable'>waitForTarget</a>( <span class='pre'>target, callback, scope, timeout</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Waits until the passed action target is detected and no ongoing animations are found. ...</div><div class='long'><p>Waits until the passed action target is detected and no ongoing animations are found. This can be a string such as a component query, CSS query or a composite query.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>target</span> : String/<a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The target presence to wait for</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the target has been found</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>maxtimeoutchanged</li></ul><p>Overrides: <a href=\"#!/api/Siesta.Test.Browser-method-waitForTarget\" rel=\"Siesta.Test.Browser-method-waitForTarget\" class=\"docClass\">Siesta.Test.Browser.waitForTarget</a></p></div></div></div></div></div></div></div>","meta":{}});