-
Notifications
You must be signed in to change notification settings - Fork 10
Using IntelliJ IDEA Ultimate
Richard Kocián (rkocian) edited this page Apr 23, 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 example to use IntelliJ IDEA Ultimate 2023.2:
private static RemoteRobot robot;
@BeforeAll
public static void runIdeForUiTests() {
robot = UITestRunner.runIde(IntelliJVersion.ULTIMATE_V_2023_2, 8580);
}
If you want to use IntelliJ IDEA Ultimate in GitHub Actions, don´t forget to encrypt the key file and in the job workflow do the decryption.