diff --git a/e2e-tests/cypress/tests/support/api/system.js b/e2e-tests/cypress/tests/support/api/system.js index 7e92df7d7f..eca3b5d143 100644 --- a/e2e-tests/cypress/tests/support/api/system.js +++ b/e2e-tests/cypress/tests/support/api/system.js @@ -81,9 +81,16 @@ Cypress.Commands.add('apiInstallTrialLicense', () => { url: '/api/v4/trial-license', method: 'POST', body: { - trialreceive_emails_accepted: true, + receive_emails_accepted: true, terms_accepted: true, users: Cypress.env('numberOfTrialUsers'), + + // Enriched fields required for trial license as of v10.7 + company_country: 'US', + company_name: 'mattermost', + contact_email: 'test@mattermost.com', + company_size: '1-10', + contact_name: 'John Doe', }, }).then((response) => { expect(response.status).to.equal(200);