From eef897b70cb3308a876cc22204005d812f03d802 Mon Sep 17 00:00:00 2001 From: Vladislav Leonkev <131776471+vl-leon@users.noreply.github.com> Date: Mon, 5 Feb 2024 11:10:08 +0100 Subject: [PATCH] Release 0.3.6 (#182) - do not reference removed step --- CHANGELOG.md | 8 +++++++- README.md | 4 ++-- bin/cds-add-cucumber.js | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c54acbd..f708091 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Version 0.3.6 - 2024-02-05 + +### Fixed + +* Plugin: generated test using removed step +* Documentation: README referencing removed step + ## Version 0.3.5 - 2024-02-05 ### Added * Documentation: environment variable CDS_COMMAND_ARGn -### Changed ### Removed * Steps *Given we have started the CAP application* diff --git a/README.md b/README.md index 95fe8c9..11f482d 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ A typical test looks like this: Feature: Fiori preview page Scenario: Open first Fiori preview page - Given we have started the CAP application + Given we have started the application And we have opened the url "/" When we click on first Fiori preview page And we search for "jane" @@ -58,7 +58,7 @@ File: test/features/first.feature Feature: Bookshop first feature file Scenario: Open "Manage Books" as "alice" and search for "jane" - Given we have started the CAP application + Given we have started the application And we have opened the url "/" with user "alice" When we select tile "Manage Books" And we search for "jane" diff --git a/bin/cds-add-cucumber.js b/bin/cds-add-cucumber.js index 59a03b3..66563d9 100755 --- a/bin/cds-add-cucumber.js +++ b/bin/cds-add-cucumber.js @@ -75,7 +75,7 @@ function createFirstFeatureFile() { const content = `Feature: Fiori preview page Scenario: Open first Fiori preview page - Given we have started the CAP application + Given we have started the application And we have opened the url "/" When we click on first Fiori preview page And we search for "jane" @@ -131,7 +131,7 @@ function createBookshopFirstFeatureFile() { const content = `Feature: Bookshop first feature file Scenario: Open "Manage Books" as "alice" and search for "jane" - Given we have started the CAP application + Given we have started the application And we have opened the url "/" with user "alice" When we select tile "Manage Books" And we search for "jane" diff --git a/package-lock.json b/package-lock.json index 378c9ca..ccfc5a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cap-js-community/cds-cucumber", - "version": "0.3.5", + "version": "0.3.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cap-js-community/cds-cucumber", - "version": "0.3.5", + "version": "0.3.6", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@sap-cloud-sdk/http-client": "^3", diff --git a/package.json b/package.json index ad808ed..b97ede7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cap-js-community/cds-cucumber", - "version": "0.3.5", + "version": "0.3.6", "description": "A library to write behaviour-driven tests for CAP applications", "homepage": "https://cap-js-community.github.io/cds-cucumber/", "keywords": [