Checking in progress, though not fully working as expected
This commit is contained in:
@@ -546,7 +546,7 @@ pub fn test_restore_snapshot_with_settings_page() -> Builder {
|
||||
TestStep::new("Verify settings pane restoration")
|
||||
.add_assertion(assert_pane_title(0, 1, "Settings"))
|
||||
.add_assertion(move |app, window_id| {
|
||||
// Verify the settings view exists and is on the Referrals page.
|
||||
// Verify the settings view exists and is on the About page.
|
||||
let settings_views: Vec<ViewHandle<SettingsView>> = app
|
||||
.views_of_type(window_id)
|
||||
.expect("Settings view must exist");
|
||||
@@ -556,7 +556,7 @@ pub fn test_restore_snapshot_with_settings_page() -> Builder {
|
||||
settings_view.read(app, |view, _| {
|
||||
async_assert_eq!(
|
||||
view.current_settings_section(),
|
||||
SettingsSection::Referrals
|
||||
SettingsSection::About
|
||||
)
|
||||
})
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user