Implement catalog startup diagnostics (T-616)
This commit is contained in:
@@ -174,8 +174,8 @@ func TestAdapterContractVirtualizationAndControlLifecycle(t *testing.T) {
|
||||
func TestAdapterContractDistinguishesEmptyCatalogAndNoMatches(t *testing.T) {
|
||||
emptyShell := NewAppShell(adapterContractEdition)
|
||||
emptyNodes := adapterContractLayout(emptyShell, adapterContractViewport)
|
||||
if !adapterContractHasSemantic(emptyNodes, "软件目录尚未加载") {
|
||||
t.Fatal("empty catalog did not render the catalog-unavailable state")
|
||||
if !adapterContractHasSemantic(emptyNodes, "正在加载软件目录") {
|
||||
t.Fatal("empty catalog did not render the catalog-loading state")
|
||||
}
|
||||
if adapterContractHasSemantic(emptyNodes, "显示全部软件") {
|
||||
t.Fatal("empty catalog rendered a filter recovery action")
|
||||
|
||||
Reference in New Issue
Block a user