Started working on test coverage for an extension called GrowthExperiments. This extension adds in new features for the user’s homepage, welcome survey, help panel and confirmation email. I wrote the first selenium test for the repository as it had no selenium test coverage at all. It was pretty straight forward but I did get hung up on installing dependencies, so my first patch was missing an updated package-lock.json file which was created only after I updated the dependences with npm -i.
The second commit was a test that checks the presence of the GrowthExperiment’s new features on the user’s homepage. I did this by coding this cucumber test:
Given admin logs in and selects user homepage on the Preferences page.
When I go to the admin page
Then I see the GrowthExperiment’s header.