From 44577e59dcc6ab8c99903eb0c24666442dae9d72 Mon Sep 17 00:00:00 2001 From: George Fu Date: Thu, 25 Jul 2024 17:45:05 +0000 Subject: [PATCH] test(client-cloudsearch): remove feature tests --- features/cloudsearch/cloudsearch.feature | 15 --------------- .../cloudsearch/step_definitions/cloudsearch.js | 12 ------------ 2 files changed, 27 deletions(-) delete mode 100644 features/cloudsearch/cloudsearch.feature delete mode 100644 features/cloudsearch/step_definitions/cloudsearch.js diff --git a/features/cloudsearch/cloudsearch.feature b/features/cloudsearch/cloudsearch.feature deleted file mode 100644 index a38a1d5914dc0..0000000000000 --- a/features/cloudsearch/cloudsearch.feature +++ /dev/null @@ -1,15 +0,0 @@ -# language: en -@cloudsearch -Feature: Amazon CloudSearch (2013-01-01) - - I want to use Amazon CloudSearch - - Scenario: Describing domain - Given I run the "describeDomains" operation - Then the request should be successful - And the value at "DomainStatusList" should be a list - - Scenario: Error handling - Given I create a domain with name prefix "" - Then the error code should be "ValidationError" - diff --git a/features/cloudsearch/step_definitions/cloudsearch.js b/features/cloudsearch/step_definitions/cloudsearch.js deleted file mode 100644 index c53610e4ec524..0000000000000 --- a/features/cloudsearch/step_definitions/cloudsearch.js +++ /dev/null @@ -1,12 +0,0 @@ -const { Before, Given } = require("@cucumber/cucumber"); - -Before({ tags: "@cloudsearch" }, function (scenario, callback) { - const { CloudSearch } = require("../../../clients/client-cloudsearch"); - this.service = new CloudSearch({}); - callback(); -}); - -Given("I create a domain with name prefix {string}", function (prefix, callback) { - this.domainName = this.uniqueName(prefix); - this.request(null, "createDomain", { DomainName: this.domainName }, callback, false); -});