getting data via xhr
e2e testing implemented