2019-06-27 09:01:30 +00:00
|
|
|
@setupApplicationTest
|
2020-06-17 09:25:54 +00:00
|
|
|
@ignore
|
2019-06-27 09:01:30 +00:00
|
|
|
Feature: components / copy-button
|
|
|
|
Background:
|
|
|
|
Given 1 datacenter model with the value "dc-1"
|
|
|
|
Scenario: Clicking the copy button
|
2019-11-25 18:45:10 +00:00
|
|
|
Given 1 node model from yaml
|
|
|
|
---
|
|
|
|
ID: node-0
|
|
|
|
Checks:
|
|
|
|
- Name: gprc-check
|
|
|
|
Node: node-0
|
|
|
|
CheckID: grpc-check
|
|
|
|
Status: passing
|
|
|
|
Type: grpc
|
|
|
|
Output: The output
|
|
|
|
Notes: The notes
|
|
|
|
---
|
2019-06-27 09:01:30 +00:00
|
|
|
When I visit the node page for yaml
|
|
|
|
---
|
|
|
|
dc: dc-1
|
|
|
|
node: node-0
|
2019-11-25 18:45:10 +00:00
|
|
|
---
|
2020-04-08 09:56:36 +00:00
|
|
|
Then the url should be /dc-1/nodes/node-0/health-checks
|
2019-06-27 09:01:30 +00:00
|
|
|
When I click ".healthcheck-output:nth-child(1) button.copy-btn"
|
2020-06-17 09:25:54 +00:00
|
|
|
Then I copied "The output"
|