Skip to content

Commit 2f87eaa

Browse files
committed
try this setting
1 parent c9e6533 commit 2f87eaa

File tree

3 files changed

+2
-47
lines changed

3 files changed

+2
-47
lines changed

buildspec/linuxUiTests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ phases:
4545
credential_source=EcsContainer"
4646
4747
- chmod +x gradlew
48-
- sysctl -w kernel.unprivileged_userns_clone=1
48+
4949
- ffmpeg -loglevel quiet -nostdin -f x11grab -video_size ${SCREEN_WIDTH}x${SCREEN_HEIGHT} -i ${DISPLAY} -codec:v libx264 -pix_fmt yuv420p -vf drawtext="fontsize=48:box=1:[email protected]:boxborderw=5:fontcolor=white:x=0:y=h-text_h:text='%{gmtime\:%H\\\\\:%M\\\\\:%S}'" -framerate 12 -g 12 /tmp/screen_recording.mp4 &
5050
- ./gradlew -PideProfileName=$ALTERNATIVE_IDE_PROFILE_NAME :ui-tests-starter:uiTest coverageReport --console plain --info
5151

ui-tests-starter/build.gradle.kts

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -101,44 +101,3 @@ val action = Action<TaskExecutionGraph> {
101101
}
102102
}
103103
gradle.taskGraph.whenReady(action)
104-
//
105-
//abstract class InstallCefAppArmor : DefaultTask(), RuntimeAware {
106-
// @TaskAction
107-
// fun execute() {
108-
// println(runtimeLauncher.get().executablePath)
109-
// }
110-
//}
111-
//tasks.register("installCefAppArmor") {
112-
// description = "Install AppArmor profile for JBCef"
113-
// group = "Security"
114-
// val osName = System.getProperty("os.name").lowercase()
115-
// doFirst {
116-
// if (!osName.contains("linux")) {
117-
// println("Skipping AppArmor installation - not running on Linux")
118-
// return@doFirst
119-
// }
120-
// }
121-
//
122-
// doLast {
123-
// val profile = """
124-
// # This profile is autogenerated to allow running sandboxed JCEF
125-
// abi <abi/4.0>,
126-
// include <tunables/global>
127-
//
128-
// profile %s flags=(unconfined) {
129-
// userns,
130-
//
131-
// include if exists <local/chrome>
132-
// }
133-
// """.trimIndent()
134-
// profile.format("/usr/lib/jvm/java-21-amazon-corretto.x86_64/bin/java")
135-
// val profileAction = JBCefAppArmorUtils.getInstallInstallAppArmorProfileAction()
136-
// if (profileAction != null) {
137-
// profileAction.run()
138-
// println("AppArmor profile installation completed")
139-
// } else {
140-
// println("No AppArmor profile installation action available")
141-
// }
142-
// }
143-
//
144-
//}

ui-tests-starter/tstData/configAmazonQTests/options/ide.general.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
<component name="Registry">
33
<entry key="performance.watcher.unresponsive.interval.ms" value="500" />
44
<entry key="ide.browser.jcef.debug.port" value="9222"/>
5-
<entry key="ide.browser.jcef.debug.port" value="9222"/>
6-
<entry key="ide.browser.jcef.testMode.enabled" value="true"/>
7-
<entry key="ide.browser.jcef.enabled" value="true"/>
8-
<entry key="ide.browser.jcef.osr.enabled" value="true"/>
9-
<entry key="ide.browser.jcef.sandbox.enable" value="true"/>
5+
<entry key="ide.browser.jcef.sandbox.enable" value="false"/>
106
</component>
117
</application>

0 commit comments

Comments
 (0)