HistoryMap icon indicating copy to clipboard operation
HistoryMap copied to clipboard

Testing - No new node

Open kaidatavis opened this issue 7 years ago • 34 comments

https://goo.gl/8zPGzT

  1. Make sure you understand the behaviours described on the wiki page. Let me know if it is not clear or you don’t agree (for example you think this is not the best way to help user understand what happened);
  2. Create (Jasmine) 'test specs’ for these behaviours (up to the ‘it’ level, but not the function inside it), following Phong’s folder structure; 1a: for the ‘unclear’ cases, just use the current SenseMap behaviour;
  3. Add the actual javascript and sinon-chrome code to make the test running;
  4. For each behaviour, create different types of testing instances. Using ‘new node - manually enters a URL (in the address bar)’ as an example, possible instance can be:
    • url for different websites
    • different protocols: http, https,
    • without protocol
    • invalid url
  5. There is an extra challenge to figure out how to detect page redirection.

kaidatavis avatar Jun 16 '17 16:06 kaidatavis