wordpress-mobile / wordpress-mobile/WordPress-iOS

[UI Tests] - Remove unnecessary waits from tests

Open
#19,289 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Task Testing
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

There are currently some checks that are done on the UI tests that are no longer necessary. This causes the tests to wait longer for something that will not appear.

This issue is to track those and remove them from tests that no longer need them. (Example)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the example in WordPress/UITestsFoundation/Screens/Login/LoginEpilogueScreen.swift, especially the referenced check, and inspect nearby UI tests for similar unnecessary waits. Done means removing waits that no longer correspond to an expected UI element and confirming the affected UI tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev, testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.