Skip to content

Commit

Permalink
[UI Tests] Changed an element locator.
Browse files Browse the repository at this point in the history
  • Loading branch information
pachlava committed Nov 26, 2023
1 parent 0f32cb9 commit 655a424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WordPress/UITestsFoundation/Screens/NotificationsScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ public class NotificationsScreen: ScreenObject {


public func likeComment() -> Self {
let isCommentTextDisplayed = app.webViews.staticTexts.firstMatch.waitForExistence(timeout: 15)
let isCommentOnTextDisplayed = app.staticTexts["Comment on"].firstMatch.waitForExistence(timeout: 5)

if isCommentTextDisplayed {
if isCommentOnTextDisplayed {
likeCommentButton.tap()
}

Expand Down

0 comments on commit 655a424

Please sign in to comment.