VE-888 created a function in the page object to shorten the code in the test class