Functional


1. Setup

2. UI Tests

// Checks link with label 'Add workflow'
$this->assertSession()->linkExists('Add workflow');

// Checks link with exact label 'Add workflow'
$this->assertSession()->linkExistsExact('Add workflow');

// Checks no link with label 'Add workflow'
$this->assertSession()->linkNotExists('Add workflow');

// Checks no link with exact label 'Add workflow'
$this->assertSession()->linkNotExistsExact('Add workflow');

3. Reference

  1. WorkflowUiNoTypeTest
  2. VocabularyPermissionsTest

results matching ""

    No results matching ""