Skip to content

Commit

Permalink
fix: assert value on player
Browse files Browse the repository at this point in the history
  • Loading branch information
ruifigueira committed Sep 11, 2024
1 parent 8290d85 commit 52f4b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/recorder/crxPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export default class Player extends EventEmitter {
return await innerPerformAction(mainFrame, 'assertValue', { selector }, callMetadata => mainFrame.expect(callMetadata, selector, {
selector,
expression: 'to.have.value',
expectedValue: action.value,
expectedText: serializeExpectedTextValues([action.value], { matchSubstring: false, normalizeWhiteSpace: true }),
isNot: false,
timeout: kActionTimeout,
}));
Expand Down

0 comments on commit 52f4b51

Please sign in to comment.