#104714Test 'FileClipboardCest.php:seeAddRemoveMultipleRecords' fails sporadically again
Description
New reason for failing: the button isn’t there.
1) FileClipboardCest: See add remove multiple records
Test Acceptance/Application/FileList/FileClipboardCest.php:seeAddRemoveMultipleRecords
[Facebook\WebDriver\Exception\NoSuchElementException] no such element:
Unable to locate element: {"method":"css selector","selector":"button[data-multi-record-selection-check-action="check-all"]:not(.disabled)"}
(Session info: chrome-headless-shell=124.0.6367.118)
This is somehow manually reproducable now.
We have to wait until the content-iframe is fully loaded again. Then we can click on ‘t3js-multi-record-selection-check-actions-toggle’.
$I->amGoingTo('add multiple elements to clipboard');
$I->wait(1);
$I->click('Clipboard #1 (multi-selection mode)'); // <-- This reloads the whole iframe
// Wait for iframe loaded and check before going on.
$I->click('.t3js-multi-record-selection-check-actions-toggle');
$I->waitForElementVisible('button[data-multi-record-selection-check-action="check-all"]:not(.disabled)');Reviews 3
Related issues 4
- Task #104585Stabilize FileClipboardCest ac test
- Task #104702Test 'FileClipboardCest.php:seeAddRemoveMultipleRecords' fails sporadically
- Task #104964Column-selector-button and clipboard-panel reload the whole TYPO3-backend instead of just updating the content-frame
- Task #105238Test 'ElementsGroupCest.php:searchForARecordWithRecordBrowserGroup' fails sporadically