Skip to content

Commit

Permalink
Fix monaco editor check
Browse files Browse the repository at this point in the history
  • Loading branch information
davismcphee committed Oct 4, 2024
1 parent 1df458d commit 1a49126
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions test/functional/services/monaco_editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,13 @@ export class MonacoEditorService extends FtrService {
value
);
});
const newCodeEditorValue = await this.getCodeEditorValue(nthIndex);
expect(newCodeEditorValue).equal(
value,
`Expected value was: ${value}, but got: ${newCodeEditorValue}`
);
await this.retry.try(async () => {
const newCodeEditorValue = await this.getCodeEditorValue(nthIndex);
expect(newCodeEditorValue).equal(
value,
`Expected value was: ${value}, but got: ${newCodeEditorValue}`
);
});
}

public async getCurrentMarkers(testSubjId: string) {
Expand Down

0 comments on commit 1a49126

Please sign in to comment.