Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion ui-tests-starter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,14 @@ tasks.register<Test>("uiTest") {

dependsOn(prepareAmazonQTest)
dependsOn(testPlugins)

systemProperty("ui.test.plugins", testPlugins.get().asPath)
systemProperty("org.gradle.project.ideProfileName", ideProfile.name)
val testSuite = System.getenv("TEST_SUITE")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we be consistent with VSC which uses TEST_DIR and TEST_FILE

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added TEST_DIR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to send a file name too here

if (testSuite.toString().isNotBlank()) {
filter {
includeTestsMatching(testSuite.toString())
}
}
}

// hack to disable ui tests in ./gradlew check
Expand Down
Loading