Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Exclude `ar` from k6 load testing (#5070)

Olga Bulatfa775ddeb019
diff --git a/packages/js/k6/src/frontend/scenarios.ts b/packages/js/k6/src/frontend/scenarios.ts
index e9f89b9c5..27b87ae79 100644
--- a/packages/js/k6/src/frontend/scenarios.ts
+++ b/packages/js/k6/src/frontend/scenarios.ts
@@ -11,7 +11,11 @@ import { FRONTEND_URL, PROJECT_ID } from "./constants.js"
import type { Options, Scenario } from "k6/options"
const STATIC_PAGES = ["about", "sources", "privacy", "sensitive-content"]
-const TEST_LOCALES = ["en", "ru", "es", "ar"]
+// We have machine-generated Arabic locale locally for testing RTL rendering. However,
+// there are no real translations for it yet, so we exclude `ar` here.
+// Check the prod status for `ar` locale:
+// https://translate.wordpress.org/locale/ar/default/meta/openverse/
+const TEST_LOCALES = ["en", "ru", "es"]
const TEST_PARAMS = "license=by&extension=jpg,mp3&source=flickr,jamendo"
const localePrefix = (locale: string) => {