Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

wrap wd-methods in bluebirdQ#832

Merged
rostik404 merged 3 commits intomasterfrom
fix-tests
Nov 1, 2017
Merged

wrap wd-methods in bluebirdQ#832
rostik404 merged 3 commits intomasterfrom
fix-tests

Conversation

@rostik404
Copy link
Contributor

No description provided.

@rostik404
Copy link
Contributor Author

/cc @j0tunn @sipayRT @eGavr

.then(function(image) {
return _this._cropToViewport(image, page);
.then((image) => {
return this._cropToViewport(image, page);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

однострочник

return bluebirdQ(this._wdRemote.context('NATIVE_APP'))
.then(this._takeScreenshot.bind(this, page))
.finally(() => {
return bluebirdQ(this._wdRemote.context(oldContext));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

однострочник

@rostik404 rostik404 merged commit 2cf0e2c into master Nov 1, 2017
@rostik404 rostik404 deleted the fix-tests branch November 1, 2017 14:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants