mirrored 11 minutes ago
0
TimothyxxxFix id 13127de
{
    "id": "a10b69e1-6034-4a2b-93e1-571d45194f75",
    "snapshot": "thunderbird",
    "instruction": "Create two local folders in Thunderbird for me: COMPANY and UNIVERSITY.",
    "source": "https://support.mozilla.org/bm/questions/1027435",
    "config": [
        {
            "type": "download",
            "parameters": {
                "files": [
                    {
                        "url": "https://drive.usercontent.google.com/download?id=1EHLRWzBCOsyERkSMUnTF2pnsR0n6ZvtR&export=download&authuser=0&confirm=t&uuid=de09bd5e-bef8-499a-b599-c642af190e10&at=APZUnTXqOsQkxl0zMSX6R1Sgp_v3:1704362491712",
                        "path": "/home/user/thunderbird-profile.tar.gz"
                    }
                ]
            }
        },
        {
            "type": "execute",
            "parameters": {
                "command": [
                    "tar",
                    "-xzv",
                    "--recursive-unlink",
                    "-f",
                    "/home/user/thunderbird-profile.tar.gz",
                    "-C",
                    "/home/user/"
                ]
            }
        },
        {
            "type": "launch",
            "parameters": {
                "command": [
                    "/usr/bin/thunderbird"
                ]
            }
        }
    ],
    "trajectory": "trajectories/2ad9387a-65d8-4e33-ad5b-7580065a27ca",
    "related_apps": [
        "thunderbird"
    ],
    "evaluator": {
        "postconfig": [
            {
                "type": "execute",
                "parameters": {
                    "command": [
                        "ls",
                        "-R",
                        "/home/user/.thunderbird/t5q2a5hp.default-release/Mail/Local Folders"
                    ],
                    "stdout": "thunder-local-folder.ls"
                }
            }
        ],
        "func": "check_list",
        "result": {
            "type": "cache_file",
            "path": "thunder-local-folder.ls"
        },
        "expected": {
            "type": "rule",
            "rules": {
                "expect": [
                    "\\bCOMPANY\\.msf\\b",
                    "\\bCOMPANY/?(?!\\.msf)",
                    "\\bUNIVERSITY\\.msf\\b",
                    "\\bUNIVERSITY/?(?!\\.msf)"
                ]
            }
        }
    }
}