Commit 475c84ee authored by Joshua Sedler's avatar Joshua Sedler 🤸🏼
Browse files

Tests not fixable running locally

parent e5cec962
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
@@ -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!');
  }

  /**
@@ -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!');
  }

  /**
@@ -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!');
  }

  /**
@@ -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!');
  }

}