Skip to content
Snippets Groups Projects
Commit 9ca1de76 authored by Laurent's avatar Laurent
Browse files

dev #39361 test fix

parent e377f093
Branches
Tags
2 merge requests!2346Dev#39361 mode d affichage a la pinterest,!2333Dev#39361 mode d affichage a la pinterest
Pipeline #2506 passed with stage
in 21 minutes and 13 seconds
......@@ -458,19 +458,19 @@ class WidgetControllerArticlesDispatchTest extends WidgetControllerDispatchWidge
/** @test */
public function selectShouldContainsSlideShow() {
$this->assertXPathContentContains('//select/optgroup[@label="Objets java-script"]/option', 'Diaporama avec navigation');
$this->assertXPathContentContains('//select/option', 'Diaporama avec navigation');
}
/** @test */
public function selectShouldContainsAcordionList() {
$this->assertXPathContentContains('//select/optgroup[@label="Objets java-script"]/option', 'Liste en accordéon', $this->_response->getBody());
$this->assertXPathContentContains('//select/option', 'Liste en accordéon', $this->_response->getBody());
}
/** @test */
public function diaporamaNavigationShouldBeSelected() {
$this->assertXPathContentContains('//select/optgroup[@label="Objets java-script"]/option[@value="diaporama_navigation"][@selected="selected"]', 'Diaporama avec navigation', $this->_response->getBody());
$this->assertXPathContentContains('//select/option[@value="diaporama_navigation"][@selected="selected"]', 'Diaporama avec navigation', $this->_response->getBody());
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment