Skip to content

Conversation

@tiagomar
Copy link
Contributor

@tiagomar tiagomar commented Dec 15, 2023

Description

After introducing the Image Optimization popup #21981, testAddGalleryBlock() started failing in CI. Actually, only its first run would fail as the popup wouldn't show up in the retry run.

image

This PR adds the ability to dismiss this popup after adding images to the editor.

To test

  • testAddGalleryBlock() should pass in the first try on CI. - Popup is displayed.
  • testAddMediaBlocks() should pass in the first try on CI. - Popup is NOT displayed.

@tiagomar tiagomar added the Testing Unit and UI Tests and Tooling label Dec 15, 2023
@tiagomar tiagomar added this to the Someday milestone Dec 15, 2023
}

private let turnOnImageOptimizationButtonGetter: (XCUIApplication) -> XCUIElement = {
private let leaveOnImageOptimizationButtonGetter: (XCUIApplication) -> XCUIElement = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renaming so it matches the button text.

@tiagomar tiagomar marked this pull request as ready for review December 15, 2023 16:59
@tiagomar tiagomar requested a review from a team as a code owner December 15, 2023 16:59
Copy link
Contributor

@alpavanoglu alpavanoglu left a comment

Choose a reason for hiding this comment

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

LGTM
If CI passes we should be good to go. I think we can enable auto-merge.

@wpmobilebot
Copy link
Contributor

WordPress Alpha📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
App NameWordPress Alpha WordPress Alpha
ConfigurationRelease-Alpha
Build Numberpr22237-63152cb
Version23.9
Bundle IDorg.wordpress.alpha
Commit63152cb
App Center BuildWPiOS - One-Offs #8153
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@wpmobilebot
Copy link
Contributor

Jetpack Alpha📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
App NameJetpack Alpha Jetpack Alpha
ConfigurationRelease-Alpha
Build Numberpr22237-63152cb
Version23.9
Bundle IDcom.jetpack.alpha
Commit63152cb
App Center Buildjetpack-installable-builds #7173
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@alpavanoglu alpavanoglu merged commit 1c28efc into trunk Dec 15, 2023
@alpavanoglu alpavanoglu deleted the ui-test-image-optimization-popup branch December 15, 2023 18:06
@tiagomar tiagomar restored the ui-test-image-optimization-popup branch December 16, 2023 05:36
@jkmassel jkmassel deleted the ui-test-image-optimization-popup branch July 26, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Testing Unit and UI Tests and Tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants