-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Getting unique validation error from cypress version 5.5.0,what ever the number we input the field validation saying number already exists #14670
Comments
Please provide fully reproducible example we can run. Also could you try the latest Cypress version?
…Sent from my iPhone
On Jan 21, 2021, at 07:14, Venkateswara Rao Kasturi ***@***.***> wrote:
Getting unique validation error from cypress version 5.5.0, what ever the number we input the field validation saying number already exists, however no issues before cypress version 5.4.0, can anyone please help how to resolve the issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I have tried in all the Cypress versions 5.5.0, 5.6.0, 6.0.0, 6.0.1, 6.1.0, 6.2.0, 6.2.1, 6.3.0 - not working Due to confidentiality agreement of the project could not be able to share the code Scenario is to check unique validation for Sales Order field const todaysDate = Cypress.moment().format('MMDDYY')
var x = 100;
var rand = Math.floor(Math.random() * x) + 1; //Generate Random Number
cy.get("input[id*='input_orderNumber']").clear().type("SO"+todaysDate+rand) Getting unique validation error message from cypress version 5.5.0, what ever the number we input the field validation saying number already exists, however no issues before cypress version 5.4.0 |
Thanks for providing the spec code but we need to know your html markup and the code validating the input of any
…Sent from my iPhone
On Jan 21, 2021, at 07:40, Venkateswara Rao Kasturi ***@***.***> wrote:
I have tried in all the Cypress versions 5.5.0, 5.6.0, 6.0.0, 6.0.1, 6.1.0, 6.2.0, 6.2.1, 6.3.0 - not working
Versions before 5.4.0, working fine
Due to confidentiality agreement of the project could not be able to share the code
Scenario is to check unique validation for Sales Order field
const todaysDate = Cypress.moment().format('MMDDYY')
var x = 100;
var rand = Math.floor(Math.random() * x) + 1; //Generate Random Number
cy.get("input[id*='input_orderNumber']").clear().type("SO"+todaysDate+rand)
Getting unique validation error message from cypress version 5.5.0, what ever the number we input the field validation saying number already exists, however no issues before cypress version 5.4.0
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
The only thing in 5.5.0 that I see that could be relevant is this change for Cypress to support And as Gleb mentioned, we need the code or psuedo code around how the input verification works in order to track this down. |
Will take permissions from my Product Owner regarding the "html markup and the code snippet validating the input" and post it shortly.. |
Since this issue hasn't had activity in a while, we'll close the issue until we can confirm this is still happening. Please comment if there is new information to provide concerning the original issue and we'd be happy to reopen. |
Getting unique validation error from cypress version 5.5.0, what ever the number we input the field validation saying number already exists, however no issues before cypress version 5.4.0, can anyone please help how to resolve the issue?
The text was updated successfully, but these errors were encountered: