Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error: expect(received).toHaveURL(expected)
- Expected string: "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/chart/Patient%20Summary"
- Received string: "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- Call log:
- - expect.toHaveURL with timeout 40000ms
- - waiting for locator(':root')
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - waiting for locator(':root')
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- - locator resolved to <html lang="en">…</html>
- - unexpected value "http://localhost:8080/openmrs/spa/patient/7c379278-0fa6-4c03-8ccf-f5456fa69839/edit"
- 37 | await patientEditPage.fillPatientRegistrationForm(formValues);
- 38 |
- > 39 | await expect(page).toHaveURL(`${process.env.E2E_BASE_URL}/spa/patient/${patient.uuid}/chart/Patient Summary`);
- | ^
- 40 | const updatedPatient = await getPatient(api, patient.uuid);
- 41 | const { person } = updatedPatient;
- 42 | const { givenName, middleName, familyName, sex } = formValues;
- at D:\open-source\O3\openmrs-esm-patient-management\e2e\specs\patientEdit.spec.ts:39:22
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement