summaryrefslogtreecommitdiff
path: root/tests/Feature/TableTest.php
blob: 8dc327c34ed50828a54e92e790b453b82a998da7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

use Livewire\Livewire;
use Workbench\App\Livewire\ProductsTable;

describe('products table', function () {
    it('does render', function () {
        Livewire::test(ProductsTable::class)
            ->assertSeeHtml('<table')
            ->assertSeeHtml('<thead>')
            ->assertSeeHtml('<tbody>')
            ->assertSeeHtml('<th')
            ->assertSeeHtml('<td');
    });
});