Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

James crt test updates #195

Merged
merged 17 commits into from
Oct 4, 2024
Merged

James crt test updates #195

merged 17 commits into from
Oct 4, 2024

Conversation

JamesPHoughton
Copy link
Contributor

No description provided.

@JamesPHoughton
Copy link
Contributor Author

updates the CRT test to use an independent pathway to results. Also updates the score return signature to match the other surveys.

@JamesPHoughton
Copy link
Contributor Author

@amirrr

Copy link
Collaborator

@amirrr amirrr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good thank you

console.log(spyCall);
expect(spyCall["result"]["score"]).to.eq(2.0);
});
cy.get("@callback").should("have.been.called");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are typing a string into a number field and still getting completion? That shouldn't be possible. I can see from the screenshot also that the field is empty when the test inputs cat

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In other words, this part of the test should fail?

@markwhiting markwhiting requested review from amirrr and removed request for markwhiting September 17, 2024 18:30
@amirrr amirrr merged commit caa8242 into main Oct 4, 2024
4 of 6 checks passed
@amirrr amirrr deleted the james-feelingThermometerUpdates branch October 4, 2024 20:00
@amirrr amirrr restored the james-feelingThermometerUpdates branch October 4, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants