Skip to content

Commit 9b7027e

Browse files
ACQE-7869: [MFTF PR TESTS] StorefrontInlineTranslationWithQuoteSymbolsTest
- Added steps to clear local storage and cockie.
1 parent ebedc8a commit 9b7027e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/code/Magento/Translation/Test/Mftf/Test/StorefrontInlineTranslationWithQuoteSymbolsTest.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@
7676
<argument name="tags" value=""/>
7777
</actionGroup>
7878

79+
<!-- Clear browser locale storage for magento site -->
80+
<executeJS function="localStorage.clear();" stepKey="clearStorage"/>
81+
<resetCookie userInput="mage-translation-storage" stepKey="resetTranslationStorage"/>
82+
<resetCookie userInput="mage-translation-file-version" stepKey="resetTranslationFileVersion"/>
83+
7984
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
8085
<actionGroup ref="AssertStorefrontCustomWelcomeMessageActionGroup" stepKey="verifyTranslatedWelcomeMessage"/>
8186
<actionGroup ref="AssertOneProductNameInMiniCartActionGroup" stepKey="seeProductInMiniCartAgain">

0 commit comments

Comments
 (0)