Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8254349

The TestNoScreenMenuBar test should be updated

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      generic
    • OS:
      generic

      Description

      This test tried to run an external application to make itself non-active and then sets and checks the global menu.

      But it has a few issues:
       - As an external app, the "System Settings" app is used, but it looks like in macOS Catalina this app was moved, and nothing actually starts
       - The external app is closed via osascript which required special permission, and it is requested via a modal dialog if not granted already
       - It looks like the attempt to close(already closed) the "System Settings" via osascript actually activate it instead

      It is better to use something else as an external app.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                serb Sergey Bylokhov
                Reporter:
                serb Sergey Bylokhov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: