@camperaid/watest 2.5.0 → 2.5.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 +274 -129
- package/bin/watest.js +36 -2
- package/core/base.js +10 -3
- package/core/core.js +43 -15
- package/core/deps.js +211 -0
- package/core/{process_args.js → process-args.js} +8 -0
- package/core/series.js +70 -28
- package/core/settings.js +28 -10
- package/core/system.js +68 -0
- package/core/util.js +1 -1
- package/eslint.config.js +1 -1
- package/index.js +15 -3
- package/interfaces/servicer.js +13 -3
- package/logging/logging.js +1 -1
- package/logging/logpipe.js +38 -21
- package/package.json +1 -1
- package/tests/base/{t_core.js → t-core.js} +10 -3
- package/tests/base/t-system.js +59 -0
- package/tests/base/{t_throws.js → t-throws.js} +67 -0
- package/tests/base/test.js +1 -2
- package/tests/deps/samples/nested/.watestrc.js +3 -0
- package/tests/deps/samples/nested/tests/meta.js +1 -0
- package/tests/deps/samples/nested/tests/services/meta.js +1 -0
- package/tests/deps/samples/nested/tests/services/ws/meta.js +1 -0
- package/tests/deps/samples/nested/tests/services/ws/webservice/meta.js +2 -0
- package/tests/deps/samples/nested/tests/services/ws/webservice/t-ws.js +3 -0
- package/tests/deps/samples/unified/.watestrc.js +3 -0
- package/tests/deps/samples/unified/tests/e2e/meta.js +4 -0
- package/tests/deps/samples/unified/tests/e2e/pages/meta.js +1 -0
- package/tests/deps/samples/unified/tests/e2e/pages/t-example.js +3 -0
- package/tests/deps/samples/unified/tests/e2e/t-example.js +3 -0
- package/tests/deps/samples/unified/tests/integration/meta.js +3 -0
- package/tests/deps/samples/unified/tests/lib/meta.js +0 -0
- package/tests/deps/samples/unified/tests/lib/t-example.js +3 -0
- package/tests/deps/samples/unified/tests/meta.js +8 -0
- package/tests/deps/samples/unified/tests/services/meta.js +3 -0
- package/tests/deps/samples/unified/tests/services/request/meta.js +1 -0
- package/tests/deps/samples/unified/tests/services/t-example.js +3 -0
- package/tests/deps/t-parse-cell-syntax.js +6 -0
- package/tests/deps/t-parse-grid-args.js +11 -0
- package/tests/deps/t-watest-deps.js +37 -0
- package/tests/deps/t-watest-grid.js +122 -0
- package/tests/deps/test.js +63 -0
- package/tests/e2e/samples/folder/package-lock.json +3 -1
- package/tests/e2e/samples/loader/package-lock.json +3 -1
- package/tests/e2e/samples/loader/tests/meta.js +1 -1
- package/tests/e2e/samples/{loader_mixed → loader-mixed}/package-lock.json +3 -1
- package/tests/e2e/samples/{loader_multiple/tests/core → loader-mixed/tests/ui}/meta.js +1 -1
- package/tests/e2e/samples/{loader_multiple → loader-multiple}/package-lock.json +3 -1
- package/tests/e2e/samples/{loader_multiple → loader-multiple}/tests/base/meta.js +1 -1
- package/tests/e2e/samples/{loader_mixed/tests/ui → loader-multiple/tests/core}/meta.js +1 -1
- package/tests/e2e/samples/single/package-lock.json +3 -1
- package/tests/e2e/samples/{wd_mixed → wd-mixed}/package-lock.json +3 -1
- package/tests/e2e/samples/{wd_single → wd-single}/package-lock.json +3 -1
- package/tests/e2e/{t_folder.js → t-folder.js} +3 -3
- package/tests/e2e/{t_loader_mixed.js → t-loader-mixed.js} +7 -7
- package/tests/e2e/{t_loader_multiple_patterns.js → t-loader-multiple-patterns.js} +9 -9
- package/tests/e2e/{t_loader_multiple.js → t-loader-multiple.js} +8 -8
- package/tests/e2e/{t_loader.js → t-loader.js} +4 -4
- package/tests/e2e/{t_single.js → t-single.js} +3 -3
- package/tests/e2e/{t_wd_firefox_chrome_pattern.js → t-wd-firefox-chrome-pattern.js} +8 -8
- package/tests/e2e/{t_wd_firefox_chrome.js → t-wd-firefox-chrome.js} +7 -7
- package/tests/e2e/{t_wd_firefox.js → t-wd-firefox.js} +5 -5
- package/tests/e2e/{t_wd_mixed_firefox_chrome.js → t-wd-mixed-firefox-chrome.js} +9 -9
- package/tests/e2e/{t_wd_mixed_firefox.js → t-wd-mixed-firefox.js} +7 -7
- package/tests/meta.js +1 -1
- package/tests/series/build/t-pattern-filtering.js +175 -0
- package/tests/series/build/{t_webdriver_services.js → t-webdriver-services.js} +1 -0
- package/tests/series/logging/{t_failures.js → t-failures.js} +1 -1
- package/tests/series/logging/{t_success.js → t-success.js} +1 -1
- package/tests/series/logging/{t_verify.js → t-verify.js} +2 -2
- package/tests/series/meta.js +1 -0
- package/tests/series/perform/{t_failure_notest.js → t-failure-notest.js} +1 -0
- package/tests/series/perform/{t_failure.js → t-failure.js} +1 -0
- package/tests/series/perform/{t_intermittent_global.js → t-intermittent-global.js} +1 -0
- package/tests/series/perform/{t_intermittent.js → t-intermittent.js} +2 -0
- package/tests/series/perform/{t_missing_perma.js → t-missing-perma.js} +2 -0
- package/tests/series/perform/{t_nested.js → t-nested.js} +1 -0
- package/tests/series/perform/{t_perma.js → t-perma.js} +1 -0
- package/tests/series/perform/{t_success.js → t-success.js} +2 -0
- package/tests/series/servicer/mock-servicer.js +68 -0
- package/tests/series/servicer/t-nested-servicer-lifecycle.js +99 -0
- package/tests/series/servicer/t-servicer-no-services.js +53 -0
- package/tests/series/servicer/t-servicer-type-switching.js +139 -0
- package/tests/series/servicer/t-servicer.js +51 -0
- package/tests/series/test.js +1 -1
- package/tests/test.js +2 -0
- package/tests/webdriver/test.js +3 -3
- package/webdriver/{control_driver.js → control-driver.js} +1 -1
- package/webdriver/{driver_base.js → driver-base.js} +3 -1
- package/webdriver/driver.js +1 -1
- package/webdriver/session.js +57 -30
- package/tests/base/{t_api.js → t-api.js} +0 -0
- package/tests/base/{t_contains.js → t-contains.js} +0 -0
- package/tests/base/{t_format.js → t-format.js} +0 -0
- package/tests/base/{t_is_object.js → t-is-object.js} +0 -0
- package/tests/base/{t_is_primitive.js → t-is-primitive.js} +0 -0
- package/tests/base/{t_is_string.js → t-is-string.js} +0 -0
- package/tests/base/{t_is.js → t-is.js} +0 -0
- package/tests/base/{t_ok.js → t-ok.js} +0 -0
- package/tests/base/{t_stringify.js → t-stringify.js} +0 -0
- package/tests/base/{t_test_.js → t-test-.js} +0 -0
- package/tests/e2e/samples/folder/tests/unit/{t_test.js → t-test.js} +0 -0
- package/tests/e2e/samples/{loader_multiple/tests/module_mock.js → loader/tests/module-mock.js} +0 -0
- package/tests/e2e/samples/loader/tests/{t_test.js → t-test.js} +0 -0
- package/tests/e2e/samples/{loader_mixed → loader-mixed}/.watestrc.js +0 -0
- package/tests/e2e/samples/{loader_mixed → loader-mixed}/package.json +0 -0
- package/tests/e2e/samples/{loader_mixed → loader-mixed}/tests/meta.js +0 -0
- package/tests/e2e/samples/{loader/tests/module_mock.js → loader-mixed/tests/module-mock.js} +0 -0
- package/tests/e2e/samples/{loader_mixed → loader-mixed}/tests/module.js +0 -0
- package/tests/e2e/samples/{loader_mixed/tests/ui/t_test.js → loader-mixed/tests/ui/t-test.js} +0 -0
- package/tests/e2e/samples/{loader_mixed/tests/unit/t_test.js → loader-mixed/tests/unit/t-test.js} +0 -0
- package/tests/e2e/samples/{loader_multiple → loader-multiple}/.watestrc.js +0 -0
- package/tests/e2e/samples/{loader_multiple → loader-multiple}/package.json +0 -0
- package/tests/e2e/samples/{loader_multiple/tests/base/t_btest.js → loader-multiple/tests/base/t-btest.js} +0 -0
- package/tests/e2e/samples/{loader_multiple/tests/core/t_ctest.js → loader-multiple/tests/core/t-ctest.js} +0 -0
- package/tests/e2e/samples/{loader_multiple → loader-multiple}/tests/meta.js +0 -0
- package/tests/e2e/samples/{loader_mixed/tests/module_mock.js → loader-multiple/tests/module-mock.js} +0 -0
- package/tests/e2e/samples/{loader_multiple → loader-multiple}/tests/module.js +0 -0
- package/tests/e2e/samples/single/tests/{t_test.js → t-test.js} +0 -0
- package/tests/e2e/samples/{wd_mixed → wd-mixed}/.watestrc.js +0 -0
- package/tests/e2e/samples/{wd_mixed → wd-mixed}/package.json +0 -0
- package/tests/e2e/samples/{wd_mixed → wd-mixed}/tests/meta.js +0 -0
- package/tests/e2e/samples/{wd_mixed → wd-mixed}/tests/ui/meta.js +0 -0
- package/tests/e2e/samples/{wd_mixed/tests/ui/t_test.js → wd-mixed/tests/ui/t-test.js} +0 -0
- package/tests/e2e/samples/{wd_mixed/tests/unit/t_test.js → wd-mixed/tests/unit/t-test.js} +0 -0
- package/tests/e2e/samples/{wd_single → wd-single}/.watestrc.js +0 -0
- package/tests/e2e/samples/{wd_single → wd-single}/package.json +0 -0
- package/tests/e2e/samples/{wd_single → wd-single}/tests/meta.js +0 -0
- package/tests/e2e/samples/{wd_single/tests/t_test.js → wd-single/tests/t-test.js} +0 -0
- package/tests/series/build/{t_adjust_names_webdriver.js → t-adjust-names-webdriver.js} +0 -0
- package/tests/series/build/{t_adjust_names.js → t-adjust-names.js} +0 -0
- package/tests/series/build/{t_expected_failures.js → t-expected-failures.js} +0 -0
- package/tests/series/build/{t_loader_mixed.js → t-loader-mixed.js} +0 -0
- package/tests/series/build/{t_loader.js → t-loader.js} +0 -0
- package/tests/series/build/{t_mixed.js → t-mixed.js} +0 -0
- package/tests/series/build/{t_nested.js → t-nested.js} +0 -0
- package/tests/series/build/{t_patterns_loader.js → t-patterns-loader.js} +0 -0
- package/tests/series/build/{t_patterns_webdriver.js → t-patterns-webdriver.js} +0 -0
- package/tests/series/build/{t_webdriver_firefox_mixed.js → t-webdriver-firefox-mixed.js} +0 -0
- package/tests/series/build/{t_webdriver_nested.js → t-webdriver-nested.js} +0 -0
- package/tests/series/build/{t_webdriver.js → t-webdriver.js} +0 -0
- package/tests/series/generic/{t_failures_info.js → t-failures-info.js} +0 -0
- package/tests/series/{mock_series.js → mock-series.js} +0 -0
- package/tests/series/run/{t_debunk_failure.js → t-debunk-failure.js} +1 -1
- package/tests/series/run/{t_debunk_success.js → t-debunk-success.js} +1 -1
- package/tests/series/run/{t_nested.js → t-nested.js} +1 -1
- package/tests/series/run/{t_verify_webdriver.js → t-verify-webdriver.js} +1 -1
- package/tests/series/run/{t_verify.js → t-verify.js} +1 -1
- /package/tests/webdriver/{t_app_driver_selectors.js → t-app-driver-selectors.js} +0 -0
- /package/tests/webdriver/{t_app_driver.js → t-app-driver.js} +0 -0
- /package/tests/webdriver/{t_attribute_all.js → t-attribute-all.js} +0 -0
- /package/tests/webdriver/{t_attribute.js → t-attribute.js} +0 -0
- /package/tests/webdriver/{t_doubleclick.js → t-doubleclick.js} +0 -0
- /package/tests/webdriver/{t_doubleclickat.js → t-doubleclickat.js} +0 -0
- /package/tests/webdriver/{t_execute.js → t-execute.js} +0 -0
- /package/tests/webdriver/{t_if_has_elements.js → t-if-has-elements.js} +0 -0
- /package/tests/webdriver/{t_if_no_elements.js → t-if-no-elements.js} +0 -0
- /package/tests/webdriver/{t_no_elements_or_not_visible.js → t-no-elements-or-not-visible.js} +0 -0
- /package/tests/webdriver/{t_properties.js → t-properties.js} +0 -0
- /package/tests/webdriver/{t_script.js → t-script.js} +0 -0
- /package/tests/webdriver/{t_select_all.js → t-select-all.js} +0 -0
- /package/tests/webdriver/{t_selection.js → t-selection.js} +0 -0
- /package/tests/webdriver/{t_text_all.js → t-text-all.js} +0 -0
- /package/tests/webdriver/{t_text.js → t-text.js} +0 -0
- /package/webdriver/{app_driver.js → app-driver.js} +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { is_test_output, success } from '../../base/test.js';
|
|
2
|
+
import { MockSeriesWithServicer } from './mock-servicer.js';
|
|
3
|
+
|
|
4
|
+
export async function test() {
|
|
5
|
+
const ts = {
|
|
6
|
+
'tests': {
|
|
7
|
+
meta: {
|
|
8
|
+
servicer: 'docker',
|
|
9
|
+
services: ['mysql', 'redis'],
|
|
10
|
+
},
|
|
11
|
+
files: ['t_example.js'],
|
|
12
|
+
},
|
|
13
|
+
'tests/t_example.js': {
|
|
14
|
+
test() {
|
|
15
|
+
success('Servicer test example works');
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
await is_test_output(
|
|
21
|
+
() => MockSeriesWithServicer.run([], { ts }),
|
|
22
|
+
[
|
|
23
|
+
'Settings: no temporary storage dir',
|
|
24
|
+
'Settings: logging into /tmp',
|
|
25
|
+
'Settings: chrome webdrivers',
|
|
26
|
+
'\x1B[38;5;99mStarted\x1B[0m mac/',
|
|
27
|
+
'!Running: mac/init, path: tests/meta.js',
|
|
28
|
+
'MockServicer:docker init',
|
|
29
|
+
'MockServicer:docker starting mysql',
|
|
30
|
+
'MockServicer:docker starting redis',
|
|
31
|
+
'>mac/init completed in',
|
|
32
|
+
'!Running: mac/t_example.js, path: tests/t_example.js',
|
|
33
|
+
'\x1B[32mOk:\x1B[0m Servicer test example works',
|
|
34
|
+
'>mac/t_example.js completed in',
|
|
35
|
+
'!Running: mac/uninit, path: tests/meta.js',
|
|
36
|
+
'MockServicer:docker deinit',
|
|
37
|
+
'MockServicer:docker stopping redis',
|
|
38
|
+
'MockServicer:docker stopping mysql',
|
|
39
|
+
'>mac/uninit completed in',
|
|
40
|
+
'\x1B[102mSuccess!\x1B[0m Total: 1',
|
|
41
|
+
'\x1B[38;5;243mCompleted\x1B[0m mac/',
|
|
42
|
+
'Logs are written to',
|
|
43
|
+
'Elapsed:',
|
|
44
|
+
'Logs are written to',
|
|
45
|
+
'MockServicer:docker shutdown',
|
|
46
|
+
'Testsuite: shutdown',
|
|
47
|
+
],
|
|
48
|
+
[],
|
|
49
|
+
'servicer lifecycle',
|
|
50
|
+
);
|
|
51
|
+
}
|
package/tests/series/test.js
CHANGED
package/tests/test.js
ADDED
package/tests/webdriver/test.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { is_output } from '../../core/base.js';
|
|
2
2
|
import { testflow, fail } from '../../core/core.js';
|
|
3
3
|
import { scope } from '../../webdriver/session.js';
|
|
4
|
-
import { TestExecutionError } from '../../webdriver/
|
|
4
|
+
import { TestExecutionError } from '../../webdriver/driver-base.js';
|
|
5
5
|
|
|
6
6
|
const reducedTimeout = 0.001;
|
|
7
7
|
|
|
@@ -30,8 +30,8 @@ const eat_failure = func => async () => {
|
|
|
30
30
|
|
|
31
31
|
export * from '../../core/core.js';
|
|
32
32
|
export * from '../../core/base.js';
|
|
33
|
-
export * from '../../webdriver/
|
|
34
|
-
export * from '../../webdriver/
|
|
33
|
+
export * from '../../webdriver/app-driver.js';
|
|
34
|
+
export * from '../../webdriver/control-driver.js';
|
|
35
35
|
|
|
36
36
|
export function do_self_tests(snippet, test) {
|
|
37
37
|
return scope(snippet, async session => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import settings from '../core/settings.js';
|
|
1
|
+
import { settings } from '../core/settings.js';
|
|
2
2
|
import { is } from '../core/base.js';
|
|
3
3
|
import {
|
|
4
4
|
assert,
|
|
@@ -37,6 +37,8 @@ function getChromeOptions() {
|
|
|
37
37
|
deviceName: 'iPhone 7',
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
+
// Accept self-signed certificates (for k3s testing)
|
|
41
|
+
chromeOptions.addArguments('ignore-certificate-errors');
|
|
40
42
|
return chromeOptions;
|
|
41
43
|
}
|
|
42
44
|
|
package/webdriver/driver.js
CHANGED
|
@@ -3,7 +3,7 @@ import { test_is, test_contains, is, contains, ok } from '../core/base.js';
|
|
|
3
3
|
import { assert, fail } from '../core/core.js';
|
|
4
4
|
import { is_mac, stringify, toDataURL } from '../core/util.js';
|
|
5
5
|
import { log } from '../logging/logging.js';
|
|
6
|
-
import { getTimeout, DriverBase } from './
|
|
6
|
+
import { getTimeout, DriverBase } from './driver-base.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* A chainable web driver providing a number of handy methods to navigate
|
package/webdriver/session.js
CHANGED
|
@@ -145,38 +145,65 @@ async function start_session(arg1, arg2) {
|
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* Opens a new browser window and runs the given tests within it.
|
|
148
|
-
* @param
|
|
149
|
-
*
|
|
150
|
-
|
|
148
|
+
* @param args - [url?], tests, [options?], [libs?]
|
|
149
|
+
* url: string or function returning string
|
|
150
|
+
* tests: async function receiving session
|
|
151
|
+
* options: object (e.g., {auto_session: false})
|
|
152
|
+
* libs: array of library paths to load
|
|
151
153
|
*/
|
|
152
|
-
const scope =
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
await active_sessions[1].close();
|
|
154
|
+
const scope =
|
|
155
|
+
(...args) =>
|
|
156
|
+
async () => {
|
|
157
|
+
let libs, options, tests, url_or_snippet_getter;
|
|
158
|
+
|
|
159
|
+
// Extract args from end: libs (array) then options (object) then tests (function) then url
|
|
160
|
+
for (let i = args.length - 1; i >= 0; i--) {
|
|
161
|
+
const arg = args[i];
|
|
162
|
+
if (!libs && Array.isArray(arg)) {
|
|
163
|
+
libs = arg;
|
|
164
|
+
} else if (
|
|
165
|
+
!options &&
|
|
166
|
+
arg &&
|
|
167
|
+
typeof arg === 'object' &&
|
|
168
|
+
typeof arg !== 'function'
|
|
169
|
+
) {
|
|
170
|
+
options = arg;
|
|
171
|
+
} else if (!tests && typeof arg === 'function') {
|
|
172
|
+
tests = arg;
|
|
173
|
+
} else if (typeof arg === 'string' || typeof arg === 'function') {
|
|
174
|
+
url_or_snippet_getter = arg;
|
|
175
|
+
}
|
|
175
176
|
}
|
|
176
|
-
|
|
177
|
-
|
|
177
|
+
|
|
178
|
+
const url_or_snippet = url_or_snippet_getter
|
|
179
|
+
? typeof url_or_snippet_getter === 'function'
|
|
180
|
+
? url_or_snippet_getter()
|
|
181
|
+
: url_or_snippet_getter
|
|
182
|
+
: null;
|
|
183
|
+
|
|
184
|
+
assert(tests, 'No tests to run provided');
|
|
185
|
+
|
|
186
|
+
// Do the test.
|
|
187
|
+
try {
|
|
188
|
+
// Start session if requested.
|
|
189
|
+
let session = null;
|
|
190
|
+
if (!options || options.auto_session !== false) {
|
|
191
|
+
session = await start_session(url_or_snippet, libs);
|
|
192
|
+
}
|
|
193
|
+
await tests(session);
|
|
194
|
+
} catch (e) {
|
|
195
|
+
log_error(e);
|
|
196
|
+
fail(e.message);
|
|
197
|
+
} finally {
|
|
198
|
+
log(`Quit ${active_sessions.length} wd session(s)`);
|
|
199
|
+
|
|
200
|
+
while (active_sessions.length > 1) {
|
|
201
|
+
await active_sessions[1].close();
|
|
202
|
+
}
|
|
203
|
+
if (active_sessions.length == 1) {
|
|
204
|
+
await active_sessions[0].quit();
|
|
205
|
+
}
|
|
178
206
|
}
|
|
179
|
-
}
|
|
180
|
-
};
|
|
207
|
+
};
|
|
181
208
|
|
|
182
209
|
export { start_session, scope };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/tests/e2e/samples/{loader_multiple/tests/module_mock.js → loader/tests/module-mock.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/tests/e2e/samples/{loader_mixed/tests/ui/t_test.js → loader-mixed/tests/ui/t-test.js}
RENAMED
|
File without changes
|
package/tests/e2e/samples/{loader_mixed/tests/unit/t_test.js → loader-mixed/tests/unit/t-test.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/tests/e2e/samples/{loader_mixed/tests/module_mock.js → loader-multiple/tests/module-mock.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -31,9 +31,9 @@ export async function test() {
|
|
|
31
31
|
'\x1B[41m\x1B[37mFailed!\x1B[0m Passed: 0. Failed: 1',
|
|
32
32
|
'\x1B[38;5;243mCompleted\x1B[0m mac/',
|
|
33
33
|
'Logs are written to',
|
|
34
|
-
'Testsuite: shutdown',
|
|
35
34
|
'Elapsed:',
|
|
36
35
|
'Logs are written to',
|
|
36
|
+
'Testsuite: shutdown',
|
|
37
37
|
];
|
|
38
38
|
|
|
39
39
|
const expected_stderr = [
|
|
@@ -55,9 +55,9 @@ export async function test() {
|
|
|
55
55
|
'\x1B[102mSuccess!\x1B[0m Total: 2',
|
|
56
56
|
'\x1B[38;5;243mCompleted\x1B[0m mac/',
|
|
57
57
|
'Logs are written to',
|
|
58
|
-
'Testsuite: shutdown',
|
|
59
58
|
'Elapsed:',
|
|
60
59
|
'Logs are written to',
|
|
60
|
+
'Testsuite: shutdown',
|
|
61
61
|
],
|
|
62
62
|
[],
|
|
63
63
|
'nested',
|
|
@@ -84,9 +84,9 @@ export async function test() {
|
|
|
84
84
|
'\x1B[102mSuccess!\x1B[0m Total: 1',
|
|
85
85
|
'\x1B[38;5;243mCompleted\x1B[0m mac/',
|
|
86
86
|
'Logs are written to',
|
|
87
|
-
'Testsuite: shutdown',
|
|
88
87
|
'Elapsed:',
|
|
89
88
|
'Logs are written to',
|
|
89
|
+
'Testsuite: shutdown',
|
|
90
90
|
];
|
|
91
91
|
|
|
92
92
|
const expected_stderr = [
|
|
@@ -66,9 +66,9 @@ export async function test() {
|
|
|
66
66
|
'\x1B[41m\x1B[37mFailed!\x1B[0m Passed: 0. Failed: 1',
|
|
67
67
|
'\x1B[38;5;243mCompleted\x1B[0m mac/',
|
|
68
68
|
'Logs are written to',
|
|
69
|
-
'Testsuite: shutdown',
|
|
70
69
|
'Elapsed:',
|
|
71
70
|
'Logs are written to',
|
|
71
|
+
'Testsuite: shutdown',
|
|
72
72
|
];
|
|
73
73
|
|
|
74
74
|
const expected_stderr = [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/tests/webdriver/{t_no_elements_or_not_visible.js → t-no-elements-or-not-visible.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|