Header Service Automation Test

SGWSPCOM-3323

QA Team

Why we need to Automate

There are many issues reported in past

  •  SGWSPCOM-2543 Shortcuts always go to global site
  • SGWSPCOM-2542 QA1: Change to Germany from global website
  • SGWSPCOM-2547 /gp/ doesn't set view main navigation
  • SGWSPCOM-2545 Shop Page shows "global page" even if user was of DE

 

Test Cases Automated 

Given springer.com is accessible 

When user navigate directly to GERMAN new site

Then german resource bundles are displayed 

And selected country displayed is German 

And view number in the old site is:1

 

Given user navigates to reviews page(gp site) 

When he changes the country to china

Then china resource bundles are displayed 

And country selected is also china 

And view number in the old site is:8

Given springer.com is accessible 

When user navigates to new Global Site

Then English resource bundles are displayed

And country displayed is "Global Website"

And view number displayed in the url is:5

 

Given user is on Springer.com global website

When user change country to netherlands

Then English resource bundles are displayed

And country displayed is "Global Website"

And VIew Number displayed in url is:5

Cont..

Given user is on Old Sgw website

When he navigates to new website

Then resource bundles are same 

And country displayed on both is same 

Cont..

TO DOs

  1. All Geo IP location test cases , currently test cases will be running on BrowserStack so we donot have any expected country to assert with 
  2. All the Product page test case which are part of SGWSPCOM-3257 can be automated.

DEMO

Header Service Automation Test

By kapil aggarwal

Header Service Automation Test

  • 1,426