diff --git a/features/support/step_definitions/support.js b/features/support/step_definitions/support.js deleted file mode 100644 index fba4fdd3e3485..0000000000000 --- a/features/support/step_definitions/support.js +++ /dev/null @@ -1,36 +0,0 @@ -const { Support } = require("../../../clients/client-support"); -const { Before, Given, Then } = require("cucumber"); - -Before({ tags: "@support" }, function (scenario, callback) { - this.service = new Support({ region: "us-east-1" }); - callback(); -}); - -Given("I describe Support services", function (callback) { - this.request(null, "describeServices", {}, callback); -}); - -Then("the Supported services list should contain a service with code {string}", function (code, callback) { - this.assert.contains(this.data.services, function (svc) { - return svc.code == code; - }); - callback(); -}); - -Then("the Supported services list should contain a service with name {string}", function (name, callback) { - this.assert.contains(this.data.services, function (svc) { - return svc.name == name; - }); - callback(); -}); - -Given("I create a case with an invalid category", function (callback) { - const params = { - subject: "Subject", - serviceCode: "INVALID-CODE", - categoryCode: "INVALID-CATEGORY", - communicationBody: "Communication", - }; - - this.request(null, "createCase", params, callback, false); -}); diff --git a/features/support/support.feature b/features/support/support.feature deleted file mode 100644 index 350df99ecbb35..0000000000000 --- a/features/support/support.feature +++ /dev/null @@ -1,14 +0,0 @@ -# language: en -@support -Feature: AWS Support - - I want to use AWS Support - - Scenario: Describe Services - Given I describe Support services - Then the request should be successful - And the value at "services" should be a list - - Scenario: Error handling - Given I create a case with an invalid category - Then the error code should be "ValidationException"