Skip to content

Instantly share code, notes, and snippets.

@Robdel12
Last active October 28, 2018 21:47
Show Gist options
  • Save Robdel12/070f6ea5c8853e56dfa3df287774561f to your computer and use it in GitHub Desktop.
Save Robdel12/070f6ea5c8853e56dfa3df287774561f to your computer and use it in GitHub Desktop.
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