-
-
Notifications
You must be signed in to change notification settings - Fork 768
fix: Update hashing and iteration logic of page object items #2067
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 9 commits
8cab3d8
c87fb7b
b8f96da
d173837
07b56e8
0896477
91806b3
0e1671a
0e0b4c3
849ba17
4357e9c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,15 @@ plugins { | |
|
||
repositories { | ||
mavenCentral() | ||
|
||
if (project.hasProperty("isCI")) { | ||
maven { | ||
url uri('https://oss.sonatype.org/content/repositories/snapshots/') | ||
mavenContent { | ||
snapshotsOnly() | ||
} | ||
} | ||
} | ||
} | ||
|
||
java { | ||
|
@@ -32,22 +41,28 @@ dependencies { | |
compileOnly 'org.projectlombok:lombok:1.18.30' | ||
annotationProcessor 'org.projectlombok:lombok:1.18.30' | ||
|
||
api ('org.seleniumhq.selenium:selenium-api') { | ||
version { | ||
strictly "[${seleniumVersion}, 5.0)" | ||
prefer "${seleniumVersion}" | ||
if (project.hasProperty("isCI")) { | ||
api "org.seleniumhq.selenium:selenium-api:${seleniumVersion}" | ||
api "org.seleniumhq.selenium:selenium-remote-driver:${seleniumVersion}" | ||
api "org.seleniumhq.selenium:selenium-support:${seleniumVersion}" | ||
} else { | ||
api('org.seleniumhq.selenium:selenium-api') { | ||
version { | ||
strictly "[${seleniumVersion}, 5.0)" | ||
prefer "${seleniumVersion}" | ||
} | ||
} | ||
} | ||
api ('org.seleniumhq.selenium:selenium-remote-driver') { | ||
version { | ||
strictly "[${seleniumVersion}, 5.0)" | ||
prefer "${seleniumVersion}" | ||
api('org.seleniumhq.selenium:selenium-remote-driver') { | ||
version { | ||
strictly "[${seleniumVersion}, 5.0)" | ||
prefer "${seleniumVersion}" | ||
} | ||
} | ||
} | ||
api ('org.seleniumhq.selenium:selenium-support') { | ||
version { | ||
strictly "[${seleniumVersion}, 5.0)" | ||
prefer "${seleniumVersion}" | ||
api('org.seleniumhq.selenium:selenium-support') { | ||
version { | ||
strictly "[${seleniumVersion}, 5.0)" | ||
prefer "${seleniumVersion}" | ||
} | ||
} | ||
} | ||
implementation 'com.google.code.gson:gson:2.10.1' | ||
|
@@ -59,11 +74,7 @@ dependencies { | |
testImplementation (group: 'io.github.bonigarcia', name: 'webdrivermanager', version: '5.6.1') { | ||
exclude group: 'org.seleniumhq.selenium' | ||
} | ||
testImplementation platform(group: 'org.seleniumhq.selenium', name: 'selenium-bom', version: '4.15.0') | ||
testImplementation 'org.seleniumhq.selenium:selenium-api' | ||
testImplementation 'org.seleniumhq.selenium:selenium-remote-driver' | ||
testImplementation 'org.seleniumhq.selenium:selenium-support' | ||
testImplementation 'org.seleniumhq.selenium:selenium-chrome-driver' | ||
testImplementation "org.seleniumhq.selenium:selenium-chrome-driver:${seleniumVersion}" | ||
testRuntimeOnly "org.slf4j:slf4j-simple:${slf4jVersion}" | ||
} | ||
|
||
|
@@ -228,7 +239,6 @@ tasks.register('uiAutomationTest', Test) { | |
includeTestsMatching 'io.appium.java_client.android.OpenNotificationsTest' | ||
includeTestsMatching '*.AndroidAppStringsTest' | ||
includeTestsMatching '*.pagefactory_tests.widget.tests.android.*' | ||
includeTestsMatching '*.pagefactory_tests.widget.tests.AndroidPageObjectTest' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is it removed intentionally? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes. The current pattern does not match anything. I've fixed it, but these tests still fail because of the CI slowness (I've verified them locally though). Maybe someone would find some time to make them work in the slow CI env 🤷 |
||
includeTestsMatching 'io.appium.java_client.service.local.StartingAppLocallyAndroidTest' | ||
includeTestsMatching 'io.appium.java_client.service.local.ServerBuilderTest' | ||
includeTestsMatching 'io.appium.java_client.service.local.ThreadSafetyTest' | ||
|
Uh oh!
There was an error while loading. Please reload this page.