Skip to content

Gateway: can connect without token, should not be able to #23577

@adietish

Description

@adietish

Describe the bug

In the connect wizard, I should only be able to connect when "Server" and "Token" have valid values.

Che version

7.109@latest

Steps to reproduce

  1. EXEC: in Gateway: hit "Connect to Dev Spaces"
  2. ASSERT: you get the server wizard page
  3. ASSERT: Server and Token are selected from your kubeconfig (picked from current-context)
  4. EXEC: delete the token
Image
  1. EXEC: try to hit "Check connection.."

Result:
"Check connection.."-button is enabled, you can hit it. Connection then fails of course because you didn't provide a token.

Expected behavior

Server and Token are required, "Check connection..."-button should only be enabled once you have valid values in both.

Runtime

OpenShift

Screenshots

No response

Installation method

other (please specify in additional context)

Environment

macOS

Eclipse Che Logs

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/gatewayarea/uxIssues related to User Experience Designkind/bugOutline of a bug - must adhere to the bug report template.severity/P2Has a minor but important impact to the usage or development of the system.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions