Signup creation and submit tests

This commit is contained in:
Aarni Halinen
2021-01-14 20:44:37 +02:00
parent 957aeb75f2
commit 88f445ef9b
8 changed files with 142 additions and 39 deletions
@@ -77,7 +77,7 @@ class QuestionList extends React.Component<QuestionListProps, QuestionListState>
const { placeholder, innerRef } = this.props;
return (
<div ref={innerRef}>
<div ref={innerRef} data-e2e="admin-signup-question">
{this.renderQuestions()}
{placeholder}
</div>
@@ -87,7 +87,7 @@ const SignupQuestionsWidget: React.FC<SignupQuestionsWidgetProps> = ({ value, on
)}
</Droppable>
</DragDropContext>
<AddQuestionButton type="button" onClick={handleNewRowClick(questions)}>
<AddQuestionButton type="button" onClick={handleNewRowClick(questions)} data-e2e="admin-signup-new-question">
<img src={AddIcon} />
New Question
</AddQuestionButton>