cypress icon indicating copy to clipboard operation
cypress copied to clipboard

fix: --spec now allows () in filename

Open TomasTeixeira2003 opened this issue 10 months ago • 17 comments

  • Closes https://github.com/cypress-io/cypress/issues/28509

Additional details

Even though there was an existing workaround, it is easier to just allow parenthesis.

PR Tasks

TomasTeixeira2003 avatar Apr 05 '24 18:04 TomasTeixeira2003

cypress-app-bot avatar Apr 05 '24 18:04 cypress-app-bot

Is there anything I should do since the check for ''Semantic Pull Request'' is failing?

TomasTeixeira2003 avatar Apr 09 '24 18:04 TomasTeixeira2003

@AtofStryker That's a good call out. This bug only happens when you have a closing paren DIRECTLY following an opening paren, so () not (a). I don't think that would be a valid usecase in any globs 🤔 , so escaping them back to back should be fine. That's what I'm thinking.

jennifer-shehane avatar Apr 12 '24 21:04 jennifer-shehane

@jennifer-shehane is the failure in CI legit in relation to the glob changes?

AtofStryker avatar Apr 16 '24 17:04 AtofStryker

I will look into it today

TomasTeixeira2003 avatar Apr 17 '24 09:04 TomasTeixeira2003

@tomasbjerre Any chance to look at this?

jennifer-shehane avatar Apr 22 '24 18:04 jennifer-shehane

@tomasbjerre Any chance to look at this?

@jennifer-shehane you probably tagged the wrong Tomas. But I think it looks great :)

tomasbjerre avatar Apr 22 '24 18:04 tomasbjerre

Sorry @TomasTeixeira2003 Any chance to look at this?

jennifer-shehane avatar Apr 22 '24 19:04 jennifer-shehane

I'm sorry, have had a lot of work lately. By tomorrow I will check it.

TomasTeixeira2003 avatar Apr 22 '24 19:04 TomasTeixeira2003

@TomasTeixeira2003 Just pinging to check in on these updates again.

jennifer-shehane avatar May 10 '24 11:05 jennifer-shehane

@TomasTeixeira2003 Any chance you'll be able to fix this PR? We'll need to close otherwise.

jennifer-shehane avatar Jun 11 '24 16:06 jennifer-shehane

I've been working on another feature to rerun failed tests and didn't remember about this. Sorry. By Sunday i will have it working.

TomasTeixeira2003 avatar Jun 11 '24 21:06 TomasTeixeira2003

What is the yarn command to run only the system-tests?

TomasTeixeira2003 avatar Jun 18 '24 12:06 TomasTeixeira2003

@TomasTeixeira2003 The instructions are here: https://github.com/cypress-io/cypress/blob/develop/system-tests/README.md

jennifer-shehane avatar Jun 18 '24 14:06 jennifer-shehane

Rerunning the tests here

jennifer-shehane avatar Jun 19 '24 17:06 jennifer-shehane

@TomasTeixeira2003 There are some linting errors

jennifer-shehane avatar Jun 20 '24 19:06 jennifer-shehane

And the other ones are flaky?

TomasTeixeira2003 avatar Jun 20 '24 19:06 TomasTeixeira2003

@jennifer-shehane if I pass the spec file without any blackslash before the parenthesis, bash doesn't even accept the command. But if i do it with the backslash it does work. Screenshot from 2024-07-12 13-42-07 Screenshot from 2024-07-12 13-42-25

TomasTeixeira2003 avatar Jul 12 '24 12:07 TomasTeixeira2003

@TomasTeixeira2003 Are you planning to investigate further?

jennifer-shehane avatar Jul 12 '24 13:07 jennifer-shehane

I don't know what more i can do since my machine allows me to run the spec this way.

TomasTeixeira2003 avatar Jul 12 '24 14:07 TomasTeixeira2003