test: encoding @ since we encode each url

This commit is contained in:
hasnain2808@gmail.com 2021-03-11 20:43:44 +05:30
parent 3f383e932a
commit 85de1a01df

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');
});
});