Skip to content

Commit

Permalink
fixed lint and test
Browse files Browse the repository at this point in the history
  • Loading branch information
YuliaKrimerman committed Aug 15, 2024
1 parent b0f9e16 commit 8ca179e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,10 @@ describe('Model Registry core', () => {
.contains(
'A machine learning model trained to detect fraudulent transactions in financial data',
);
registeredModelRow.findOwner().contains('Author 1' || '-');
registeredModelRow.findOwner().should(($owner) => {
const text = $owner.text();
expect(text).to.be.oneOf(['Author 1', '-']);
});

// Label popover
registeredModelRow.findLabelPopoverText().contains('2 more');
Expand Down

0 comments on commit 8ca179e

Please sign in to comment.