mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 05:44:58 +00:00
fix css classes in tests
This commit is contained in:
@@ -130,13 +130,13 @@ class TimelineProviderTest extends WebTestCase
|
||||
//performs tests
|
||||
$this->assertTrue($client->getResponse()->isSuccessful(),
|
||||
'The page timeline is loaded successfully');
|
||||
$this->assertGreaterThan(0, $crawler->filter('.report .summary')
|
||||
$this->assertGreaterThan(0, $crawler->filter('.report_entry .summary')
|
||||
->count(),
|
||||
'the page contains a .report .summary element');
|
||||
$this->assertContains('blah blah', $crawler->filter('.report .summary')
|
||||
$this->assertContains('blah blah', $crawler->filter('.report_entry .summary')
|
||||
->text(),
|
||||
'the page contains the text "blah blah"');
|
||||
$this->assertContains('Propriétaire', $crawler->filter('.report .summary')
|
||||
$this->assertContains('Propriétaire', $crawler->filter('.report_entry .summary')
|
||||
->text(),
|
||||
'the page contains the mention "Propriétaire"');
|
||||
}
|
||||
@@ -150,7 +150,7 @@ class TimelineProviderTest extends WebTestCase
|
||||
$crawler = $client->request('GET', '/fr/person/'.$this->person->getId()
|
||||
.'/timeline');
|
||||
|
||||
$this->assertEquals(0, $crawler->filter('.report .summary')
|
||||
$this->assertEquals(0, $crawler->filter('.report_entry .summary')
|
||||
->count(),
|
||||
'the page does not contains a .report .summary element');
|
||||
}
|
||||
|
Reference in New Issue
Block a user