2019-03-07 10:51:39 +00:00
|
|
|
@setupApplicationTest
|
|
|
|
Feature: dc / services / instances / error: Visit Service Instance what doesn't exist
|
|
|
|
Scenario: No instance can be found in the API response
|
|
|
|
Given 1 datacenter model with the value "dc1"
|
2019-06-20 08:37:17 +00:00
|
|
|
And 1 instance model
|
2019-03-07 10:51:39 +00:00
|
|
|
When I visit the instance page for yaml
|
|
|
|
---
|
|
|
|
dc: dc1
|
|
|
|
service: service-0
|
2019-06-11 09:18:50 +00:00
|
|
|
node: node-0
|
2019-03-07 10:51:39 +00:00
|
|
|
id: id-that-doesnt-exist
|
|
|
|
---
|
2019-06-11 09:18:50 +00:00
|
|
|
Then the url should be /dc1/services/service-0/node-0/id-that-doesnt-exist
|
2019-03-07 10:51:39 +00:00
|
|
|
And I see the text "404 (Unable to find instance)" in "[data-test-error]"
|
|
|
|
|
|
|
|
|