Loading tests/src/FunctionalJavascript/L10NToolsJavascriptTest.php +4 −12 Original line number Diff line number Diff line Loading @@ -140,9 +140,7 @@ class L10NToolsJavascriptTest extends WebDriverTestBase { $this->getSession()->getPage()->pressButton('Show all equal translations'); // Press show, are they deleted? (look for "no translations found" in table) $this->waitForAppearance('css', 'table.responsive-enabled'); // This test can't be more specified, because td class is "empty message" // and 'td.empty message' is not a proper value. $this->assertSession()->elementTextEquals('css', 'td', 'No translations found!'); $this->assertSession()->pageTextContains('No translations found!'); } /** Loading Loading @@ -175,9 +173,7 @@ class L10NToolsJavascriptTest extends WebDriverTestBase { $this->getSession()->getPage()->pressButton('Show all equal translations'); // Press show, are they deleted? (look for "no translations found" in table) $this->waitForAppearance('css', 'table.responsive-enabled'); // This test can't be more specified, because td class is "empty message" // and 'td.empty message' is not a proper value. $this->assertSession()->elementTextEquals('css', 'td', 'No translations found!'); $this->assertSession()->pageTextContains('No translations found!'); } /** Loading Loading @@ -213,9 +209,7 @@ class L10NToolsJavascriptTest extends WebDriverTestBase { $this->getSession()->getPage()->pressButton('Show all equal translations'); // Press show, are they deleted? (look for "no translations found" in table) $this->waitForAppearance('css', 'table.responsive-enabled'); // This test can't be more specified, because td class is "empty message" // and 'td.empty message' is not a proper value. $this->assertSession()->elementTextEquals('css', 'td', 'No translations found!'); $this->assertSession()->pageTextContains('No translations found!'); } /** Loading @@ -236,9 +230,7 @@ class L10NToolsJavascriptTest extends WebDriverTestBase { $this->getSession()->getPage()->pressButton('Show all orphan / untranslated translations'); // Press show, are they deleted? (look for "no translations found" in table) $this->waitForAppearance('css', 'table.responsive-enabled'); // This test can't be more specified, because td class is "empty message" // and 'td.empty message' is not a proper value. $this->assertSession()->elementTextEquals('css', 'td', 'No translations found!'); $this->assertSession()->pageTextContains('No translations found!'); } } Loading
tests/src/FunctionalJavascript/L10NToolsJavascriptTest.php +4 −12 Original line number Diff line number Diff line Loading @@ -140,9 +140,7 @@ class L10NToolsJavascriptTest extends WebDriverTestBase { $this->getSession()->getPage()->pressButton('Show all equal translations'); // Press show, are they deleted? (look for "no translations found" in table) $this->waitForAppearance('css', 'table.responsive-enabled'); // This test can't be more specified, because td class is "empty message" // and 'td.empty message' is not a proper value. $this->assertSession()->elementTextEquals('css', 'td', 'No translations found!'); $this->assertSession()->pageTextContains('No translations found!'); } /** Loading Loading @@ -175,9 +173,7 @@ class L10NToolsJavascriptTest extends WebDriverTestBase { $this->getSession()->getPage()->pressButton('Show all equal translations'); // Press show, are they deleted? (look for "no translations found" in table) $this->waitForAppearance('css', 'table.responsive-enabled'); // This test can't be more specified, because td class is "empty message" // and 'td.empty message' is not a proper value. $this->assertSession()->elementTextEquals('css', 'td', 'No translations found!'); $this->assertSession()->pageTextContains('No translations found!'); } /** Loading Loading @@ -213,9 +209,7 @@ class L10NToolsJavascriptTest extends WebDriverTestBase { $this->getSession()->getPage()->pressButton('Show all equal translations'); // Press show, are they deleted? (look for "no translations found" in table) $this->waitForAppearance('css', 'table.responsive-enabled'); // This test can't be more specified, because td class is "empty message" // and 'td.empty message' is not a proper value. $this->assertSession()->elementTextEquals('css', 'td', 'No translations found!'); $this->assertSession()->pageTextContains('No translations found!'); } /** Loading @@ -236,9 +230,7 @@ class L10NToolsJavascriptTest extends WebDriverTestBase { $this->getSession()->getPage()->pressButton('Show all orphan / untranslated translations'); // Press show, are they deleted? (look for "no translations found" in table) $this->waitForAppearance('css', 'table.responsive-enabled'); // This test can't be more specified, because td class is "empty message" // and 'td.empty message' is not a proper value. $this->assertSession()->elementTextEquals('css', 'td', 'No translations found!'); $this->assertSession()->pageTextContains('No translations found!'); } }