test: encoding @ since we encode each url (bp #12567) (#12599)

Co-authored-by: hasnain2808@gmail.com <hasnain2808@gmail.com>
This commit is contained in:
mergify[bot] 2021-03-17 15:08:18 +05:30 committed by GitHub
parent 25fb3c339b
commit 907d418cfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,6 @@ context('Table MultiSelect', () => {
cy.get(`.list-subject:contains("table multiselect")`).last().find('a').click();
cy.get('.frappe-control[data-fieldname="users"] .form-control .tb-selected-value').as('existing_value');
cy.get('@existing_value').find('.btn-link-to-form').click();
cy.location('pathname').should('contain', '/user/test@erpnext.com');
cy.location('pathname').should('contain', '/user/test%40erpnext.com');
});
});