public function LocaleTranslateStringTourTest::testTranslateStringTourTips in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/src/Tests/LocaleTranslateStringTourTest.php \Drupal\locale\Tests\LocaleTranslateStringTourTest::testTranslateStringTourTips()
Tests locale tour tip availability.
File
- core/
modules/ locale/ src/ Tests/ LocaleTranslateStringTourTest.php, line 45 - Contains \Drupal\locale\Tests\LocaleTranslateStringTourTest.
Class
- LocaleTranslateStringTourTest
- Tests the Translate Interface tour.
Namespace
Drupal\locale\TestsCode
public function testTranslateStringTourTips() {
// Add another language so there are no missing form items.
$edit = array();
$edit['predefined_langcode'] = 'es';
$this
->drupalPostForm('admin/config/regional/language/add', $edit, t('Add language'));
$this
->drupalGet('admin/config/regional/translate');
$this
->assertTourTips();
}