Skip to content
Snippets Groups Projects
Commit 0ffecf6a authored by Anja Leichsenring's avatar Anja Leichsenring Committed by Georg Ringer
Browse files

[BUGFIX] Adjust acceptance test for composer max stages

The test fails in recent runs due to a type error. It expects an integer,
but gets served a string and therefore fails.
Adjusting the expected value to be a string solves the test failure.

Resolves: #92496
Releases: master, 10.4
Change-Id: I6289502e7f44c3ec826138b32bdfa8e775565fb1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66063


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent ecefda9f
Branches
Tags
......@@ -180,10 +180,10 @@ class FalMetadataCest
$I->dontSeeCheckboxIsChecked('//input[contains(@name, "[alternative]") and @type="checkbox" and contains(@name, "control[active][sys_file_reference]")]');
$I->dontSeeCheckboxIsChecked('//input[contains(@name, "[description]") and @type="checkbox" and contains(@name, "control[active][sys_file_reference]")]');
$I->amGoingTo('Assert hidden control field value (default value which is used when checkbox is not checked');
$I->seeInField('//input[contains(@name, "[title]") and @type="hidden" and contains(@name, "control[active][sys_file_reference]")]', 0);
$I->seeInField('//input[contains(@name, "[alternative]") and @type="hidden" and contains(@name, "control[active][sys_file_reference]")]', 0);
$I->seeInField('//input[contains(@name, "[description]") and @type="hidden" and contains(@name, "control[active][sys_file_reference]")]', 0);
$I->amGoingTo('Assert hidden control field value (default value which is used when checkbox is not checked)');
$I->seeInField('//input[contains(@name, "[title]") and @type="hidden" and contains(@name, "control[active][sys_file_reference]")]', '0');
$I->seeInField('//input[contains(@name, "[alternative]") and @type="hidden" and contains(@name, "control[active][sys_file_reference]")]', '0');
$I->seeInField('//input[contains(@name, "[description]") and @type="hidden" and contains(@name, "control[active][sys_file_reference]")]', '0');
//when checkbox is unchecked the disabled input is shown
//<input type="text" class="form-control" disabled="disabled" value="Test title">
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment