You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Identify all File comparison (for KET files ONLY!) operations made by following code:
const expectedFile = await getKet(page);
await saveToFile(
'KET/layout-with-long-molecule-inch-bond-lengh.ket', // <--- File name could be different
expectedFile,
);
const { fileExpected: ketFileExpected, file: ketFile } =
await receiveFileComparisonData({
page,
expectedFileName:
'tests/test-data/KET/layout-with-long-molecule-inch-bond-lengh.ket', // <--- File name could be different
});
expect(ketFile).toEqual(ketFileExpected);
or similar
and replace them with proper helper function
await verifyFileExport(
page,
'KET/layout-with-long-molecule-inch-bond-lengh.ket',// <--- No `tests/test-data/` here!!!
FileType.KET,
);
The text was updated successfully, but these errors were encountered:
AlexeyGirin
changed the title
Autotests: Replace File comparison operations with valid helper functions (verifyFile2)
Autotests: Replace File comparison (for KET files ONLY!) operations with valid helper functions (verifyFile2)
Dec 3, 2024
AlexeyGirin
changed the title
Autotests: Replace File comparison (for KET files ONLY!) operations with valid helper functions (verifyFile2)
Autotests: Replace File comparison (for KET files ONLY!) operations with valid helper functions (verifyFileExport)
Dec 25, 2024
or similar
and replace them with proper helper function
The text was updated successfully, but these errors were encountered: