//DP-4833 -- Automation: QA - Network Calls going to
https://s2l.sendtonews.com/stn_trk.gif▾
...........................................................................
///
//cmd=PRE_INIT
describe('Window', () => {
beforeEach(() => {
})
it.only('Validate the service "cmd=PRE_INIT" in
https://s2l.sendtonews.com/stn_trk.gif▾
', () => {
cy.visit('https://peterdev.sendtonews.com/demo/QA_test_player.html')
cy.intercept
({
method: 'POS',
url: '/stn_trk.gif**',
hostname: 's2l.sendtonews.com'
}).as('cmd')
cy.wait('@cmd').its('request.url').then((req)=>{
expect(req).to.include('cmd')
})
})
})