These are chat archives for Behat/Behat

3rd
Jan 2018
vincentmary
@vincentmary
Jan 03 2018 10:44
Hello does the DocumentElement is updated if the page DOM is changed during a step?
During a step, i need to wait until an ajax call is made to check that page content match a pattern so I use spin method described here http://docs.behat.org/en/v2.5/cookbook/using_spin_functions.html and $this->assertSession()->pageTextMatches($this->fixStepArgument($pattern)); but I think DOM Content is not updated