From bbbf5f202dde6cc2951159e923b23e4acf02f4d5 Mon Sep 17 00:00:00 2001 From: pckerneis Date: Mon, 1 Jan 2024 23:22:40 +0100 Subject: [PATCH] Add "be hidden" assertion --- src/instructions-builder/builtin-assertions.ts | 2 ++ 1 file changed, 2 insertions(+) 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',