You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/master/developers-guide/e2e-tests.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,15 +223,17 @@ Prior to running Cypress against Metabase® Enterprise Edition™, set `MB_EDITI
223
223
224
224
**Enterprise instance will start without a premium token!**
225
225
226
-
If you want to test premium features (feature flags), valid tokens need to be available to all Cypress tests. We achieve this by prefixing environment variables with `CYPRESS_`.
227
-
You should provide two tokens that correspond to the `EE/PRO` self-hosted (all features enabled) and `STARTER` Cloud (no features enabled) Metabase plans. For more information, please see [Metabase pricing page](/pricing/). (note: only a few tests require the no features token)
226
+
If you want to test premium features (feature flags), valid tokens need to be available to all Cypress tests.
227
+
You should provide 4 tokens:
228
228
229
-
-`CYPRESS_ALL_FEATURES_TOKEN`
230
-
-`CYPRESS_NO_FEATURES_TOKEN`
229
+
- MB_ALL_FEATURES_TOKEN: all feature enabled, including new feature not released yet to customers
230
+
- MB_STARTER_CLOUD_TOKEN: only 'hosting' feature enabled to simulate the starter plan on cloud
231
+
- MB_PRO_CLOUD_TOKEN: PRO features enabled + 'hosting' to simulate the pro plan on cloud
232
+
- MB_PRO_SELF_HOSTED_TOKEN: PRO features but no 'hosting' to simulate the pro self-hosted plan
<p><strong>Enterprise instance will start without a premium token!</strong></p>
5021
5021
5022
-
<p>If you want to test premium features (feature flags), valid tokens need to be available to all Cypress tests. We achieve this by prefixing environment variables with <codeclass="language-plaintext highlighter-rouge">CYPRESS_</code>.
5023
-
You should provide two tokens that correspond to the <codeclass="language-plaintext highlighter-rouge">EE/PRO</code> self-hosted (all features enabled) and <codeclass="language-plaintext highlighter-rouge">STARTER</code> Cloud (no features enabled) Metabase plans. For more information, please see <ahref="/pricing/">Metabase pricing page</a>. (note: only a few tests require the no features token)</p>
5022
+
<p>If you want to test premium features (feature flags), valid tokens need to be available to all Cypress tests.
<p>You can configure these via ENVs or via the <codeclass="language-plaintext highlighter-rouge">cypress.env.json</code> file (see <codeclass="language-plaintext highlighter-rouge">cypress.env.json.example</code> for an example).</p>
5033
+
5034
+
<p>For more information, please see <ahref="/pricing/">Metabase pricing page</a>.</p>
5032
5035
5033
5036
<p>If you navigate to the <codeclass="language-plaintext highlighter-rouge">/admin/settings/license</code> page, the license input field should display the active token. Be careful when sharing screenshots!</p>
0 commit comments