Remove `it.only`
This commit is contained in:
parent
89e068fb09
commit
c734bcdc98
|
|
@ -13,7 +13,7 @@ describe("assignmentStudent.cy.js", () => {
|
||||||
cy.testLearningContentSubtitle("Feedback");
|
cy.testLearningContentSubtitle("Feedback");
|
||||||
});
|
});
|
||||||
|
|
||||||
it.only("can create feedback by giving answers to all steps", () => {
|
it("can create feedback by giving answers to all steps", () => {
|
||||||
cy.get('[data-cy="next-step"]').click({ force: true });
|
cy.get('[data-cy="next-step"]').click({ force: true });
|
||||||
|
|
||||||
// fill feedback form
|
// fill feedback form
|
||||||
|
|
@ -23,6 +23,9 @@ describe("assignmentStudent.cy.js", () => {
|
||||||
cy.get('[data-cy="radio-4"]').click();
|
cy.get('[data-cy="radio-4"]').click();
|
||||||
cy.get('[data-cy="next-step"]').click({ force: true });
|
cy.get('[data-cy="next-step"]').click({ force: true });
|
||||||
|
|
||||||
|
// step 2
|
||||||
|
cy.url().should("include", "step=2");
|
||||||
|
cy.get('[data-cy="next-step"]').should("be.disabled");
|
||||||
// the system should store after every step -> check stored data
|
// the system should store after every step -> check stored data
|
||||||
cy.loadFeedbackResponse("feedback_user_id", TEST_STUDENT1_USER_ID).then(
|
cy.loadFeedbackResponse("feedback_user_id", TEST_STUDENT1_USER_ID).then(
|
||||||
(ac) => {
|
(ac) => {
|
||||||
|
|
@ -31,10 +34,6 @@ describe("assignmentStudent.cy.js", () => {
|
||||||
expect(ac.data.instructor_competence).to.equal(null);
|
expect(ac.data.instructor_competence).to.equal(null);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
// step 2
|
|
||||||
cy.url().should("include", "step=2");
|
|
||||||
cy.get('[data-cy="next-step"]').should("be.disabled");
|
|
||||||
cy.get('[data-cy="radio-3"]').click();
|
cy.get('[data-cy="radio-3"]').click();
|
||||||
cy.get('[data-cy="next-step"]').click({ force: true });
|
cy.get('[data-cy="next-step"]').click({ force: true });
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue