testaro 39.0.0 → 39.0.2
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/README.md +1 -1
- package/actSpecs.js +1 -1
- package/package.json +1 -1
- package/procs/identify.js +0 -2
- package/tests/ibm.js +1 -1
package/README.md
CHANGED
|
@@ -919,7 +919,7 @@ Testaro therefore omits some functionalities of Autotest, such as:
|
|
|
919
919
|
|
|
920
920
|
## Code style
|
|
921
921
|
|
|
922
|
-
The JavaScript code in this project generally conforms to the ESLint configuration file `.eslintrc`. However, the `htmlcs/HTMLCS.js` file implements an older version of JavaScript. Its style is regulated by the `htmlcs/.eslintrc.json` file.
|
|
922
|
+
The JavaScript code in this project generally conforms to the ESLint configuration file `.eslintrc.json`. However, the `htmlcs/HTMLCS.js` file implements an older version of JavaScript. Its style is regulated by the `htmlcs/.eslintrc.json` file.
|
|
923
923
|
|
|
924
924
|
## Origin
|
|
925
925
|
|
package/actSpecs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
© 2021–
|
|
2
|
+
© 2021–2024 CVS Health and/or one of its affiliates. All rights reserved.
|
|
3
3
|
|
|
4
4
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
5
|
of this software and associated documentation files (the "Software"), to deal
|
package/package.json
CHANGED
package/procs/identify.js
CHANGED
|
@@ -105,11 +105,9 @@ exports.identify = async (instance, page) => {
|
|
|
105
105
|
if (type === 'xpath') {
|
|
106
106
|
specifier = `xpath=${specifier}`;
|
|
107
107
|
}
|
|
108
|
-
console.log(`Specifier is ${specifier}`);
|
|
109
108
|
try {
|
|
110
109
|
const locators = page.locator(specifier);
|
|
111
110
|
const locatorCount = await locators.count();
|
|
112
|
-
console.log(`Locator count is ${locatorCount}`);
|
|
113
111
|
// If the count of matching elements is 1:
|
|
114
112
|
if (locatorCount === 1) {
|
|
115
113
|
// Add a box ID and a path ID to the result.
|
package/tests/ibm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
© 2021–
|
|
2
|
+
© 2021–2024 CVS Health and/or one of its affiliates. All rights reserved.
|
|
3
3
|
|
|
4
4
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
5
|
of this software and associated documentation files (the "Software"), to deal
|