This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This example demonstrates two methods of how to perform right-click actions on elements. | |
| // Run this test suite against the following Ext JS example: | |
| // http://examples.sencha.com/extjs/6.5.1/examples/classic/desktop/index.html | |
| describe('Right Click', function() { | |
| it('Should right-click on icon and show menu - Example 1', function() { | |
| var driver = ST.defaultContext.driver; | |
| // Pass in a locator (not a Ext Component Query, as WebDriver.io doesn't recognize them directly) | |
| driver.rightClick('//span[text()="SystemStatus"]'); |
NewerOlder