Skip to content

Commit 8ef07cb

Browse files
committed
Fix failing tests
1 parent 36d90de commit 8ef07cb

File tree

1 file changed

+3
-3
lines changed
  • profiling/org.eclipse.linuxtools.profiling.provider.tests/src/org/eclipse/linuxtools/profiling/provider/tests

1 file changed

+3
-3
lines changed

Diff for: profiling/org.eclipse.linuxtools.profiling.provider.tests/src/org/eclipse/linuxtools/profiling/provider/tests/PreferencesTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2012, 2024 Red Hat, Inc.
2+
* Copyright (c) 2012, 2025 Red Hat, Inc. and others.
33
*
44
* This program and the accompanying materials are made
55
* available under the terms of the Eclipse Public License 2.0
@@ -148,7 +148,7 @@ public void testPreferencesPage() {
148148

149149
// Open preferences shell.
150150
SWTBotMenu windowsMenu = bot.menu("Window"); //$NON-NLS-1$
151-
windowsMenu.menu("Preferences").click(); //$NON-NLS-1$
151+
windowsMenu.menu("Preferences...").click(); //$NON-NLS-1$
152152
SWTBotShell shell = bot.shell("Preferences"); //$NON-NLS-1$
153153
shell.activate();
154154

@@ -224,7 +224,7 @@ private static void checkDefaultPreference(String preferenceCategory, String pro
224224

225225
// Open preferences shell.
226226
SWTBotMenu windowsMenu = bot.menu("Window"); //$NON-NLS-1$
227-
windowsMenu.menu("Preferences").click(); //$NON-NLS-1$
227+
windowsMenu.menu("Preferences...").click(); //$NON-NLS-1$
228228
SWTBotShell shell = bot.shell("Preferences"); //$NON-NLS-1$
229229
shell.activate();
230230

0 commit comments

Comments
 (0)