add comments

This commit is contained in:
Abi Raja 2024-05-21 10:38:33 -04:00
parent 55a0a6c444
commit 9882447586

View File

@ -3,11 +3,15 @@ import { Stack } from "../lib/stacks";
import { CodeGenerationModel } from "../lib/models"; import { CodeGenerationModel } from "../lib/models";
const TESTS_ROOT_PATH = process.env.TEST_ROOT_PATH; const TESTS_ROOT_PATH = process.env.TEST_ROOT_PATH;
const RESULTS_DIR = `${TESTS_ROOT_PATH}/results`;
// Fixtures
const FIXTURES_PATH = `${TESTS_ROOT_PATH}/fixtures`; const FIXTURES_PATH = `${TESTS_ROOT_PATH}/fixtures`;
const SIMPLE_SCREENSHOT = FIXTURES_PATH + "/simple_button.png"; const SIMPLE_SCREENSHOT = FIXTURES_PATH + "/simple_button.png";
const SCREENSHOT_WITH_IMAGES = `${FIXTURES_PATH}/simple_ui_with_image.png`; const SCREENSHOT_WITH_IMAGES = `${FIXTURES_PATH}/simple_ui_with_image.png`;
// Results
const RESULTS_DIR = `${TESTS_ROOT_PATH}/results`;
describe("e2e tests", () => { describe("e2e tests", () => {
let browser: Browser; let browser: Browser;
let page: Page; let page: Page;