Skip to content
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

#1066 update UI test automation in mac #1

Open
wants to merge 76 commits into
base: #911-Support-Intellij-2024.2-by-updating-gradle-version
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
0d60a3f
Ui changes for Mac
staicy123 Nov 18, 2024
c162fb7
Ui changes for Mac
staicy123 Nov 18, 2024
8d29636
Ui changes for Mac
staicy123 Nov 18, 2024
439b952
Ui changes for Mac
staicy123 Nov 18, 2024
ea34069
Disabled unit test
staicy123 Nov 18, 2024
a0db180
Disabled unit test
staicy123 Nov 18, 2024
1bbfb6f
Disabled unit test
staicy123 Nov 18, 2024
332dff0
Disabled unit test
staicy123 Nov 18, 2024
92c185f
Disabled unit test
staicy123 Nov 18, 2024
d74607d
UI change for mac
staicy123 Nov 19, 2024
2da9b02
UI change for mac
staicy123 Nov 19, 2024
dc4d9e0
UI change for mac
staicy123 Nov 19, 2024
db493ae
UI change for mac
staicy123 Nov 19, 2024
07d7d8e
UI change for mac
staicy123 Nov 19, 2024
f2ff13c
UI change for mac
staicy123 Nov 19, 2024
d7859b6
UI change for mac
staicy123 Nov 19, 2024
db37f01
IDE changed for runIdeForUItests
staicy123 Nov 19, 2024
c9e9c61
Reverted IDE changed for runIdeForUItests
staicy123 Nov 19, 2024
e2ac7ff
Commented Unit test
staicy123 Nov 19, 2024
92e37ab
Commented Unit test
staicy123 Nov 19, 2024
797abf8
UI change for mac
staicy123 Nov 19, 2024
0a3dd06
UI change for mac
staicy123 Nov 20, 2024
0cf1d02
Updated with video recorder property to record UI videos
staicy123 Nov 20, 2024
44e3bb9
removed video recorder property to record UI videos
staicy123 Nov 20, 2024
dc6099f
removed video recorder property to record UI videos
staicy123 Nov 20, 2024
d2d8f65
removed video recorder property to record UI videos
staicy123 Nov 20, 2024
f078181
ui change for mac
staicy123 Nov 20, 2024
f35f8f3
ui change for mac
staicy123 Nov 20, 2024
b36cf2a
ui change for mac
staicy123 Nov 20, 2024
a6e6b53
Added indexing wait before calling menu items
staicy123 Nov 21, 2024
d112f5c
Added intellij version specific for runide and runideforuitest task
staicy123 Nov 21, 2024
06dc20e
Unit test uncommented
staicy123 Nov 21, 2024
20483a1
Unit test uncommented
staicy123 Nov 21, 2024
44f51d6
updated Ui test intellij version to 2024.3
staicy123 Nov 21, 2024
11c407a
updated Ui test intellij version to 2024.3
staicy123 Nov 21, 2024
f6aab80
Updated mac os to run 10 times in build.yaml
staicy123 Nov 22, 2024
9e2c85f
Updated mac os to run 10 times in build.yaml
staicy123 Nov 22, 2024
8778876
Updated intellij version for runideforuitest
staicy123 Nov 22, 2024
71b96ac
increased timer for debug/run configuration before clicking on delete…
staicy123 Nov 22, 2024
e33462f
Deleted index wait
staicy123 Nov 22, 2024
fa8b22a
Changed UI test to select menu actions from search everywhere
staicy123 Nov 22, 2024
25ed60c
Changed UI test to select menu actions from search everywhere for int…
staicy123 Nov 22, 2024
1f503c2
Reverted back macos change in build.yaml
staicy123 Nov 22, 2024
0e3ef10
Updated to 2024.2
staicy123 Nov 22, 2024
da9b575
Updated to 2024.3
staicy123 Nov 22, 2024
c568bce
Updated to 2024.3
staicy123 Nov 22, 2024
b46b398
Updated to 2024.3
staicy123 Nov 22, 2024
189827a
Updated to 2024.3
staicy123 Nov 23, 2024
48edf5c
Updated to 2024.3
staicy123 Nov 23, 2024
a665503
Updated to 2024.3
staicy123 Nov 23, 2024
92bb255
Updated to 2024.3
staicy123 Nov 23, 2024
26cb92d
Updated mac ui changes
staicy123 Nov 23, 2024
002dde1
Updated mac ui changes
staicy123 Nov 23, 2024
10fe24e
Updated mac ui changes
staicy123 Nov 23, 2024
60bdbc5
Updated mac ui changes
staicy123 Nov 24, 2024
f5087c3
Updated mac ui changes
staicy123 Nov 24, 2024
b086c7c
Updated mac ui changes
staicy123 Nov 24, 2024
103343a
Updated mac ui changes
staicy123 Nov 24, 2024
dd2a356
Updated mac ui changes search everywhere
staicy123 Nov 24, 2024
e073775
updated menu action scenario
staicy123 Nov 24, 2024
a8390be
updated menu action scenario with search everywhere
staicy123 Nov 25, 2024
e45c1cf
Search everywhere
staicy123 Nov 25, 2024
9e15479
ui menu actions with search everywhere with create and delete liberty
staicy123 Nov 25, 2024
20e554e
ui menu actions with search everywhere with create and delete liberty
staicy123 Nov 25, 2024
311038d
ui menu actions with search everywhere with create and delete liberty
staicy123 Nov 25, 2024
603626a
Search everywhere
staicy123 Nov 25, 2024
a62f77f
Search everywhere 26th
staicy123 Nov 26, 2024
c36af27
Updated UI change for mac 2024.3
staicy123 Nov 29, 2024
53e904d
Updated UI change for mac 2024.3
staicy123 Nov 29, 2024
6f1c0df
Updated UI change for mac 2024.2.4
staicy123 Nov 29, 2024
3a4e22e
Updated UI change for mac 2024.2.4
staicy123 Nov 29, 2024
6549ed7
Updated UI change for mac 2024.3
staicy123 Nov 29, 2024
6a15880
Updated UI change for mac 2024.3 6 times
staicy123 Dec 3, 2024
581a796
Updated UI change for mac 2024.2.4 6 times
staicy123 Dec 3, 2024
bcb66a3
Updated UI change for mac 2024.2.4 6 times w/o architecture change
staicy123 Dec 3, 2024
56d6fa9
Updated UI change for mac 2024.3 6 times w/o architecture change
staicy123 Dec 3, 2024
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
31 changes: 21 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,34 @@ on:
pull_request:
branches: [ main, intellij-2024.2-support ]


jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
runtime: [ linux, mac, windows ]
os: [ macOS-latest ]
iteration: [ 1, 2, 3, 4, 5, 6 ]
include:
- runtime: linux
os: ubuntu-latest
reportName: linux-test-report
- runtime: mac
os: macOS-latest
reportName: mac-test-report
- runtime: windows
os: windows-latest
reportName: windows-test-report
- os: macOS-latest
iteration: 1
reportName: mac-test-report-1
- os: macOS-latest
iteration: 2
reportName: mac-test-report-2
- os: macOS-latest
iteration: 3
reportName: mac-test-report-3
- os: macOS-latest
iteration: 4
reportName: mac-test-report-4
- os: macOS-latest
iteration: 5
reportName: mac-test-report-5
- os: macOS-latest
iteration: 6
reportName: mac-test-report-6
env:
USE_LOCAL_PLUGIN: ${{ inputs.useLocalPlugin || false }}
REF_LSP4IJ: ${{ inputs.refLsp4ij }}
Expand Down
58 changes: 37 additions & 21 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
plugins {
id 'java'
id 'org.jetbrains.intellij.platform' version '2.1.0'
Expand Down Expand Up @@ -157,37 +158,52 @@ task copyDeps(type: Copy) {
rename '^(.*)(-[0-9]+[.[0-9]+]+(-SNAPSHOT)?)(.*)$', '$1$4'
}

runIde {
jvmArgumentProviders.add({
[
"--add-exports",
"java.base/jdk.internal.vm=ALL-UNNAMED",
]
} as CommandLineArgumentProvider)
intellijPlatformTesting.runIde {
runIdeLocally {
version = providers.gradleProperty("ideTargetVersion")
type = IntelliJPlatformType.IntellijIdeaCommunity
task {
jvmArgumentProviders.add({
[
"--add-exports",
"java.base/jdk.internal.vm=ALL-UNNAMED"
]
} as CommandLineArgumentProvider)
}
}
}

test {
useJUnitPlatform()

testLogging {
showStandardStreams = true
exceptionFormat = 'full'
}
}
downloadRobotServerPlugin {
version.set(remoteRobotVersion)
}
intellijPlatformTesting.runIde {

runIdeForUiTests {
systemProperty "robot-server.port", "8082"
systemProperty "ide.mac.message.dialogs.as.sheets", "false"
systemProperty "jb.privacy.policy.text", "<!--999.999-->"
systemProperty "jb.consents.confirmation.enabled", "false"
systemProperty "idea.trust.all.projects", "true"
systemProperty "ide.show.tips.on.startup.default.value", "false"
systemProperty "ide.mac.file.chooser.native", "false"
systemProperty "jbScreenMenuBar.enabled", "false"
systemProperty "apple.laf.useScreenMenuBar", "false"
runIdeForUiTests {
task {
version = providers.gradleProperty("ideTargetVersion")
type = IntelliJPlatformType.IntellijIdeaCommunity
jvmArgumentProviders.add({
[
"-Drobot-server.port=8082",
"-Dide.mac.message.dialogs.as.sheets=false",
"-Djb.privacy.policy.text=<!--999.999-->",
"-Djb.consents.confirmation.enabled=false",
"-Didea.trust.all.projects=true",
"-Dide.show.tips.on.startup.default.value=false",
"-Dide.mac.file.chooser.native=false",
"-DjbScreenMenuBar.enabled=false",
"-Dapple.laf.useScreenMenuBar=false",
]
} as CommandLineArgumentProvider)
}
plugins {
robotServerPlugin(remoteRobotVersion)
}
}
}

intellijPlatform {
Expand Down
7 changes: 5 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
useLocal=false
pluginSinceBuild=241
pluginUntilBuild=242.*
pluginUntilBuild=243.*

javaVersion=17
javaTargetVersion=17

# Target IntelliJ Community by default
platformType=IC
platformVersion=2024.1.7
ideTargetVersion=2024.3


# Example: platformBundledPlugins = com.intellij.java
platformBundledPlugins=com.intellij.java, org.jetbrains.idea.maven, com.intellij.gradle, org.jetbrains.plugins.terminal, com.intellij.properties
platformBundledPlugins=com.intellij.java, org.jetbrains.idea.maven, com.intellij.gradle, org.jetbrains.plugins.terminal, com.intellij.properties
kotlin.stdlib.default.dependency=false
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ public void testInsertJakartaCodeSnippetIntoJavaPart() {

/**
* Tests Jakarta Language Server diagnostic support in a Java source file
*/
*
**/
@Test
@Video
public void testJakartaDiagnosticsInJavaPart() {
Expand Down
Loading
Loading