File tree 3 files changed +5
-2
lines changed
tests/system/src/test/java/test/robot/javafx
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2024, 2025, Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -115,6 +115,7 @@ void nonMacMenuBarComesBeforeScene() {
115
115
116
116
@ Test
117
117
void acceleratorOnlyInMenuBar () {
118
+ Util .sleep (delayMilliseconds );
118
119
testApp .testKey (menuBarOnlyKeyCode );
119
120
Util .sleep (delayMilliseconds );
120
121
TestResult result = testApp .testResult ();
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023, 2025, Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -66,6 +66,7 @@ public class KeyEventClosesStageTest {
66
66
@ BeforeAll
67
67
public static void initFX () throws Exception {
68
68
Util .launch (startupLatch , TestApp .class );
69
+ Util .sleep (200 );
69
70
70
71
// When run from the command line Windows does not want to
71
72
// activate the window.
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ public void beforeEach() {
71
71
@ Timeout (value =20 )
72
72
public void testTextSelection () {
73
73
74
+ Util .sleep (200 );
74
75
int x = (int )(scene .getWindow ().getX () + scene .getX () + 22 );
75
76
int y = (int )(scene .getWindow ().getY () + scene .getY () + 15 );
76
77
You can’t perform that action at this time.
1 commit comments
openjdk-notifier[bot] commentedon Apr 3, 2025
Review
Issues