Skip to content

Commit ca04cce

Browse files
Update edit test case unitFunctions.js #14
1 parent e8201eb commit ca04cce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/RPM/utils/unitFunctions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ async function findEditedUnit(page, unit) {
280280
// Check values for the row
281281
await expect(page.locator(`#Units-name-${index}`)).toHaveText(unit);
282282
await expect(page.locator(`#Units-description-${index}`)).toHaveText(
283-
'Test description'
283+
'Test unit edited'
284284
);
285285
await expect(page.locator(`#Units-abbreviation-${index}`)).toHaveText(
286286
unit
@@ -293,7 +293,7 @@ async function findEditedUnit(page, unit) {
293293
);
294294
await expect(
295295
page.locator(`#Units-measurementSystem-${index}`)
296-
).toHaveText('Unknown');
296+
).toHaveText('Metric');
297297

298298
}
299299

0 commit comments

Comments
 (0)