testaro 5.11.3 → 5.11.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "5.11.3",
3
+ "version": "5.11.4",
4
4
  "description": "Automation of accessibility testing",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/run.js CHANGED
@@ -1082,8 +1082,8 @@ const doActs = async (report, actIndex, page) => {
1082
1082
  // Click the link and wait for the resulting page event.
1083
1083
  try {
1084
1084
  const [newPage] = await Promise.all([
1085
- page.context().waitForEvent('page', {timeout: 6000}),
1086
- selection.click({timeout: 5000})
1085
+ page.context().waitForEvent('page', {timeout: 7000}),
1086
+ selection.click({timeout: 4000})
1087
1087
  ]);
1088
1088
  // Wait for the new page to load.
1089
1089
  await newPage.waitForLoadState('domcontentloaded', {timeout: 10000});
package/tests/title.js CHANGED
@@ -4,5 +4,8 @@
4
4
  */
5
5
  exports.reporter = async page => {
6
6
  const title = await page.title();
7
- return {result: title};
7
+ return {result: {
8
+ success: true,
9
+ title
10
+ }};
8
11
  };