sana hot fix and patch

   update [dbo].[SanaReleasePackages] set Version = '1.45.9.1' , name = 'Sana Commerce Cloud 1.45.9.1' , VersionType =3 ,ReleasePackageType ='2' where id = '760'



  update [dbo].[SanaReleasePackages] 

   set Version = '1.47.48.0' ,

   name = 'Sana Commerce Cloud 1.47.48.0' ,

  --VersionType =3 ,

  ReleasePackageType ='2' --SDK 1 False ,2 True

   where id = '800'

Install Cypress / cypress-xpath

 create a folder :-  cypressautomation

gp to folder and open CMD by typing nav bar 

npm init

cypressautomation


npm install cypress --save-dev

install cypress 


npm install cypress --save-dev






npx cypress open

node_modules\.bin\cypress open


~~cypress-xpath instaion~~

npm install -D cypress-xpath

1 show under package.json



Add on support/e2e.js folder  

require('cypress-xpath');





if the version change to 12.0.1

to update the version use the cmd prompt or restart the PC 

https://www.npmjs.com/package/cypress


npm install --save-dev cypress












Web jobs on azure

 https://portal.azure.com/#home

app settings >  staging-sanaplatform 

worker-staging-sanaplatform (Latest)

search webjob



search by Ctr+F : web job name want to search  >  Logs > 



once  click > move to recent web jobs 

Rewrite rules

 


normally when creating the web store user creates with dummy name, but when we want to go live it is not nice to show that dummy name 

then create a nice webstore with name and.



after apply, 

need to check with lense 

Network > ingress 



Permanent redirect