Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
Signed-off-by: schogges <moritz.fleck@konghq.com>
  • Loading branch information
schogges committed Feb 25, 2025
1 parent fafd3ab commit 654aac1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Feature: Dataplane policy summary
And the "$summary-content" element contains "kuma-system"
And the "$select-preference" element exists

Scenario: Switching to YAML format and back
Scenario: Switching to k8s format and back
Given the URL "/meshes/default/meshhttproutes/<PolicyName>" responds with
"""
body:
Expand All @@ -70,8 +70,8 @@ Feature: Dataplane policy summary
Then the "$select-preference" element exists
And the "$structured-view" element exists
When I click the "$select-preference" element
When I click the "[data-testid='select-item-yaml'] button" element
Then the URL contains "format=yaml"
When I click the "[data-testid='select-item-k8s'] button" element
Then the URL contains "format=k8s"
And the "[data-testid='k-code-block']" element exists
And the "$structured-view" element doesn't exists
When I click the "$select-preference" element
Expand Down

0 comments on commit 654aac1

Please sign in to comment.