Skip to content

Markets in E2E tests

See the Markets reference for every available market and code.

How market codes map to URLs

Each market has a urlPath that maps to a URL path segment on samsung.com:

MarketCodeURL pathExample URL
United KingdomUKukhttps://samsung.com/uk/
GermanyDEdehttps://samsung.com/de/
Belgium (FR)BE_FRbe_frhttps://samsung.com/be_fr/
NetherlandsNLnlhttps://samsung.com/nl/

Multi-country groups

When you select a multi-country group at scaffold time, the E2E tests run against all countries in the group. For example, selecting BENELUX generates three test iterations:

smoke test - Belgium (NL)    → https://samsung.com/be/
smoke test - Belgium (FR)    → https://samsung.com/be_fr/
smoke test - Netherlands     → https://samsung.com/nl/

This happens automatically because urlsConfig.markets is populated with all countries in the group, and the smoke spec loops over urlsConfig.markets.

The E2E config uses scaffold identifiers such as BE and BE_FR. Team targeting and reporting references may use canonical labels such as BENL and BEFR; do not substitute them without also updating e2e/config.js.

Changing the market after scaffolding

Edit e2e/config.js directly:

js
export const urlsConfig = {
    baseUrl: 'https://samsung.com',
    bundlePath: 'dist/v1-index.jsx',
    markets: [
        // Add or remove entries here
        { code: 'UK', urlPath: 'uk', name: 'United Kingdom' },
        { code: 'DE', urlPath: 'de', name: 'Germany' },
    ],
    // ...
};

The next test run uses the updated list.

Internal tool - Samsung / Sogody experimentation team

Help improve the frameworkShare an idea or friction you encountered.Share framework feedback(opens in a new tab)