Skip to content

Commit

Permalink
updates part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
tatilepizs committed Aug 29, 2024
1 parent 7f1d99a commit 7601c7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/default-mobile/reports/bulk-delete.wdio-spec.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const utils = require('@utils');
const commonElements = require('@page-objects/default/common/common.wdio.page');
const reportsPage = require('@page-objects/default-mobile/reports/reports.wdio.page');
const { reportsPageDefault } = require('@page-objects/default-mobile/reports/reports.wdio.page');
const loginPage = require('@page-objects/default/login/login.wdio.page');
const userFactory = require('@factories/cht/users/users');
const placeFactory = require('@factories/cht/contacts/place');
const reportFactory = require('@factories/cht/reports/generic-report');
const personFactory = require('@factories/cht/contacts/person');
const { reportsPageDefault } = reportsPage;

describe('Bulk delete reports', () => {
const places = placeFactory.generateHierarchy();
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/default/enketo/undo-death-report.wdio-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('Submit an undo death report', () => {

// Verify that the report was created successfully
await commonPage.goToReports();
const firstReport = await reportsPage.getListReportInfo(await reportsPage.leftPanelSelectorsfirstReport());
const firstReport = await reportsPage.getListReportInfo(await reportsPage.leftPanelSelectors.firstReport());
expect(firstReport.heading).to.equal(person.name);
expect(firstReport.form).to.equal('Undo death report');

Expand Down

0 comments on commit 7601c7c

Please sign in to comment.