Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native Page Editor Container and UI Tests #4682

Merged
merged 42 commits into from Dec 5, 2023
Merged

Conversation

mazevedofs
Copy link
Collaborator

Phabricator: https://phabricator.wikimedia.org/T347870

Notes

Test Steps

  1. To test the component itself, run the app On the staging target and tap edit on an article. You should see the new editor
  2. To run the UI Tests, hit CMD +U on the new WikipediaUITests target
  3. Run the tests on Xcode Cloud - manually trigger the UI Tests workflow under the main app configurations

Note: currently the theming is not working on the test plan configurations, I'm investigating that

mazevedofs and others added 27 commits November 9, 2023 13:08
This PR brings over to the main repo the contents of this PR wikimedia/wikipedia-ios-components#9
@tonisevener tonisevener self-assigned this Nov 29, 2023
Copy link
Collaborator

@tonisevener tonisevener left a comment

Choose a reason for hiding this comment

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

Nice work, it's looking good! I noticed the theming in the UI tests weren't working quite right on my machine, so I pushed a fix for that. I also reverted any UITest mentions in the other schemes that seemed unnecessary to me. Let me know if that works for you.

Unit tests are failing because of merge conflicts with main, but hopefully they'll run again once conflicts are fixed.

@tonisevener tonisevener removed their assignment Nov 29, 2023
@mazevedofs
Copy link
Collaborator Author

Nice work, it's looking good! I noticed the theming in the UI tests weren't working quite right on my machine, so I pushed a fix for that. I also reverted any UITest mentions in the other schemes that seemed unnecessary to me. Let me know if that works for you.

Unit tests are failing because of merge conflicts with main, but hopefully they'll run again once conflicts are fixed.

Thanks for fixing the theming, it wasn't really working, but I couldn't figure it out (and forgot to ask about it on our 1:1s)

mazevedofs and others added 3 commits December 4, 2023 17:47
String updates, formatting, removing unused extensions and UI Test plan configurations updates
Copy link
Collaborator

@tonisevener tonisevener left a comment

Choose a reason for hiding this comment

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

👏 Working great!


extension ExploreViewController: WKSourceEditorViewControllerDelegate {
func sourceEditorViewControllerDidTapFind(sourceEditorViewController: Components.WKSourceEditorViewController) {
// protocol conformance to run UI Tests
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sorry, I missed that this was needed. 😅

@tonisevener tonisevener merged commit ee174ce into main Dec 5, 2023
4 checks passed
@tonisevener tonisevener deleted the page-editor-ui-tests branch December 5, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants