Skip to content

Commit f495076

Browse files
authored
Merge pull request #82 from AppiumTestDistribution/fix/cliArgs
add excludeEnabledCheck to cliargs
2 parents 36ddcc9 + 0b6f01f commit f495076

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
release:
1414
if: github.event.action != 'labeled'
15-
runs-on: ubuntu-latest
15+
runs-on: macos-latest
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Post bumpr status comment

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ To override the default element-wait retry
5050
1. Use appium server CLI
5151
--plugin-element-wait-timeout=30000
5252
--plugin-element-wait-interval-between-attempts=200
53-
--plugin-element-wait-element-enabled-check-exclusion-cmds-list=['click']
53+
--plugin-element-wait-exclude-enabled-check="click,clear"
5454

5555

5656
2. Use appium server config file. [Refer](https://github.com/AppiumTestDistribution/appium-wait-plugin/blob/main/server-config.json).
@@ -135,7 +135,7 @@ await driver.executeScript('plugin: setWaitPluginProperties', [
135135
{
136136
timeout: 1111,
137137
intervalBetweenAttempts: 11,
138-
excludeEnabledCheck: ['click','setValue']
138+
excludeEnabledCheck: ['click','setValue']
139139
},
140140
]);
141141

azure-pipelines.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
npm ci
4040
$NVM_DIR/versions/node/$(node --version)/bin/appium plugin install --source=local .
4141
nohup $NVM_DIR/versions/node/$(node --version)/bin/appium server -ka 800 --use-plugins=element-wait -pa /wd/hub &
42-
echo `which wait-on`
4342
$NVM_DIR/versions/node/$(node --version)/bin/wait-on http://127.0.0.1:4723/wd/hub/status
4443
PLATFORM=android npm run test-e2e
4544
displayName: Android E2E Test

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "appium-wait-plugin",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "An appium 2.0 plugin that waits for element to be found",
55
"main": "./lib/index.js",
66
"scripts": {
@@ -83,6 +83,9 @@
8383
},
8484
"intervalBetweenAttempts": {
8585
"type": "number"
86+
},
87+
"excludeEnabledCheck": {
88+
"type": "array"
8689
}
8790
},
8891
"title": "Appium waitplugin",

0 commit comments

Comments
 (0)