Skip to content

Commit 007902c

Browse files
author
slivieratos
committed
Exclude interactions tests when running on Firefox
1 parent 4515467 commit 007902c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
- name: Test in Firefox
3232
env:
3333
BROWSER: firefox
34-
run: ./gradlew test -rerun-tasks --tests "seleniumtestinglib.locators.*"
34+
run: ./gradlew test -rerun-tasks

lib/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ dependencies {
2222

2323
tasks.test {
2424
useJUnitPlatform()
25+
filter {
26+
if (System.getenv("BROWSER") == "firefox") {
27+
excludeTestsMatching("*.interactions.*")
28+
}
29+
}
2530
}
2631

2732
java {

0 commit comments

Comments
 (0)