Skip to content

Commit

Permalink
fix session restoration ui test (#3753)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/1202406491309510/1209193663115526/f

**Description**:
- fix failing test due to session state data not getting to record due
to force termination
  • Loading branch information
mallexxx authored Jan 21, 2025
1 parent c5f1f3c commit a64c14c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
<Test
Identifier = "BrokenSiteReportingReferenceTests/testBrokenSiteReporting()">
</Test>
<Test
Identifier = "BrowserTabViewControllerOnboardingTests/testWhenNavigationCompletedAndNoDialogTypeThenOnlyWebViewVisible()">
</Test>
<Test
Identifier = "CBRCompileTimeReporterTests">
</Test>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@
<Test
Identifier = "BrokenSiteReportingReferenceTests/testBrokenSiteReporting()">
</Test>
<Test
Identifier = "BrowserTabViewControllerOnboardingTests/testWhenNavigationCompletedAndNoDialogTypeThenOnlyWebViewVisible()">
</Test>
<Test
Identifier = "CBRCompileTimeReporterTests">
</Test>
Expand Down
2 changes: 1 addition & 1 deletion UITests/StateRestorationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class StateRestorationTests: UITestCase {
"Site didn't load with the expected title in a reasonable timeframe."
)

app.terminate()
app.typeKey("q", modifierFlags: [.command])
app.launch()

XCTAssertTrue(
Expand Down

0 comments on commit a64c14c

Please sign in to comment.