help-test-tutorial-login-debug

This is video was done after I foo-bar a working test and got lost. In my effort to get back to what I had working, I figured out a cleaner way to explain how the feature DSL could talk to the CSS/spec DSL.

  1. tc98 IN the BEGINNING… I had something WORKING… BUT I IMPROVED ;-)
  2. tc114 I explain the Working feature steps
  3. tc254 Explain my concept of what amazoncognito.com is doing DOM wise (picking up a state)
  4. tc291 I explain the double ReactJS identical elements that messes up normal testing selectors
  5. tc459 Start to Follow from Feature file to Webdriver…
    1. tc459 login.feature Scenario STEP -> GIVEN
    2. tc463 given.js -> “I am an anonymous user at the RackN-Portal” -> loginPage (which is our objectpage) given.js imports loginPage from login.page.js
    3. tc519 login.page.js -> requires page.js and inherits to build loginPage
  6. tc679 Now trace down the real BUG in “I attempt RackN-Login with “..” and password “..”
  7. tc771 NOW at tracing back the BUG I introduced
  8. tc840 THE BUG was SIMPLE… I had a require with the wrong directory PATH
  9. tc1067 Slowly work through the tracing the BUG (FOR FUTURE REFERNCE navagating the js TESTING structures) plus it helped me clean up some code
  10. tc1495 BACK to where I was BEFORE I foo-bar’d
  11. tc1629 Now attempting to hack around the issue with react (multiple identical elements) which foo-bars the testing selector pattern
  12. tc1696 Show how test screenshots works
  13. I keep working the feature at this point on… attempting to navagate around the multiple idential react
  14. tc1907 Decide to check in my work… end up talking about all the changes I made