Skip to content

Conversation

@archfz
Copy link

@archfz archfz commented Feb 22, 2022

cy.readFile is a function to register a command on the cypress command loop. This command loop does not run while tests are not running. Thus the promise generate by cy.readFile will never resolve when called outside of an executing test. The solution is to bypass the command loop and call directly the underlying api.

Fixes also #121 hopefully.

@archfz archfz changed the title #131: Fix issue with compare modal not opening in GUI. #121: Fix issue with compare modal not opening in GUI. Feb 22, 2022
@archfz
Copy link
Author

archfz commented May 25, 2022

Might be related archfz/cypress-terminal-report#145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant