Asking ChatGPT, it gave me this reply:
To create a custom cookie checker project in BLT 2.6.2, you can follow these steps:
1. Install BLT 2.6.2: If you haven't installed BLT 2.6.2 yet, you can download it from the official website and follow the installation instructions.
2. Create a new project: Open your command line interface or terminal, navigate to the directory where you want to create your project, and run the following command:
blt create <project-name>
Replace `<project-name>` with the desired name of your project.
3. Configure your project: Navigate to the project directory and open the `blt.yml` file in a text editor. In this file, you can define custom checks for cookie handling. For example, you can add a YAML block like this:
yaml
check:
cookies:
- name: <cookie-name>
required: <true|false>
Replace `<cookie-name>` with the name of the cookie you want to check, and `<true|false>` with `true` if the cookie is required or `false` if it's optional. You can add multiple cookie checks by repeating the YAML block.
4. Run the cookie checker: In the project directory, run the following command to execute the custom cookie checks:
./blt tests:run
BLT will run the tests defined in the `blt.yml` file, including the custom cookie checks you added.
That's it! You've created a custom cookie checker project in BLT 2.6.2. Be sure to adjust the cookie checks in the `blt.yml` file to fit your specific requirements.