diff --git a/e2e/tests/main.spec.js b/e2e/tests/main.spec.js index e00e96e..7c2b8f4 100644 --- a/e2e/tests/main.spec.js +++ b/e2e/tests/main.spec.js @@ -1,5 +1,13 @@ import { test, expect } from '@playwright/test'; +test('environment variables are set', async () => { + expect(process.env.OKTETO_NAMESPACE).toBeDefined(); + expect(process.env.OKTETO_DOMAIN).toBeDefined(); + expect(process.env.OKTETO_NAMESPACE).not.toBe(''); + expect(process.env.OKTETO_DOMAIN).not.toBe(''); +}); + + test('has title', async ({ page }) => { await page.goto('https://menu-oktaco-pr-20.demo.okteto.dev');