Last active
October 28, 2018 21:47
-
-
Save Robdel12/070f6ea5c8853e56dfa3df287774561f to your computer and use it in GitHub Desktop.
For this blog post: https://medium.com/@robdel12/jest-bigtest-interactor-component-test-%EF%B8%8F-11b1947954c8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Interactor, { scoped } from '@bigtest/interactor'; | |
import ButtonInteractor from '../button/test/interactor'; | |
@Interactor.extend | |
class ModalInteractor { | |
confirmationButton = scoped('[type="submit"]', ButtonInteractor); | |
cancelButton = scoped('.cancel', ButtonInteractor); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment