Skip to content

Commit

Permalink
LPD-45733 Auto SF
Browse files Browse the repository at this point in the history
  • Loading branch information
ccorreagg authored and brianchandotcom committed Feb 3, 2025
1 parent 8823715 commit cc8e8f0
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions modules/test/playwright/tests/export-import-web/import.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,10 @@ test('can import custom object entries at instance level with or without permiss

// Export with permissions

const exportFilePath =
await companyExportImportPage.export('Tests 1 Items', true);
const exportFilePath = await companyExportImportPage.export(
'Tests 1 Items',
true
);

// Import with permissions

Expand All @@ -432,10 +434,7 @@ test('can import custom object entries at instance level with or without permiss
)
).toEqual({status: 'NOT_FOUND'});

await companyExportImportPage.import(
exportFilePath,
true
);
await companyExportImportPage.import(exportFilePath, true);

objectEntry = await apiHelpers.get(
`${apiHelpers.baseUrl}c/tests/by-external-reference-code/${objectEntry.externalReferenceCode}/?nestedFields=permissions`
Expand Down Expand Up @@ -463,9 +462,7 @@ test('can import custom object entries at instance level with or without permiss
)
).toEqual({status: 'NOT_FOUND'});

await companyExportImportPage.import(
exportFilePath
);
await companyExportImportPage.import(exportFilePath);

objectEntry = await apiHelpers.get(
`${apiHelpers.baseUrl}c/tests/by-external-reference-code/${objectEntry.externalReferenceCode}/?nestedFields=permissions`
Expand Down

0 comments on commit cc8e8f0

Please sign in to comment.