Merge pull request #12567 from hasnain2808/fix-multiselect-dialog

test: encoding @ since we encode each url
This commit is contained in:
mergify[bot] 2021-03-11 16:10:21 +00:00 committed by GitHub
commit 1448a47f62
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');
});
});