Category: angularjs

How to mock a request in protractor

I have this mock module: exports.httpBackendMock = function() { angular.module(‘httpBackendMock’, [‘mainApp’, ‘ngMockE2E’]) .run(function($httpBackend) { console.log(‘Test platform bootstrapping’); $httpBackend.whenGET(‘https://alphashare.tracemytrack.com/lts/retrieval/generateQRcode’).respond([{ buildTimestamp: “2019-07-04

Continue reading
How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site