2 declare(strict_types = 1);
19 use TYPO3\TestingFramework\Core\Acceptance\Helper\Topbar;
38 $I->useExistingSession(
'admin');
46 $I->cantSeeElement(self::$topBarModuleSelector .
' ' . Topbar::$dropdownListSelector);
47 $I->fillField(
'#live-search-box',
'adm');
48 $I->waitForElementVisible(self::$topBarModuleSelector .
' ' . Topbar::$dropdownListSelector);
50 $I->canSee(
'Backend user', self::$topBarModuleSelector);
51 $I->click(
'admin', self::$topBarModuleSelector);
53 $I->switchToContentFrame();
54 $I->waitForElementVisible(
'#EditDocumentController');
55 $I->canSee(
'Edit Backend user "admin" on root level');
63 $I->fillField(
'#live-search-box',
'Kasper = Jesus # joh316');
64 $I->waitForElementVisible(self::$topBarModuleSelector .
' ' . Topbar::$dropdownListSelector, 100);
67 $I->canSee(
'No results found.', self::$topBarModuleSelector);
69 $I->click(self::$topBarModuleSelector .
' .close');
70 $I->waitForElementNotVisible(self::$topBarModuleSelector .
' ' . Topbar::$dropdownListSelector, 100);
71 $I->cantSeeInField(
'#live-search-box',
'Kasper = Jesus # joh316');
79 $I->fillField(
'#live-search-box',
'fileadmin');
80 $I->waitForElementVisible(self::$topBarModuleSelector .
' ' . Topbar::$dropdownListSelector);
82 $I->canSee(
'fileadmin/ (auto-created)', self::$topBarModuleSelector);
83 $I->click(
'.t3js-live-search-show-all', self::$topBarModuleSelector);
85 $I->switchToContentFrame();
86 $I->waitForElementVisible(
'form[name="dblistForm"]');
87 $I->canSee(
'fileadmin/ (auto-created)');