@dloizides/game-e2e 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +97 -89
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1025,10 +1025,12 @@ function bindingFindings(r, action) {
|
|
|
1025
1025
|
return found;
|
|
1026
1026
|
}
|
|
1027
1027
|
function promptFinding(r) {
|
|
1028
|
-
|
|
1029
|
-
if (!comparable || r.promptText === r.expectedPromptText) {
|
|
1028
|
+
if (r.expectedPromptText === null || r.promptText === r.expectedPromptText) {
|
|
1030
1029
|
return null;
|
|
1031
1030
|
}
|
|
1031
|
+
if (r.promptText === null) {
|
|
1032
|
+
return { name: r.name, why: `prompt missing: the current binding is "${r.expectedPromptText}" but no visible data-gi-prompt shows it` };
|
|
1033
|
+
}
|
|
1032
1034
|
return { name: r.name, why: `prompt shows "${String(r.promptText)}" but the current binding is "${String(r.expectedPromptText)}"` };
|
|
1033
1035
|
}
|
|
1034
1036
|
function actionBindingFindings(r) {
|