From the documentation, it says "Pass several variables using commas and no spaces". So, off the bat, it sounds like what you're trying to do isn't possible. However, it may be worth a shot to try a different method. In particular, from this screenshot from the link I provided,
you can see that the last approach passes a JSON object. Perhaps, if for some reason Cypress parses this JSON object differently, you can try
cypress run --env team='{"key": "XXXX XXXX"}'
Alternatively, you could also have multiple Cypress configuration files, each with the relevant team
value. However, if you have multiple team
values, this simple approach doesn't scale particularly well.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…