forked from lubiana/futtern
booty
This commit is contained in:
parent
c99032044d
commit
5cb66c5012
34 changed files with 1236 additions and 132 deletions
|
@ -100,15 +100,15 @@ describe(FoodOrderController::class, function (): void {
|
|||
$crawler = $this->client->request('GET', "{$this->path}{$order->getId()}");
|
||||
$this->assertResponseIsSuccessful();
|
||||
$tdContent = $crawler->filter(
|
||||
'table.table:nth-child(6) > tbody:nth-child(2) > tr:nth-child(1) > td:nth-child(3)'
|
||||
'table.table-hover tbody tr:nth-child(1) td:nth-child(3)'
|
||||
)->text();
|
||||
$this->assertEquals('A', $tdContent);
|
||||
$tdContent = $crawler->filter(
|
||||
'table.table:nth-child(6) > tbody:nth-child(2) > tr:nth-child(2) > td:nth-child(3)'
|
||||
'table.table-hover tbody tr:nth-child(2) td:nth-child(3)'
|
||||
)->text();
|
||||
$this->assertEquals('B', $tdContent);
|
||||
$tdContent = $crawler->filter(
|
||||
'table.table:nth-child(6) > tbody:nth-child(2) > tr:nth-child(3) > td:nth-child(3)'
|
||||
'table.table-hover tbody tr:nth-child(3) td:nth-child(3)'
|
||||
)->text();
|
||||
$this->assertEquals('C', $tdContent);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue