From 86b9d2d400758f0e8046c7600e351b8aef1315c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Carden=CC=83a?= <35935591+luisecm@users.noreply.github.com> Date: Wed, 6 Mar 2024 13:56:31 -0600 Subject: [PATCH] test(update): fix step on test before reducing font size --- .../reusable-accounts/01-create-accounts-and-friends.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/specs/reusable-accounts/01-create-accounts-and-friends.spec.ts b/tests/specs/reusable-accounts/01-create-accounts-and-friends.spec.ts index 8b230f03d4..4a9f5ec0fa 100644 --- a/tests/specs/reusable-accounts/01-create-accounts-and-friends.spec.ts +++ b/tests/specs/reusable-accounts/01-create-accounts-and-friends.spec.ts @@ -70,6 +70,7 @@ export default async function createChatAccountsTests() { // Grab cache folder and restart const didkey = await settingsProfile.getCopiedDidFromStatusInput(); await saveTestKeys(username, didkey); + await settingsProfile.deleteStatus(); }); it("Chat User A - Settings General - Reduce font size", async () => { @@ -78,7 +79,6 @@ export default async function createChatAccountsTests() { await settingsGeneral.waitForIsShown(true); // Click on font scaling minus button - await settingsGeneral.settingsGeneral.waitForExist(); await settingsGeneral.clickOnFontScalingMinus(); }); @@ -143,14 +143,15 @@ export default async function createChatAccountsTests() { // Grab cache folder and restart const didkey = await settingsProfile.getCopiedDidFromStatusInput(); await saveTestKeys(username, didkey); + await settingsProfile.deleteStatus(); }); it("Chat User B - Settings General - Reduce font size", async () => { // Go to General Settings and reduce Font Size by 0.5 await settingsProfile.goToGeneralSettings(); + await settingsGeneral.waitForIsShown(true); // Click on font scaling minus - await settingsGeneral.waitForIsShown(true); await settingsGeneral.clickOnFontScalingMinus(); });