Skip to content

Commit

Permalink
update etalons
Browse files Browse the repository at this point in the history
  • Loading branch information
miherlosev committed May 9, 2022
1 parent 5e86e07 commit 9d692c1
Show file tree
Hide file tree
Showing 46 changed files with 49 additions and 106 deletions.
4 changes: 1 addition & 3 deletions test/server/data/execute-async-expression/runtime-error
Expand Up @@ -2,9 +2,7 @@ An unhandled error occurred in the custom script:

Cannot prepare tests due to the following error:

Cannot initialize a Selector because Selector is undefined, and not one of
the following: a CSS selector string, a Selector object, a node snapshot, a
function, or a Promise returned by a Selector.
Cannot initialize a Selector because Selector is undefined, and not one of the following: a CSS selector string, a Selector object, a node snapshot, a function, or a Promise returned by a Selector.

const s = Selector();

Expand Down
3 changes: 1 addition & 2 deletions test/server/data/execute-async-expression/test-run-error
@@ -1,7 +1,6 @@
An unhandled error occurred in the custom script:

The "timeout" argument is expected to be a positive integer, but it was
string.
The "timeout" argument is expected to be a positive integer, but it was string.

Browser: Chrome 15.0.874.120 / macOS 10.15

Expand Down
@@ -1,8 +1,6 @@
Error at step "Step with <tag>":
A target element of the testAction action has not been found in the DOM tree.
If this element should be created after animation or a time-consuming
operation is finished, use the waitFor action (available for use in code) to
pause test execution until this element appears.
If this element should be created after animation or a time-consuming operation is finished, use the waitFor action (available for use in code) to pause test execution until this element appears.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,6 +1,5 @@
Error at step "Step with <tag>":
waitFor action's first parameter should be a function, a CSS selector or an
array of CSS selectors.
waitFor action's first parameter should be a function, a CSS selector or an array of CSS selectors.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,7 +1,6 @@
Error at step "Step with <tag>":
A target element <element> of the test-action action is not visible.
If this element should appear when you are hovering over another element,
make sure that you properly recorded the hover action.
If this element should appear when you are hovering over another element, make sure that you properly recorded the hover action.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,6 +1,5 @@
Error at step "Step with <tag>":
The selector within the inIFrame function returns more than one iframe
element.
The selector within the inIFrame function returns more than one iframe element.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
@@ -1,6 +1,5 @@
Error at step "Step with <tag>":
It is not allowed to share the DOM element, jQuery object or a function
between test steps via "this" object.
It is not allowed to share the DOM element, jQuery object or a function between test steps via "this" object.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
@@ -1,6 +1,6 @@
The specified "startSelector" does not match any element in the DOM tree.

  | Lorem ipsum dolor sit amet, consectetur adipiscing el...)
  | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
 > | one
  | two
  | three
Expand Down
@@ -1,5 +1,4 @@
The specified "startSelector" is expected to match a DOM element, but it
matches a text node.
The specified "startSelector" is expected to match a DOM element, but it matches a text node.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
The "isAsyncExpression" argument is expected to be a boolean value, but it
was object.
The "isAsyncExpression" argument is expected to be a boolean value, but it was object.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
The "modifier.ctrl" option is expected to be a boolean value, but it was
object.
The "modifier.ctrl" option is expected to be a boolean value, but it was object.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
The "cookie" is expected to be an object, a string or array of objects or
strings.
The "cookie" is expected to be an object, a string or array of objects or strings.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,6 +1,4 @@
The element that matches the specified "startSelector" is expected to have
the contentEditable attribute enabled or the entire document should be in
design mode.
The element that matches the specified "startSelector" is expected to have the contentEditable attribute enabled or the entire document should be in design mode.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
The action element is expected to be editable (an input, textarea or element
with the contentEditable attribute).
The action element is expected to be editable (an input, textarea or element with the contentEditable attribute).

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,6 +1,6 @@
The specified selector does not match any element in the DOM tree.

  | Lorem ipsum dolor sit amet, consectetur adipiscing el...)
  | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
 > | one
  | two
  | three
Expand Down
@@ -1,5 +1,4 @@
Unable to scroll to the specified point because a point with the specified
scrollTargetX property is not located inside the element's cropping region.
Unable to scroll to the specified point because a point with the specified scrollTargetX property is not located inside the element's cropping region.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
The "array" argument is expected to be a non-empty string or a string array,
but it was null.
The "array" argument is expected to be a non-empty string or a string array, but it was null.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
Action options is expected to be an object, null or undefined but it was
number.
Action options is expected to be an object, null or undefined but it was number.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,6 +1,4 @@
Content between the action elements cannot be selected because the root
container for the selection range cannot be found, i.e. these elements do not
have a common ancestor with the contentEditable attribute.
Content between the action elements cannot be selected because the root container for the selection range cannot be found, i.e. these elements do not have a common ancestor with the contentEditable attribute.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
The specified selector is expected to match a DOM element, but it matches a
text node.
The specified selector is expected to match a DOM element, but it matches a text node.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
The "speed" option is expected to be a number between 0.01 and 1, but it was
object.
The "speed" option is expected to be a number between 0.01 and 1, but it was object.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
Elements of the "array" argument are expected to be non-empty strings, but
the element at index 1 was number.
Elements of the "array" argument are expected to be non-empty strings, but the element at index 1 was number.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,6 +1,4 @@
The "device" argument specifies an unsupported "iPhone 555" device. For a
list of supported devices, refer to
"https://github.com/DevExpress/device-specs/blob/master/viewport-sizes.json".
The "device" argument specifies an unsupported "iPhone 555" device. For a list of supported devices, refer to "https://github.com/DevExpress/device-specs/blob/master/viewport-sizes.json".

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
Cannot evaluate the "1 + temp" expression in the "actual" parameter because
of the following error:
Cannot evaluate the "1 + temp" expression in the "actual" parameter because of the following error:

Unexpected identifier

Expand Down
@@ -1,5 +1,4 @@
Attempted to run assertions on a Promise object. Did you forget to await it?
If not, pass "{ allowUnawaitedPromise: true }" to the assertion options.
Attempted to run assertions on a Promise object. Did you forget to await it? If not, pass "{ allowUnawaitedPromise: true }" to the assertion options.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,6 +1,4 @@
Cannot close the window because it does not have a parent. The parent window
was closed or you are attempting to close the root browser window where tests
were launched.
Cannot close the window because it does not have a parent. The parent window was closed or you are attempting to close the root browser window where tests were launched.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,7 +1,6 @@
Cannot obtain information about the node because the specified selector does
not match any node in the DOM tree.
Cannot obtain information about the node because the specified selector does not match any node in the DOM tree.

  | Lorem ipsum dolor sit amet, consectetur adipiscing el...)
  | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
 > | one
  | two
  | three
Expand Down
@@ -1,5 +1,4 @@
eval execution was interrupted by page unload. This problem may appear if you
trigger page navigation from eval code.
eval execution was interrupted by page unload. This problem may appear if you trigger page navigation from eval code.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
ClientFunction cannot return DOM elements. Use Selector functions for this
purpose.
ClientFunction cannot return DOM elements. Use Selector functions for this purpose.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
AssertionError: expected [ 1, 2, 3, [ 4, 5 ], 6 ] to deeply equal [ 1, 4, 2,
3, [ 5, 6, [ 7 ] ] ]
AssertionError: expected [ 1, 2, 3, [ 4, 5 ], 6 ] to deeply equal [ 1, 4, 2, 3, [ 5, 6, [ 7 ] ] ]

+ expected - actual

Expand Down
@@ -1,5 +1,4 @@
AssertionError: expected <Buffer 74 65 73 74> to deeply equal <Buffer 01 02
03>
AssertionError: expected <Buffer 74 65 73 74> to deeply equal <Buffer 01 02 03>

+ expected - actual

Expand Down
@@ -1,5 +1,4 @@
AssertionError: expected { Object (first) } to deeply equal { Object (first)
}
AssertionError: expected { Object (first) } to deeply equal { Object (first) }

+ expected - actual

Expand Down
@@ -1,5 +1,4 @@
Unable to capture an element image because the resulting image width is zero
or negative.
Unable to capture an element image because the resulting image width is zero or negative.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,6 +1,4 @@
Function that specifies a selector can only return a DOM node, an array of
nodes, NodeList, HTMLCollection, null or undefined. Use ClientFunction to
return other values.
Function that specifies a selector can only return a DOM node, an array of nodes, NodeList, HTMLCollection, null or undefined. Use ClientFunction to return other values.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,6 +1,4 @@
A call to an async function is not awaited. Use the "await" keyword before
actions, assertions or chains of them to ensure that they run in the right
sequence.
A call to an async function is not awaited. Use the "await" keyword before actions, assertions or chains of them to ensure that they run in the right sequence.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
Multi-window mode is disabled. To use the "openWindow" method, remove the
"disableMultipleWindows" option.
Multi-window mode is disabled. To use the "openWindow" method, remove the "disableMultipleWindows" option.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,6 +1,4 @@
Multi-window mode is supported only in locally-installed Chrome, Chromium,
Edge 84+ and Firefox. Run tests in these browsers to use the "openWindow"
method.
Multi-window mode is supported only in locally-installed Chrome, Chromium, Edge 84+ and Firefox. Run tests in these browsers to use the "openWindow" method.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,6 +1,4 @@
A native alert dialog was invoked on page "http://example.org", but no
handler was set for it. Use the "setNativeDialogHandler" function to
introduce a handler function for native dialogs.
A native alert dialog was invoked on page "http://example.org", but no handler was set for it. Use the "setNativeDialogHandler" function to introduce a handler function for native dialogs.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
7 changes: 2 additions & 5 deletions test/server/data/expected-test-run-errors/page-load-error
@@ -1,9 +1,6 @@
Failed to load the page at "http://some-url.example.com".
Increase the value of the "pageRequestTimeout" variable, enable the
"retryTestPages" option, or use quarantine mode to perform additional
attempts to execute this test.
You can find troubleshooting information for this issue at
"https://go.devexpress.com/TestCafe_FAQ_ARequestHasFailed.aspx".
Increase the value of the "pageRequestTimeout" variable, enable the "retryTestPages" option, or use quarantine mode to perform additional attempts to execute this test.
You can find troubleshooting information for this issue at "https://go.devexpress.com/TestCafe_FAQ_ARequestHasFailed.aspx".

Error details:
Failed to find a DNS-record for the resource
Expand Down
@@ -1,5 +1,4 @@
Cannot find the parent window. Make sure that the tested window was opened
from another window.
Cannot find the parent window. Make sure that the tested window was opened from another window.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
Cannot find the previous window. Make sure that the previous window is
opened.
Cannot find the previous window. Make sure that the previous window is opened.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
The native dialog handler is expected to be a function, ClientFunction or
null, but it was number.
The native dialog handler is expected to be a function, ClientFunction or null, but it was number.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down
@@ -1,5 +1,4 @@
An error occurred in the 'test-module' module injected into the tested page.
Make sure that this module can be executed in the browser environment.
An error occurred in the 'test-module' module injected into the tested page. Make sure that this module can be executed in the browser environment.

Error details:
TypeError: Cannot read property "prop" of undefined
Expand Down
@@ -1,5 +1,4 @@
An error occurred in the native dialog handler called for a native alert
dialog on page "http://example.org":
An error occurred in the native dialog handler called for a native alert dialog on page "http://example.org":

error message

Expand Down
@@ -1,9 +1,7 @@
A JavaScript error occurred on "http://example.org".
Repeat test actions in the browser and check the console for errors.
To ignore client-side JavaScript errors, enable the "--skip-js-errors" CLI
option, or set the "skipJsErrors" configuration file property to "true".
If the website only throws this error when you test it with TestCafe, please
create a new issue at:
To ignore client-side JavaScript errors, enable the "--skip-js-errors" CLI option, or set the "skipJsErrors" configuration file property to "true".
If the website only throws this error when you test it with TestCafe, please create a new issue at:
"https://github.com/DevExpress/testcafe/issues/new?template=bug-report.md".

JavaScript error details:
Expand Down
@@ -1,5 +1,4 @@
Unable to resize the window because the specified size exceeds the screen
size. On macOS, a window cannot be larger than the screen.
Unable to resize the window because the specified size exceeds the screen size. On macOS, a window cannot be larger than the screen.

Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
Expand Down

0 comments on commit 9d692c1

Please sign in to comment.