Skip to content

Commit

Permalink
Gherkin Scripts for ODC-4181 and ODC-3954
Browse files Browse the repository at this point in the history
  • Loading branch information
gajanan-more committed Dec 3, 2020
1 parent b94adb6 commit 8440d37
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ Feature: Create event sources
Scenario: Different event source enters display in event sources add page : Kn-07-TC03, Kn-08-TC02
Given user is at Add page
When user clicks on "Event Source" card
Then user will be redirected to page with header name "Event Sources"
Then user will get redirected to Developer Catalog page
And user will see header name "Event Sources"
And user will see the list of Providers
And user will see the cards of Event Sources
And user will see Filter by Keyword field
And user will A-Z, Z-A sort by dropdown
And able to see event source enters like ApiServerSource, ContainerSource, CronJobSource, PingSource, SinkBinding


Expand All @@ -21,7 +26,8 @@ Feature: Create event sources
And user is at developer perspective
And user is at Add page
When user clicks on "Event Source" card
Then user will be redirected to page with header name "Event Sources"
Then user will be redirected to Developer Catalog page
And user will see header name "Event Sources"
And user is able to see "Camel Source" event source type


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ Feature: Event Sources actions
And user has selected namespace "aut-create-knative-event-source"


@manual
Scenario: Scroll bar on the Event Sources cards page
Given user is at the Event Sources page
And user has added more than 10 Event Sources
Then user will see the Scroll bar added to see all the card


@manual
Scenario: Filter the Event Sources
Given user is at the Event Sources page
Expand All @@ -30,11 +23,3 @@ Feature: Event Sources actions
When user enters something in the Filter field which doesn't match with any Event Source
Then user will see the empty state with message "No Results Match the Filter Criteria"
And user will see a button to clear all filters


@manual
Scenario: Selected card will be shown even though filters doesn't match
Given user is at the Event Sources page
When user selects a card
And user enters characters in the Filter field that doesn't match with selected card
Then user will see that selected card even though filters doesn't match
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Feature: Developer Catalog Page
As a user, I should be able to use Developer Catalog page to deploy application


Background:
Given user is at developer perspective
And user has installed OpenShift Serverless Operator
And user has installed Knative Apache Camelk Operator
And user has installed Apache Kafka Operator


@smoke
Scenario: Developer Catalog page
Given user is at Add page
When user clicks on From Catalog card
Then user will see All Items already selected
And user will see CI/CD, Databases, Languages, Middleware, Other categories
And user will see Builder Images, Event Sources, Helm Charts, Operator Backed, Templates types
And user will see Filter by Keyword field
And user will A-Z, Z-A sort by dropdown


@smoke, @manual
Scenario: Event Sources on Developer Catalog
Given user is at Developer Catalog page
When user clicks on Event Sources type
Then user will see the list of Providers
And user will see the cards of Event Sources
And user will see Filter by Keyword field
And user will A-Z, Z-A sort by dropdown


@smoke, @manual
Scenario: Helm Charts on Developer Catalog
Given user is at Developer Catalog page
When user clicks on Helm Charts type
Then user will see the list of Chart Repositories
And user will see the cards of Helm Charts
And user will see Filter by Keyword field
And user will A-Z, Z-A sort by dropdown
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ Scenario: Developer Catalog Page when Helm Charts checkbox is selected: HR-01-TC
Given user is at Add page
When user clicks on the Helm Chart card on the Add page
Then user will get redirected to Developer Catalog page
And user is able to see Helm Chart option is selected in Developer Catalog page
And user is able to see Helm Charts cards
And user will see the list of Chart Repositories
And user will see the cards of Helm Charts
And user will see Filter by Keyword field
And user will A-Z, Z-A sort by dropdown


@regression
Scenario: Install Helm Chart from Developer Catalog Page using YAML View: HR-03
Given user is at Add page
When user clicks on the Developer Catalog card on the Add page
And user checks the Helm Charts checkbox
And user clicks on Helm Charts
And user searches for the "Nodejs Ex K v0.2.0" helm chart
And user clicks on the "Nodejs Ex K v0.2.0" helm chart card
And user clicks on the Install Helm Chart button on side bar
Expand Down

0 comments on commit 8440d37

Please sign in to comment.