From ece876d150175f15b633f322d1dc36a1f51d2f75 Mon Sep 17 00:00:00 2001 From: jos <17252150+jostnes@users.noreply.github.com> Date: Wed, 12 Jul 2023 16:07:20 +0800 Subject: [PATCH] properly rename updated vars --- WordPress/UITests/Tests/EditorGutenbergTests.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/WordPress/UITests/Tests/EditorGutenbergTests.swift b/WordPress/UITests/Tests/EditorGutenbergTests.swift index 985f731629e8..5923705b26cd 100644 --- a/WordPress/UITests/Tests/EditorGutenbergTests.swift +++ b/WordPress/UITests/Tests/EditorGutenbergTests.swift @@ -60,15 +60,15 @@ class EditorGutenbergTests: XCTestCase { try BlockEditorScreen() .verifyUndoIsDisabled() .verifyRedoIsDisabled() - .enterTextInTitle(text: title) - .addParagraphBlock(withText: content) - .verifyContentStructure(blocks: 1, words: content.components(separatedBy: " ").count, characters: content.count) + .enterTextInTitle(text: postTitle) + .addParagraphBlock(withText: postContent) + .verifyContentStructure(blocks: 1, words: postContent.components(separatedBy: " ").count, characters: postContent.count) .undo() .undo() .verifyContentStructure(blocks: 0, words: 0, characters: 0) .redo() .redo() - .verifyContentStructure(blocks: 1, words: content.components(separatedBy: " ").count, characters: content.count) + .verifyContentStructure(blocks: 1, words: postContent.components(separatedBy: " ").count, characters: postContent.count) } func testAddRemoveFeaturedImage() throws {