Apply test-ids for all stages except production

This commit is contained in:
Eduard Heimbuch
2023-11-24 11:10:59 +01:00
parent 6f55210812
commit 774d7f5fb1

View File

@@ -24,7 +24,7 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore scmStage is set on the index page
export const isDevBuild = () => (window.scmStage || "").toUpperCase() === "DEVELOPMENT";
export const isDevBuild = () => (window.scmStage || "").toUpperCase() !== "PRODUCTION";
export const createAttributesForTesting = (testId?: string) => {
if (!testId) {