From cc537c541c6386ed3939a6ccb40689b161ea69bd Mon Sep 17 00:00:00 2001 From: AEkaterina Date: Tue, 3 Oct 2023 15:38:29 +0400 Subject: [PATCH] added test for aquality tracking --- .github/workflows/maven.yml | 2 +- src/test/java/features/test/test.feature | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/test/java/features/test/test.feature diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7691c6e..0b3672a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -48,7 +48,7 @@ jobs: continue-on-error: true - name: Generate Cucumber JSON Report - run: mvn exec:java -Dexec.mainClass="io.cucumber.core.cli.Main" -Dexec.args="--plugin json:target/cucumber-report.json src/test/java/features" + run: mvn exec:java -Dexec.mainClass="io.cucumber.core.cli.Main" -Dexec.args="--plugin json:target/cucumber-report.json src/test/java/features/test" - name: Upload Cucumber JSON Report uses: actions/upload-artifact@v2 diff --git a/src/test/java/features/test/test.feature b/src/test/java/features/test/test.feature new file mode 100644 index 0000000..1cd48a8 --- /dev/null +++ b/src/test/java/features/test/test.feature @@ -0,0 +1,13 @@ +Feature: test for Aquality + + @aquality + Scenario: Check the possibility of editing data in search field in LYRASIS Reads + When Close tutorial screen + Then Welcome screen is opened + When Close welcome screen + Then Add library screen is opened + When Add library "LYRASIS Reads" on Add library screen + And Open search modal + And Type text "Book" and save it as 'word' + And Edit data by adding characters in search field and save it as 'newWord' + Then Placeholder contains word 'newWord' text in search field \ No newline at end of file