mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add scenarios about namespaces being created and deleted
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
a7e944a0b8
commit
9f1dacff00
@ -97,6 +97,18 @@
|
|||||||
- But the namespace is marked as selected
|
- But the namespace is marked as selected
|
||||||
- When I click the select control the namespace selector closes
|
- When I click the select control the namespace selector closes
|
||||||
|
|
||||||
|
### Scenario: A new namespace is created while the selector is open
|
||||||
|
- Given that the namespace selector is open
|
||||||
|
- And a new namespace is created
|
||||||
|
- Then new namespace is now visible as an option
|
||||||
|
- And the new namespace is not shown as selected
|
||||||
|
- And the namespace is sorted alphabetically into the "never selected" section
|
||||||
|
|
||||||
|
### Scenario: A non-selected namespace is deleted while the selector is open
|
||||||
|
- Given that the namespace selector is open
|
||||||
|
- And a namespace that is not selected is deleted
|
||||||
|
- Then the namespace is no longer visible as an option
|
||||||
|
|
||||||
### Scenario: Closing dropdown after selecting multiple namespaces onKeyUp CTRL/CMD and mouse
|
### Scenario: Closing dropdown after selecting multiple namespaces onKeyUp CTRL/CMD and mouse
|
||||||
- Given I’ve opened namespace selector
|
- Given I’ve opened namespace selector
|
||||||
- And CTRL/CMD is pressed
|
- And CTRL/CMD is pressed
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user