Adds automated UI tests to the Shopping app to ensure that and UI-specific functionality is tested for regression by changes to the underlying VSM framework.
Additional Changes:
Removed alternative examples that used classes with @Published properties since these are more likely to lead engineers astray from the VSM pattern than the few lines they will save in some edge-case features.
Fixed an issue with improper state transitions in the SettingsView
Cleaned up mock network delay constants
Added accessibility identifiers
Cleaned up view code formatting
Fixed state-progression bugs in cart and favorites views
Changed the usage of "StateModel" to just "State" for states that acted as both the state and the model to reduce confusion. (A state can have any shape that suits the feature's needs and protects data actions from misuse)
Description
Adds automated UI tests to the Shopping app to ensure that and UI-specific functionality is tested for regression by changes to the underlying VSM framework.
Additional Changes:
@Published
properties since these are more likely to lead engineers astray from the VSM pattern than the few lines they will save in some edge-case features.Type of Change
Automated Tests
Checklist