diff --git a/src/instructions-builder/builtin-assertions.ts b/src/instructions-builder/builtin-assertions.ts index 8c5a554..21050aa 100644 --- a/src/instructions-builder/builtin-assertions.ts +++ b/src/instructions-builder/builtin-assertions.ts @@ -5,6 +5,7 @@ import { Token } from '../interfaces/token.interface'; export const BuiltinAssertionCodes = [ 'have text', 'be visible', + 'be hidden', 'contain text', 'have value', 'have class', @@ -31,6 +32,7 @@ export interface BuiltinAssertionTextPart { export const BuiltinAssertionPatterns: Record = { 'have text {{text}}': 'have text', 'be visible': 'be visible', + 'be hidden': 'be hidden', 'contain text {{text}}': 'contain text', 'have value {{value}}': 'have value', 'have class {{value}}': 'have class',