Use more informative text in the reset template dialog
[MAILPOET-6336]
This commit is contained in:
committed by
Rostislav Wolný
parent
1ce1ddc952
commit
2334805b95
@ -78,7 +78,7 @@ class EmailTemplatesCest {
|
|||||||
$i->click('[aria-label="Template actions"]');
|
$i->click('[aria-label="Template actions"]');
|
||||||
$i->waitForText('Reset');
|
$i->waitForText('Reset');
|
||||||
$i->click('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->click('Reset');
|
||||||
$i->waitForText('"Simple Light" reset.');
|
$i->waitForText('"Simple Light" reset.');
|
||||||
$this->checkTextIsNotInEmail($i, $textInTemplate);
|
$this->checkTextIsNotInEmail($i, $textInTemplate);
|
||||||
|
@ -14,7 +14,7 @@ export function TemplateRevertModal( { close } ) {
|
|||||||
<Modal size="medium" onRequestClose={ close } __experimentalHideHeader>
|
<Modal size="medium" onRequestClose={ close } __experimentalHideHeader>
|
||||||
<p>
|
<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'
|
'mailpoet'
|
||||||
) }
|
) }
|
||||||
</p>
|
</p>
|
||||||
|
Reference in New Issue
Block a user