diff --git a/.github/workflows/functional-test.yml b/.github/workflows/functional-test.yml index 0e2d335dc..4d6f51668 100644 --- a/.github/workflows/functional-test.yml +++ b/.github/workflows/functional-test.yml @@ -118,7 +118,7 @@ jobs: failures=$(cat "$RESULTS_XML" | xq --xpath '//testsuite/@failures') threshold=$(( (failures + errors) * 100 / (tests - skipped) )) cat "$RESULTS_XML" - if [[ $threshold -gt 10 ]]; then + if [[ $threshold -gt 8 ]]; then echo "${threshold}% of tests failed" exit 1 else diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index a1a5c4453..f39764e97 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -27,6 +27,7 @@ jobs: needs: - prepare_matrix strategy: + fail-fast: false matrix: node-version: ${{ fromJSON(needs.prepare_matrix.outputs.versions) }} steps: diff --git a/package.json b/package.json index 5c462cd91..22c51c50c 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "appium-ios-device": "^2.5.4", "appium-ios-simulator": "^6.1.7", "appium-remote-debugger": "^11.3.0", - "appium-webdriveragent": "^8.7.0", + "appium-webdriveragent": "^8.7.8", "appium-xcode": "^5.1.4", "async-lock": "^1.4.0", "asyncbox": "^3.0.0", diff --git a/test/functional/basic/element-e2e-specs.js b/test/functional/basic/element-e2e-specs.js index fe1b3c852..be73384b0 100644 --- a/test/functional/basic/element-e2e-specs.js +++ b/test/functional/basic/element-e2e-specs.js @@ -320,6 +320,19 @@ describe('XCUITestDriver - elements -', function () { await el.click(); const actions = [ + // Selenium clients generate below code for `driver.action.send_keys('a').perform`. + { + type: 'pointer', + id: 'touch', + actions: [ + {type: 'pause', duration: 0}, + {type: 'pause', duration: 0}, + {type: 'pause', duration: 0}, + {type: 'pause', duration: 0}, + {type: 'pause', duration: 0}, + {type: 'pause', duration: 0} + ] + }, { type: 'key', id: 'keyboard',