Project

General

Profile

Actions

Task #104714

closed

Test 'FileClipboardCest.php:seeAddRemoveMultipleRecords' fails sporadically again

Added by Ayke Halder 3 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-08-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

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)');

Files


Related issues 4 (1 open3 closed)

Related to TYPO3 Core - Task #104585: Stabilize FileClipboardCest ac testClosed2024-08-10

Actions
Related to TYPO3 Core - Task #104702: Test 'FileClipboardCest.php:seeAddRemoveMultipleRecords' fails sporadicallyClosed2024-08-22

Actions
Related to TYPO3 Core - Task #104964: Column-selector-button and clipboard-panel reload the whole TYPO3-backend instead of just updating the content-frameUnder Review2024-09-13

Actions
Related to TYPO3 Core - Task #105238: Test 'ElementsGroupCest.php:searchForARecordWithRecordBrowserGroup' fails sporadicallyClosed2024-10-08

Actions
Actions #1

Updated by Ayke Halder 3 months ago

  • Related to Task #104585: Stabilize FileClipboardCest ac test added
  • Related to Task #104702: Test 'FileClipboardCest.php:seeAddRemoveMultipleRecords' fails sporadically added
Actions #2

Updated by Gerrit Code Review 3 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85744

Actions #3

Updated by Ayke Halder 3 months ago

  • Description updated (diff)
Actions #4

Updated by Ayke Halder 3 months ago

  • Description updated (diff)
Actions #5

Updated by Gerrit Code Review 3 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85744

Actions #6

Updated by Gerrit Code Review 3 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85744

Actions #7

Updated by Gerrit Code Review 3 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85744

Actions #8

Updated by Ayke Halder 2 months ago

  • Related to Task #104964: Column-selector-button and clipboard-panel reload the whole TYPO3-backend instead of just updating the content-frame added
Actions #9

Updated by Gerrit Code Review 2 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86096

Actions #10

Updated by Gerrit Code Review 2 months ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86097

Actions #11

Updated by Ayke Halder 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Ayke Halder about 2 months ago

  • Related to Task #105238: Test 'ElementsGroupCest.php:searchForARecordWithRecordBrowserGroup' fails sporadically added
Actions #13

Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF