Skip to content
Discussion options

You must be logged in to vote
import { mount } from '@cypress/react'
import SendSurvey from '.../../src/website/Surveys/SendSurvey'
import sendSurveyprops from '../fixtures/surveys/sendSurvey/sendSurveyProps'
import draftId from '../fixtures/surveys/sendSurvey/draftId'


 describe('Send Message To all contacts', () => {
	beforeEach(() => {
		cy.intercept('GET', `**/surveys/1`, {
			fixture: 'surveys/survey_draft.json',
		})
		cy.intercept('GET', `**/surveys/1/survey_questions?**`, {
			fixture: 'surveys/survey_questions_draft.json',
		})

                mount(
                     <UserContext.Provider value={draftId}>
                         <SendSurvey props={sendSurveyprops} />
                     </UserContext.P…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@muratkeremozcan
Comment options

@muriukialex
Comment options

Comment options

You must be logged in to vote
2 replies
@muratkeremozcan
Comment options

@muriukialex
Comment options

Answer selected by muriukialex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants