-
Notifications
You must be signed in to change notification settings - Fork 11
Using IntelliJ IDEA Ultimate
Richard Kocián (rkocian) edited this page Apr 21, 2024
·
8 revisions
First follow Quick setup, then follow these steps:
For this step you need to have your IntelliJ IDEA Ultimate activated. License itself is stored in the .key file under the IDE configuration directory. You will need this file in order to activate IntelliJ IDEA Ultimate when running UI tests. Save this file in your project directory, for example /idea_license_token/<product><version>.key
task copyKey(type: Copy) {
from "idea_license_token/idea.key"
into "build/idea-sandbox/config-uiTest"
}
Add copyKey as dependency task for integrationTest task.
task integrationTest(type: Test) {
dependsOn copyKey
...
}
For exmaple:
private static RemoteRobot robot;
@BeforeAll
public static void runIdeForUiTests() {
robot = UITestRunner.runIde(IntelliJVersion.ULTIMATE_V_2023_2, 8580);
}