Use more informative text in the reset template dialog

[MAILPOET-6336]
This commit is contained in:
Rostislav Wolny
2024-12-06 10:46:25 +01:00
committed by Rostislav Wolný
parent 1ce1ddc952
commit 2334805b95
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class EmailTemplatesCest {
$i->click('[aria-label="Template actions"]');
$i->waitForText('Reset');
$i->click('Reset');
$i->waitForText('Reset to default and clear all customization?');
$i->waitForText('This will clear ANY and ALL template customization. All updates made to the template will be lost. Do you want to proceed?');
$i->click('Reset');
$i->waitForText('"Simple Light" reset.');
$this->checkTextIsNotInEmail($i, $textInTemplate);

View File

@ -14,7 +14,7 @@ export function TemplateRevertModal( { close } ) {
<Modal size="medium" onRequestClose={ close } __experimentalHideHeader>
<p>
{ __(
'Reset to default and clear all customization?',
'This will clear ANY and ALL template customization. All updates made to the template will be lost. Do you want to proceed?',
'mailpoet'
) }
</p>