From 75a0dea0a5517fd455cc2e0ea8c87cbb05cc14c5 Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Thu, 29 Oct 2026 22:23:05 +0100 Subject: [PATCH] fix(34): WR-10 expect older compatible releases in the Plugins screen smoke test The smoke fixture's acme.blog has v0.1.1 for framework v0.6.0 under a newest release that needs v0.7.0; plugin:install picks v0.1.1, so the marketplace now marks it compatible. --- modules/cabana/plugins_smoke_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/cabana/plugins_smoke_test.go b/modules/cabana/plugins_smoke_test.go index d9c44f67..3d532ef9 100644 --- a/modules/cabana/plugins_smoke_test.go +++ b/modules/cabana/plugins_smoke_test.go @@ -412,9 +412,11 @@ func pluginsRegistrySubtests(t *testing.T) { if len(all.Data) != 3 || all.Meta.Total != 3 { t.Fatalf("unfiltered marketplace = %+v", all) } + // The newest blog release needs v0.7.0, but v0.1.1 fits v0.6.0 and + // is what plugin:install would pick: compatible, no marker (WR-10). blog := all.Data[0] - if blog.ID != "acme.blog" || !blog.Installed || blog.Compatible || blog.LatestFramework != "v0.7.0" { - t.Fatalf("installed blog needing a newer framework = %+v", blog) + if blog.ID != "acme.blog" || !blog.Installed || !blog.Compatible || blog.LatestFramework != "v0.7.0" { + t.Fatalf("installed blog with an older compatible release = %+v", blog) } for _, target := range []string{