Fixing failing 3.x E2e tests in QA dashboard

Hi everyone,

Since the openmrs-spa.org is the old version, we are trying to migrate tests to the dev3.openmrs server. Currently, the dev3.openmrs server is not working. The demo server works but some components are missing init.

In 3. x dashboard all tests fail because there is a problem when login into the current server (openmrs-spa.org). In our tests, we used the “spa_user” account but it doesn’t work at the moment. So at the moment, we are unable to fix the failing tests and run tests.

Could someone please let us know whether this is being fixed or is there another server that we can use?

Thank you.

cc: @grace, @jdick, @kdaud, @christine

team: @jayasanka, @heshan, @piumal1999, @pasindur2, @anjisvj, @kumuditha

1 Like

Since the demo server is down, we would switch tests to run on o3.openmrs.org/spa though it has some issues.

have you noticed those specific components?

I read of @grace’s comment on the subject and am not sure how far with stabilizing the server has gone.

cc: @dkayiwa @sharif @ibacher

1 Like

Thanks for the response @kdaud

Here are some issues I noticed:

Thanks @kdaud @piumal1999 can we create the ticket for this and have them fixed. Do you mind sharing the ticket url here .

Please find the PR for Migrating the tests to the o3.openmrs demo server here.

  • Note: This PR migrates all tests to the o3.openmrs demo server. Tests will still fail for the moment. Fixes will be sent by the members assigned to each test.
2 Likes

Members assigned for fixing tests:

4 Likes

Merged the PR. Thanks @kumuditha !

1 Like

Update:

In the 2022-01-05T18:30:00Z micro frontend squad call, we had a discussion about the failing 3.x E2E tests and the demo servers. According to that, the tests should be run against the dev3 environment. There was a suggesstion to run the tests against a docker image instead of an environment. It was suggested to review this docker image. So we’ll have to revert the previous migration commits.

Related slack thread: https://openmrs.slack.com/archives/C02Q7G0A5PE/p1641484016002200

@piumal1999 are you meaning we revert the commit at

?

Yeah.

I think we’ll have to revert #303 as well. (However #303 contains the fix for github workflow working directory issue. So we’ll have to fix that part later)

cc: @jayasanka

@piumal1999 have done the needful.

You need to adjust the login credentials of the demo server within tsconfig.json.

1 Like

Hi all, this PR will update the paths of the 3.X test workflows.

@kumuditha have put a comment on github.

1 Like

Merged at

Thanks @kumuditha

1 Like

Created the pull request for fixing the Clinical Visit E2E test. @jayasanka @kdaud Could you please enable the workflow to test the Pull request?

2 Likes

Created a pull request on running 3.x patient search E2E test on a dockerized environment.

2 Likes