You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] (line 9) The following errors happened: [`10` is within 1 of `9` (for NEAR check)]: for command `assert-variable-false: (variable_name, 9, NEAR) // should fail`
5
+
[ERROR] (line 12) The following errors happened: [`10` is not within 1 of `8` (for NEAR check)]: for command `assert-variable: (variable_name, 8, NEAR) // Should fail`
Copy file name to clipboardExpand all lines: tests/ui-tests/asserts.output
+26-19Lines changed: 26 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,32 @@ asserts... FAILED
5
5
[ERROR] (line 6) Error: Evaluation failed: The following errors happened: [`Another page!` starts with `Another` (for STARTS_WITH check)]: for command `assert-text-false: ("header", "Another", STARTS_WITH)`
6
6
[ERROR] (line 9) Error: Evaluation failed: The following errors happened (for selector `.content`): [Property `className` (`content`) does not end with `con`]: for command `assert-property: (".content", {"className": "con"}, [ENDS_WITH, STARTS_WITH])`
7
7
[ERROR] (line 10) Error: Evaluation failed: The following errors happened (for selector `.content`): [Property `className` (`content`) does not end with `con`]: for command `assert-property: (".content", {"className": "con"}, [STARTS_WITH, ENDS_WITH])`
8
-
[ERROR] (line 12) Error: Evaluation failed: The following errors happened (for selector `.content`): [assert didn't fail for property `className` (for STARTS_WITH check)]: for command `assert-property-false: (".content", {"className": "con"}, [STARTS_WITH, ENDS_WITH])`
9
-
[ERROR] (line 13) Error: Evaluation failed: The following errors happened (for selector `.content`): [assert didn't fail for property `className` (for STARTS_WITH check)]: for command `assert-property-false: (".content", {"className": "con"}, [STARTS_WITH, ENDS_WITH])`
10
-
[ERROR] (line 16) Error: Evaluation failed: The following errors happened (for selector `.content`): [Unknown property `does-not-exist`]: for command `assert-property: (".content", {"does-not-exist": ".con"})`
11
-
[ERROR] (line 21) Error: Evaluation failed: The following errors happened (for selector `.content`): [attribute `class` (`content`) doesn't start with `.con` (for STARTS_WITH check), attribute `class` (`content`) doesn't end with `.con`]: for command `assert-attribute: (".content", {"class": ".con"}, [ENDS_WITH, STARTS_WITH])`
12
-
[ERROR] (line 22) Error: Evaluation failed: The following errors happened (for selector `.content`): [attribute `class` (`content`) doesn't start with `.con` (for STARTS_WITH check), attribute `class` (`content`) doesn't end with `.con`]: for command `assert-attribute: (".content", {"class": ".con"}, [STARTS_WITH, ENDS_WITH])`
13
-
[ERROR] (line 23) Error: Evaluation failed: The following errors happened (for selector `.content`): [attribute `class` (`content`) doesn't start with `.con` (for STARTS_WITH check)]: for command `assert-attribute: (".content", {"class": ".con"}, STARTS_WITH)`
14
-
[ERROR] (line 24) Error: Evaluation failed: The following errors happened (for selector `.content`): [No attribute named `"class`]: for command `assert-attribute: (".content", {"\"class": ".con"})`
15
-
[ERROR] (line 29) Error: Evaluation failed: The following errors happened (for selector `.content`): [No attribute named `does-not-exist`]: for command `assert-attribute: (".content", {"does-not-exist": ".con"})`
16
-
[ERROR] (line 35) Error: Evaluation failed: The following errors happened: [`Another page!` doesn't end with `Another` (for ENDS_WITH check)]: for command `assert-text: ("header", "Another", [STARTS_WITH, ENDS_WITH])`
17
-
[ERROR] (line 36) Error: Evaluation failed: The following errors happened: [`Another page!` doesn't end with `Another` (for ENDS_WITH check)]: for command `assert-text: ("header", "Another", ENDS_WITH)`
18
-
[ERROR] (line 38) Error: Evaluation failed: The following errors happened: [assert didn't fail for property `title` (for STARTS_WITH check), assert didn't fail for property `bgColor` (for STARTS_WITH check), assert didn't fail for property `bgColor` (for ENDS_WITH check)]: for command `assert-document-property-false: ({"title": "Other", "bgColor": ""}, [ENDS_WITH, STARTS_WITH])`
19
-
[ERROR] (line 39) Error: Evaluation failed: The following errors happened: [assert didn't fail for property `title` (for STARTS_WITH check)]: for command `assert-document-property-false: ({"title": "Other"}, STARTS_WITH)`
20
-
[ERROR] (line 40) Error: Evaluation failed: The following errors happened: [Property `title` (`Other page`) does not end with `Other`, Property `bgColor` (``) does not start with `a`, Property `bgColor` (``) does not end with `a`]: for command `assert-document-property: ({"title": "Other", "bgColor": "a"}, [STARTS_WITH, ENDS_WITH])`
21
-
[ERROR] (line 41) Error: Evaluation failed: The following errors happened: [Property `title` (`Other page`) does not end with `Other`]: for command `assert-document-property: ({"title": "Other"}, ENDS_WITH)`
22
-
[ERROR] (line 43) Error: Evaluation failed: The following errors happened: [assert didn't fail for property `pageYOffset` (for STARTS_WITH check), assert didn't fail for property `pageYOffset` (for ENDS_WITH check), assert didn't fail for property `pageXOffset` (for STARTS_WITH check), assert didn't fail for property `pageXOffset` (for ENDS_WITH check)]: for command `assert-window-property-false: ({"pageYOffset": "0", "pageXOffset": "0"}, [ENDS_WITH, STARTS_WITH])`
23
-
[ERROR] (line 44) Error: Evaluation failed: The following errors happened: [assert didn't fail for property `pageYOffset` (for STARTS_WITH check)]: for command `assert-window-property-false: ({"pageYOffset": "0"}, STARTS_WITH)`
24
-
[ERROR] (line 45) Error: Evaluation failed: The following errors happened: [Property `pageYOffset` (`0`) does not start with `www`, Property `pageYOffset` (`0`) does not end with `www`, Property `pageXOffset` (`0`) does not start with `www`, Property `pageXOffset` (`0`) does not end with `www`]: for command `assert-window-property: ({"pageYOffset": "www", "pageXOffset": "www"}, [STARTS_WITH, ENDS_WITH])`
25
-
[ERROR] (line 46) Error: Evaluation failed: The following errors happened: [Property `pageYOffset` (`0`) does not end with `www`]: for command `assert-window-property: ({"pageYOffset": "www"}, ENDS_WITH)`
26
-
[ERROR] (line 48) "#non-existent" not found: for command `click: "#non-existent"`
8
+
[ERROR] (line 13) Error: Evaluation failed: The following errors happened (for selector `.content`): [Property `className` (`content`) does not contain `wowo`]: for command `assert-property: (".content", {"className": "wowo"}, [CONTAINS, NEAR])`
9
+
[ERROR] (line 15) Error: Evaluation failed: The following errors happened (for selector `.content`): [Property `clientWidth` (`800`) does not contain `999`, Property `clientWidth` (`800`) is not within 1 of `999` (for NEAR check)]: for command `assert-property: (".content", {"clientWidth": "999"}, [CONTAINS, NEAR])`
10
+
[ERROR] (line 16) Error: Evaluation failed: The following errors happened (for selector `.content`): [assert didn't fail for property `className` (for STARTS_WITH check)]: for command `assert-property-false: (".content", {"className": "con"}, [STARTS_WITH, ENDS_WITH])`
11
+
[ERROR] (line 17) Error: Evaluation failed: The following errors happened (for selector `.content`): [assert didn't fail for property `className` (for STARTS_WITH check)]: for command `assert-property-false: (".content", {"className": "con"}, [STARTS_WITH, ENDS_WITH])`
12
+
[ERROR] (line 24) Error: Evaluation failed: The following errors happened (for selector `.content`): [Unknown property `does-not-exist`]: for command `assert-property: (".content", {"does-not-exist": ".con"})`
13
+
[ERROR] (line 29) Error: Evaluation failed: The following errors happened (for selector `.content`): [attribute `class` (`content`) doesn't start with `.con` (for STARTS_WITH check), attribute `class` (`content`) doesn't end with `.con`]: for command `assert-attribute: (".content", {"class": ".con"}, [ENDS_WITH, STARTS_WITH])`
14
+
[ERROR] (line 30) Error: Evaluation failed: The following errors happened (for selector `.content`): [attribute `class` (`content`) doesn't start with `.con` (for STARTS_WITH check), attribute `class` (`content`) doesn't end with `.con`]: for command `assert-attribute: (".content", {"class": ".con"}, [STARTS_WITH, ENDS_WITH])`
15
+
[ERROR] (line 31) Error: Evaluation failed: The following errors happened (for selector `.content`): [attribute `class` (`content`) doesn't start with `.con` (for STARTS_WITH check)]: for command `assert-attribute: (".content", {"class": ".con"}, STARTS_WITH)`
16
+
[ERROR] (line 32) Error: Evaluation failed: The following errors happened (for selector `.content`): [attribute `class` (`content`) doesn't contain `.con` (for CONTAINS check)]: for command `assert-attribute: (".content", {"class": ".con"}, CONTAINS)`
17
+
[ERROR] (line 36) Error: Evaluation failed: ReferenceError: nonMatchingProps is not defined
18
+
at pptr://__puppeteer_evaluation_script__:13:13: for command `assert-attribute: (".content", {"nb-value": 999}, NEAR)`
19
+
[ERROR] (line 37) Error: Evaluation failed: The following errors happened (for selector `.content`): [No attribute named `"class`]: for command `assert-attribute: (".content", {"\"class": ".con"})`
20
+
[ERROR] (line 46) Error: Evaluation failed: The following errors happened (for selector `.content`): [No attribute named `does-not-exist`]: for command `assert-attribute: (".content", {"does-not-exist": ".con"})`
21
+
[ERROR] (line 52) Error: Evaluation failed: The following errors happened: [`Another page!` doesn't end with `Another` (for ENDS_WITH check)]: for command `assert-text: ("header", "Another", [STARTS_WITH, ENDS_WITH])`
22
+
[ERROR] (line 53) Error: Evaluation failed: The following errors happened: [`Another page!` doesn't end with `Another` (for ENDS_WITH check)]: for command `assert-text: ("header", "Another", ENDS_WITH)`
23
+
[ERROR] (line 55) Error: Evaluation failed: The following errors happened: [assert didn't fail for property `title` (for STARTS_WITH check), assert didn't fail for property `bgColor` (for STARTS_WITH check), assert didn't fail for property `bgColor` (for ENDS_WITH check)]: for command `assert-document-property-false: ({"title": "Other", "bgColor": ""}, [ENDS_WITH, STARTS_WITH])`
24
+
[ERROR] (line 56) Error: Evaluation failed: The following errors happened: [assert didn't fail for property `title` (for STARTS_WITH check)]: for command `assert-document-property-false: ({"title": "Other"}, STARTS_WITH)`
25
+
[ERROR] (line 61) Error: Evaluation failed: The following errors happened: [Property `title` (`Other page`) does not end with `Other`, Property `bgColor` (``) does not start with `a`, Property `bgColor` (``) does not end with `a`]: for command `assert-document-property: ({"title": "Other", "bgColor": "a"}, [STARTS_WITH, ENDS_WITH])`
26
+
[ERROR] (line 62) Error: Evaluation failed: The following errors happened: [Property `title` (`Other page`) does not end with `Other`]: for command `assert-document-property: ({"title": "Other"}, ENDS_WITH)`
27
+
[ERROR] (line 66) Error: Evaluation failed: The following errors happened: [Property `nodeType` (`9`) is not within 1 of `999` (for NEAR check)]: for command `assert-document-property: ({"nodeType": 999}, NEAR)`
28
+
[ERROR] (line 68) Error: Evaluation failed: The following errors happened: [assert didn't fail for property `pageYOffset` (for STARTS_WITH check), assert didn't fail for property `pageYOffset` (for ENDS_WITH check), assert didn't fail for property `pageXOffset` (for STARTS_WITH check), assert didn't fail for property `pageXOffset` (for ENDS_WITH check)]: for command `assert-window-property-false: ({"pageYOffset": "0", "pageXOffset": "0"}, [ENDS_WITH, STARTS_WITH])`
29
+
[ERROR] (line 69) Error: Evaluation failed: The following errors happened: [assert didn't fail for property `pageYOffset` (for STARTS_WITH check)]: for command `assert-window-property-false: ({"pageYOffset": "0"}, STARTS_WITH)`
30
+
[ERROR] (line 74) Error: Evaluation failed: The following errors happened: [Property `pageYOffset` (`0`) does not start with `www`, Property `pageYOffset` (`0`) does not end with `www`, Property `pageXOffset` (`0`) does not start with `www`, Property `pageXOffset` (`0`) does not end with `www`]: for command `assert-window-property: ({"pageYOffset": "www", "pageXOffset": "www"}, [STARTS_WITH, ENDS_WITH])`
31
+
[ERROR] (line 75) Error: Evaluation failed: The following errors happened: [Property `pageYOffset` (`0`) does not end with `www`]: for command `assert-window-property: ({"pageYOffset": "www"}, ENDS_WITH)`
32
+
[ERROR] (line 79) Error: Evaluation failed: The following errors happened: [Property `length` (`0`) is not within 1 of `999` (for NEAR check)]: for command `assert-window-property: ({"length": 999}, NEAR)`
33
+
[ERROR] (line 81) "#non-existent" not found: for command `click: "#non-existent"`
0 commit comments