From 176ebdeb38904879fb282e18e998a0f3c9b7b09b Mon Sep 17 00:00:00 2001 From: malpou Date: Wed, 21 Oct 2026 20:30:06 +0200 Subject: [PATCH] test(e2e): SSR is told apart by the home page's add-idea button, not the removed badge (ENG-909) The fork dropped the Powered by Fider footer (98a29e31), so the GoogleBot scenario failed on every run. The add-idea button is what the SSR unit test in react_test.go already uses. --- e2e/features/server/ssr.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/features/server/ssr.feature b/e2e/features/server/ssr.feature index 497392ee37..7d4a796cd0 100644 --- a/e2e/features/server/ssr.feature +++ b/e2e/features/server/ssr.feature @@ -5,7 +5,7 @@ Feature: SSR And I set the "User-Agent" header to "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" When I send the request Then I should see http status 200 - And I should not see ">Powered by Fider ⚡" on the response body + And I should not see "p-home__add-idea-btn" on the response body And I should see "This website requires JavaScript, please enable and reload the page." on the response body And I should see "/assets/js/vendor" on the response body @@ -14,6 +14,6 @@ Feature: SSR And I set the "User-Agent" header to "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" When I send the request Then I should see http status 200 - And I should see ">Powered by Fider ⚡" on the response body + And I should see "p-home__add-idea-btn" on the response body And I should not see "This website requires JavaScript, please enable and reload the page." on the response body And I should not see "/assets/js/vendor" on the response body