Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The onActionDone method should take TestRunErrorFormattableAdapter instance instead of Error (closes #4867) #4895

Merged
merged 4 commits into from Mar 24, 2020

Conversation

AlexKamaev
Copy link
Contributor

@AlexKamaev AlexKamaev commented Mar 21, 2020

This is the third attempt to write clean code for adapters.
In this version logic in more linear than in the first one.
The important moment is that we create a separate adapter for the action-done methods. Thus testRunInfo.errs[0] from test-run-done !== err from 'action-done'.
I think it does not really matter, since adapter is only service wrapper above the real error.

In addition, the errors array param on action-done became just err param, because action should have only one error.

@testcafe-build-bot
Copy link
Collaborator

@AlexKamaev
Copy link
Contributor Author

@testcafe-build-bot retest

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@AlexKamaev AlexKamaev changed the title [WIP]one more case of adapter on action done The onActionDone method should take TestRunErrorFormattableAdapter instance instead of Error (closes #4867) Mar 23, 2020
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.

None yet

4 participants