Fix Table\CreateTest E2E test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
2e4a709d6e
commit
1d29d8a928
@ -138,13 +138,10 @@ class CreateTest extends TestBase
|
||||
$this->getCellByTableId('tablestructure', 1, 10)
|
||||
);
|
||||
|
||||
$this->assertFalse(
|
||||
$this->isElementPresent(
|
||||
'cssSelector',
|
||||
'table#tablestructure tbody tr:nth-child(1) "
|
||||
. "ul.table-structure-actions li.primary a'
|
||||
)
|
||||
);
|
||||
self::assertFalse($this->isElementPresent(
|
||||
'cssSelector',
|
||||
'table#tablestructure tbody tr:nth-child(1) ul li.primary a'
|
||||
));
|
||||
|
||||
// make assertions for second row
|
||||
$this->assertStringContainsString(
|
||||
@ -172,11 +169,9 @@ class CreateTest extends TestBase
|
||||
$this->getCellByTableId('tablestructure', 2, 8)
|
||||
);
|
||||
|
||||
$this->assertFalse(
|
||||
$this->isElementPresent(
|
||||
'cssSelector',
|
||||
'css=ul.table-structure-actions:nth-child(2) li.primary a'
|
||||
)
|
||||
);
|
||||
self::assertTrue($this->isElementPresent(
|
||||
'cssSelector',
|
||||
'table#tablestructure tbody tr:nth-child(2) ul li.primary a'
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user