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

Allow multiple highlight per plugin #2815

Merged
merged 7 commits into from
May 11, 2020
Merged

Allow multiple highlight per plugin #2815

merged 7 commits into from
May 11, 2020

Conversation

yann300
Copy link
Collaborator

@yann300 yann300 commented May 4, 2020

@yann300 yann300 added the WIP label May 4, 2020
@yann300 yann300 force-pushed the fix#2793 branch 2 times, most recently from 93d46dd to a061f4a Compare May 7, 2020 08:36
@yann300 yann300 requested a review from LianaHus May 11, 2020 12:50
@yann300 yann300 removed the WIP label May 11, 2020
@@ -0,0 +1,15 @@
const EventEmitter = require('events')

class ElementIsPresent extends EventEmitter {
Copy link
Member

@ioedeveloper ioedeveloper May 11, 2020

Choose a reason for hiding this comment

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

Nightwatch api methods contains commands that check for element present and element not present (Nightwatch API), so there may be no need to implement custom commands for those assertions. Except you have other reasons for wanting to use a custom command.

@yann300 yann300 merged commit 4801433 into master May 11, 2020
@yann300 yann300 deleted the fix#2793 branch May 11, 2020 14:18
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.

Allow highlighting multiple parts of the code
2 participants