annathepiper / wp-test-demo-python-selenium

Project to demonstrate my automated testing skills in Python. This code runs Selenium-based test cases against a local Wordpress test site. A port to Python of my wp-test-demo-java-selenium repo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do code cleanup on all tests in this suite

annathepiper opened this issue · comments

After discussion with @diazona on Mastodon, reached the conclusion that I need to clean up this code suite the same way I'd started cleaning up the Java versions of these tests.

Action items:

  • Move all the "verify" methods into their appropriate "WP" classes
  • See if I can nuke WPTestLib completely, by moving all strings into it into appropriate other classes; may need to keep a few global ones for BaseTest? Evaluate on case by case basis
  • Do I really need separate "homepage" and "post" versions of all the main test classes? May be able to condense these if I reorg cleverly enough