Skip to content

Conversation

@tomerqodo
Copy link

@tomerqodo tomerqodo commented Jan 21, 2026

Benchmark PR from qodo-benchmark#204


Note

Removes legacy UI tests and updates test stability/coverage.

  • Deletes ClipBoardTests/testCopyLink() and HomePageSettingsUITests/testSetCustomURLAsHome(); cleans up references across AccessibilityTestPlan.xctestplan, FullFunctionalTestPlan.xctestplan, Smoketest.xctestplan, and TAESmokeTestPlan.xctestplan
  • In ClipBoardTests.swift, makes checkUrl(), copyUrl(), and checkCopiedUrl() public and stops invoking checkCopiedUrl() in testClipboard
  • In DisplaySettingsTests.swift, corrects testCheckSystemThemeChanges assertion target and updates the case link
  • In HomePageSettingsUITest.swift, removes the skipped custom URL test and adjusts navigation flow in testDisableTopSitesSettingsRemovesSection()

Written by Cursor Bugbot for commit 83bd21c. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

// Select Light mode
navigator.performAction(Action.SelectLightTheme)
let lightIsSelected = app.buttons[AccessibilityIdentifiers.Settings.Appearance.lightThemeView].value
let lightIsSelected = app.buttons[AccessibilityIdentifiers.Settings.Appearance.darkThemeView].value
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Light theme assertion checks wrong theme view element

Medium Severity

In testCheckSystemThemeChanges(), after selecting the Light theme via Action.SelectLightTheme, the assertion checks darkThemeView.value instead of lightThemeView.value. The variable is named lightIsSelected but reads from the wrong UI element. This causes the test to verify the wrong theme selection state, making it either always fail or give a false positive.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants