You are here

protected function LingotekFunctionalJavascriptTestBase::connectToLingotek in Lingotek Translation 3.8.x

Same name and namespace in other branches
  1. 8.2 tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php \Drupal\Tests\lingotek\FunctionalJavascript\LingotekFunctionalJavascriptTestBase::connectToLingotek()
  2. 4.0.x tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php \Drupal\Tests\lingotek\FunctionalJavascript\LingotekFunctionalJavascriptTestBase::connectToLingotek()
  3. 3.0.x tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php \Drupal\Tests\lingotek\FunctionalJavascript\LingotekFunctionalJavascriptTestBase::connectToLingotek()
  4. 3.1.x tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php \Drupal\Tests\lingotek\FunctionalJavascript\LingotekFunctionalJavascriptTestBase::connectToLingotek()
  5. 3.2.x tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php \Drupal\Tests\lingotek\FunctionalJavascript\LingotekFunctionalJavascriptTestBase::connectToLingotek()
  6. 3.3.x tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php \Drupal\Tests\lingotek\FunctionalJavascript\LingotekFunctionalJavascriptTestBase::connectToLingotek()
  7. 3.4.x tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php \Drupal\Tests\lingotek\FunctionalJavascript\LingotekFunctionalJavascriptTestBase::connectToLingotek()
  8. 3.5.x tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php \Drupal\Tests\lingotek\FunctionalJavascript\LingotekFunctionalJavascriptTestBase::connectToLingotek()
  9. 3.6.x tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php \Drupal\Tests\lingotek\FunctionalJavascript\LingotekFunctionalJavascriptTestBase::connectToLingotek()
  10. 3.7.x tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php \Drupal\Tests\lingotek\FunctionalJavascript\LingotekFunctionalJavascriptTestBase::connectToLingotek()

Connects to Lingotek.

1 call to LingotekFunctionalJavascriptTestBase::connectToLingotek()
LingotekFunctionalJavascriptTestBase::setUp in tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php

File

tests/src/FunctionalJavascript/LingotekFunctionalJavascriptTestBase.php, line 41

Class

LingotekFunctionalJavascriptTestBase

Namespace

Drupal\Tests\lingotek\FunctionalJavascript

Code

protected function connectToLingotek() {
  $this
    ->drupalGet('admin/lingotek/setup/account');
  $this
    ->clickLink('Connect Lingotek Account');
  $this
    ->drupalPostForm(NULL, [
    'community' => 'test_community',
  ], 'Next');
  $this
    ->drupalPostForm(NULL, [
    'project' => 'test_project',
    'vault' => 'test_vault',
  ], 'Save configuration');
}