Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fabrizzio-dotCMS committed Jan 8, 2025
1 parent 797b629 commit 4d6daed
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Test Time Machine functionality

* callonce read('classpath:graphql/ftm/setup.feature')

@smoke @positive @ignore
@smoke @positive @ftm
Scenario: Test Time Machine functionality when no publish date is provided
Given url baseUrl + '/api/v1/page/render/'+pageUrl+'?language_id=1&mode=LIVE'
And headers commonHeaders
Expand All @@ -27,7 +27,7 @@ Feature: Test Time Machine functionality
* match rendered contains CONTENTLET_ONE_V1
* match rendered contains CONTENTLET_TWO_V2

@positive
@positive @ftm
Scenario: Test Time Machine functionality when a publish date is provided expect the future content to be displayed

Given url baseUrl + '/api/v1/page/render/'+pageUrl+'?language_id=1&mode=LIVE&publishDate='+formattedFutureDateTime
Expand All @@ -44,7 +44,7 @@ Feature: Test Time Machine functionality
* match rendered contains CONTENTLET_ONE_V2
* match rendered contains CONTENTLET_TWO_V2

@smoke @positive @ignore @graphql
@smoke @positive @graphql @ftm
Scenario: Send GraphQL query to fetch page details no publish date is sent
* def graphQLRequestPayLoad = buildGraphQLRequestPayload (pageUrl)
Given url baseUrl + '/api/v1/graphql'
Expand All @@ -58,7 +58,7 @@ Feature: Test Time Machine functionality
* match contentlets contains CONTENTLET_ONE_V1
* match contentlets contains CONTENTLET_TWO_V2

@smoke @positive @ignore @graphql
@smoke @positive @graphql @ftm
Scenario: Send GraphQL query to fetch page details, publish date is sent expect the future content to be displayed
* def graphQLRequestPayLoad = buildGraphQLRequestPayload (pageUrl, formattedFutureDateTime)
Given url baseUrl + '/api/v1/graphql'
Expand Down

0 comments on commit 4d6daed

Please sign in to comment.