Closed danieltisdale closed 1 year ago
class Applitools extends Helper
you just create a class named Applitools not trying integrating with applitools, did you try using this feature which is available on codeceptjs v2.1.0 https://codecept.io/plugins/#wdio ?
Hi @PeterNgTr , yes that is what I tried at first and when I tried to call browser.takeSnapshot('test')
, I was getting the following error:
browser is not defined
@danieltisdale could you try this? https://applitools.com/tutorials/selenium-javascript.html#quick-start-%F0%9F%9A%80
@PeterNgTr try this instead of the steps documented here, https://webdriver.io/docs/applitools-service.html ?
@PeterNgTr I'm a little confused on how to integrate the selenium javascript tutorial that you posted into codecept. Seems like I would need to just use straight javascript to get that to work as opposed to using Codecept. Thoughts on that?
@danieltisdale I think the current wdio service plugin of CodeceptJS is not well integrated with Applitools.
@danieltisdale I managed to make this working, not with wdio service plugin but modifying the core itself.
@PeterNgTr can you provide me the updates that you made please? I'm not having any luck getting it to work
@danieltisdale I tried to modify the webdriver helper referring to this https://applitools.com/tutorials/webdriverio.html#run-your-first-test but yeah, not fully working, just to make sure applitools and codeceptjs are talking with each other.
@PeterNgTr ok thanks! Please let me know if you are able to find a working solution for this as we are eager to get Applitools and Codecept working together
https://www.npmjs.com/package/codeceptjs-applitoolshelper feel free to try my helper for it!
Is codeceptjs-applitoolshelper the way to go then? ping @yuriieasternpeak @amitzur
What are you trying to achieve?
What do you get instead?
Details