mirror of
https://github.com/appium/appium.git
synced 2026-02-09 11:18:51 -06:00
fixing tests
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = function (desired) {
|
||||
});
|
||||
describe('within webview', function () {
|
||||
function _ignoreEncodingBug(value) {
|
||||
if (isChrome) {
|
||||
if (isChrome(desired)) {
|
||||
console.warn('Going round android bug: whitespace in cookies.');
|
||||
return encodeURI(value);
|
||||
} else return value;
|
||||
|
||||
@@ -11,9 +11,9 @@ describe('uicatalog - move', function () {
|
||||
|
||||
it('should be able to click on arbitrary x-y elements', function (done) {
|
||||
driver
|
||||
.elementByClassName('UIATableCell').moveTo(10, 10).click()
|
||||
.elementByXPath("//UIAButton[@name='Rounded']")
|
||||
.should.eventually.exist
|
||||
.elementByXPath("//UIAStaticText[contains(@name, 'Buttons')]").moveTo(10, 10).click()
|
||||
.elementByXPath("//UIAElement['SYSTEM (CONTACT ADD)']")
|
||||
.should.eventually.exist .should.eventually.exist
|
||||
.nodeify(done);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user