serge-web / serge-legacy

Serious Gaming, Evolved.
https://serge-web.herokuapp.com
MIT License
0 stars 1 forks source link

Automated e2e test #80

Closed zukilover closed 5 years ago

zukilover commented 5 years ago

Added scenario:

zukilover commented 5 years ago

@IanMayo I have made carefully inspected steps to make sure it doesn't break on most of the times. Network requests are still unreliable especially during first time test run. On the test suites, I targeted these requests by path names, methods, and response statuses. This works just fine for now, but we will need to refactor once the offline mode is up.

IanMayo commented 5 years ago

Thanks @zukilover

CodeFactor has posted some warnings. I presume they're visible to you (maybe they're not :-) ). Could you resolve them please?

I expect they don't represent actual bugs, but it would be good to work towards zero warnings - so that any new warnings stand out clearly.

IanMayo commented 5 years ago

@zukilover - oh, and an unrelated question. In addition to the test classes, there are quite a few changes to the existing code classes. Are these changes for:

zukilover commented 5 years ago

Thanks @zukilover

CodeFactor has posted some warnings. I presume they're visible to you (maybe they're not :-) ). Could you resolve them please?

I expect they don't represent actual bugs, but it would be good to work towards zero warnings - so that any new warnings stand out clearly.

Alright sure, I've noticed it just now. I'll work on the fixes soon.

zukilover commented 5 years ago

@zukilover - oh, and an unrelated question. In addition to the test classes, there are quite a few changes to the existing code classes. Are these changes for:

  • extra functionality in order for a test to refer to UI elements
  • fixes to problems revealed in testing
  • relaxing functionality to make tests pass

These changes to the application are mainly for: