diff --git a/test/selenium/Table/CreateTest.php b/test/selenium/Table/CreateTest.php index 3a8259cb8f..1777f071b4 100644 --- a/test/selenium/Table/CreateTest.php +++ b/test/selenium/Table/CreateTest.php @@ -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' + )); } }