-
Notifications
You must be signed in to change notification settings - Fork 10
PLAT-23_behat_tests simple test for the title on the news page #27
Conversation
…campaign into feature/PLAT-23_behat_tests
@wagg-matt @gusliedke @peter-brady @Saphyel @AndyEPhipps @bimsonz @vireshpatel @vdzimwasha @girishmuraly just wanted to stress the coolness of the above |
@pvhee This is very cool. The only thing that bothers me is how we keep the tests up-to-date with constantly changing content. I wonder if it would be possible to abstract the tests from content a little. An example would be making sure all links on a given page just resolve to a page, kind of thing. Just thinking out loud here. |
Maybe testing on css or xpath selectors? |
@peter-brady I see what you mean. I think it would be a good idea to keep these tests simple, use them for header and footer links to make they're all there and go where they need to (be good for things that are constant). Early days so far, when we have more to play with then we'll figure out more of an idea. You can use CSS selectors and specifically drupal regions (as I've used in the above News-page feature) but this will be better to do once we have more structure and a theme in place. |
@peter-brady @wagg-matt the concept of "content" needs probably to be explained:
|
PLAT-23_behat_tests simple test for the title on the news page
First behat test