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

Sabrina/sync e2e tests #1959

Merged
merged 27 commits into from
Dec 18, 2023
Merged

Sabrina/sync e2e tests #1959

merged 27 commits into from
Dec 18, 2023

Conversation

SabrinaTardio
Copy link
Collaborator

@SabrinaTardio SabrinaTardio commented Dec 12, 2023

Copy link
Contributor

github-actions bot commented Dec 12, 2023

Warnings
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS against bcbb51d

@ayoy ayoy force-pushed the sabrina/sync_e2e_tests branch from 02aa6ea to 9d5dc25 Compare December 13, 2023 15:15
Copy link
Collaborator

@ayoy ayoy left a comment

Choose a reason for hiding this comment

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

Leaving one tiny comment about the debug menu.
The tests are good to go in current shape, great job on that @SabrinaTardio!

I found out that we can't clear tested app data directory from within the test case because the test case itself runs in Sandbox and it can't touch app's files directly. We'll have to orchestrate running tests one by one and clearing data in between ourselves.

@@ -585,6 +585,8 @@ import Subscription

NSMenuItem(title: "Trigger Fatal Error", action: #selector(MainViewController.triggerFatalError))

NSMenuItem(title: "Internal User state", action: #selector(MainViewController.internalUserState))
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd call it "Set Internal User State" (also all words capitalized), and if possible, grey out when internal state is enabled.

@ayoy ayoy marked this pull request as ready for review December 18, 2023 12:25
@SabrinaTardio
Copy link
Collaborator Author

Leaving one tiny comment about the debug menu. The tests are good to go in current shape, great job on that @SabrinaTardio!

I found out that we can't clear tested app data directory from within the test case because the test case itself runs in Sandbox and it can't touch app's files directly. We'll have to orchestrate running tests one by one and clearing data in between ourselves.

Yeah I was just looking at that… in CI maybe we could have a separete job for each test and run the clean up script in between

@SabrinaTardio SabrinaTardio merged commit 4448ea1 into main Dec 18, 2023
15 checks passed
@SabrinaTardio SabrinaTardio deleted the sabrina/sync_e2e_tests branch December 18, 2023 14:02
samsymons added a commit that referenced this pull request Dec 19, 2023
* main:
  DBP: Fix unreliable date tests (#1981)
  Add search retention pixel for NetP (#1964)
  Sabrina/sync e2e tests (#1959)
  swiftlint build plugin (#1318)
  VPN Geoswitching - initial draft (#1978)
  Add additional VPN startup pixels (#1975)
  Updates to Autofill Logins copy (#1924)
  Bump version to 1.69.0 (95)
  Remove the reconnect/disconnect logic from the connection tester (#1970)
  Set marketing version to 1.69.0
  Update embedded files
  DBP: Send internal user param for dbp waitlist pixels (#1972)
  Move release task to proper section in Code Freeze workflow (#1977)
  drop Main.storyboard (#1944)
  Add GHA workflow to cut release branch (#1976)
  Move DBP tests into main target (#1974)
  Use static date for PixelKit tests (#1973)
samsymons added a commit that referenced this pull request Dec 21, 2023
# By Dominik Kapusta (41) and others
# Via Dominik Kapusta (9) and others
* main: (138 commits)
  Make sure when we set custom config url, we don't expect etag in return (#1994)
  Add PixelKit source parameter (#1989)
  Fix internal user toggling (#2000)
  Show alert and display warning icon in Sync Settings when data syncing is disabled (#1996)
  DBP: Integrate subscription account authentication to DBP (#1995)
  Improve bookmarks html reader (#1986)
  Add Sync feature flags (#1992)
  Add daily stats pixel (#1993)
  Do not reload DBP tab when switching to it (#1942)
  Fix: external application requests via redirect URLs shows wrong origin. (#1900)
  Update clean-app.sh to work on macOS Sonoma and include NetP containers (#1988)
  Fix: "SwiftLintPlugin" must be enabled before it can be used (#1987)
  Prevent VPN server list persistence failures (#1985)
  add test can remove data (#1980)
  Remove VPN upgrade card (#1983)
  Fix low-res VPN warning asset (#1984)
  DBP: Fix unreliable date tests (#1981)
  Add search retention pixel for NetP (#1964)
  Sabrina/sync e2e tests (#1959)
  swiftlint build plugin (#1318)
  ...

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	DuckDuckGo/Application/AppDelegate.swift
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.

2 participants