Commit Graph

149 Commits

Author SHA1 Message Date
Renan Castro
875f656a6f Merge branch 'release-2.6.1' into release-2.7
# Conflicts:
#	meteor
#	npm-packages/meteor-babel/package-lock.json
#	npm-packages/meteor-babel/package.json
#	packages/babel-compiler/.npm/package/npm-shrinkwrap.json
#	packages/babel-compiler/package.js
#	packages/meteor-tool/package.js
#	scripts/admin/meteor-release-experimental.json
#	scripts/dev-bundle-tool-package.js
2022-02-18 17:29:03 -03:00
Renan Castro
6f8029eb2e Fix browserstack tests - remove testing for IE 9.
- upgrade dev bundle for final version of meteor/babel
2022-02-18 14:37:58 -03:00
zodern
d380e8b336 Fix running self tests with puppeteer on m1 2022-02-08 19:26:45 -06:00
Jan Dvorak
b6e127cfc9 Minor tools update
Replace underscore where easy and feasible & other minor modernization that I came across.
2021-06-25 00:36:03 +02:00
Renan Castro
c01b1371da Fix browserstack test failures. Old puppeteer is not supported anymore. 2021-06-23 17:53:10 -03:00
filipenevola
1f234574e8 New deploy option: build-only
- some clients want to have the ability to build first and after some validations proceeding with the upload and deploy
2021-06-14 08:11:58 -04:00
Jan Dvorak
f104723017 Remove [object Object] from tests 2021-05-27 11:10:05 +02:00
Jan Dvorak
9d7520910c Add cross to run failure to copy the style of success 2021-05-19 17:22:23 +02:00
Jan Dvorak
0b64e87c55 Fix tests visual for better visual navigation
Instead of everything being red, have passed test be green and information text be white.
2021-05-17 17:27:34 +02:00
filipenevola
d6c0cf1a56 Including blaze-hot, hot-module-replacement as packages in the sandbox as blaze skeleton is using them now 2021-04-13 15:35:47 -04:00
filipenevola
0dd85d5f2e Test clean up and exposing fullBuffer, useful to logs 2021-04-09 18:52:54 -04:00
filipenevola
abd6934c5b Simple debug adjusts 2021-04-09 18:52:54 -04:00
filipenevola
a717d8e9ee Merge branch 'release-2.2' of github.com:meteor/meteor into release-2.2 2021-03-31 12:11:33 -04:00
filipenevola
83d99bfbc6 Browserstack tests should run only on browserstack-check branch
These tests are flaky and also we are going to run them only before releases in a specific internal server
2021-03-30 10:05:13 -04:00
filipenevola
3d643b8a00 Fix typo in comment 2021-03-27 09:57:22 -04:00
filipenevola
9b36302e53 Document selftest new flags: preview, skip, limit 2021-02-24 07:28:53 -04:00
filipenevola
4de488f530 Change selftest plan flag to preview to avoid conflict with deploy plan flag 2021-02-24 07:25:47 -04:00
filipenevola
62c0f6c5c8 Improves tests and logs
Added new options to be easier to run in batches
- skip
- limit
- plan
2021-02-11 15:05:28 -04:00
filipenevola
883d58106c Improves tests and logs 2021-02-10 18:49:23 -04:00
denyhs
2c57504398 -Trying to run Browserstack inside Circle CI 2020-09-19 19:32:38 -04:00
denyhs
2ec3f13e6f -Trying to run Browserstack inside Circle CI 2020-09-19 19:14:08 -04:00
denyhs
525896b7a8 -Trying to run Browserstack inside Circle CI 2020-09-19 19:03:57 -04:00
denyhs
571cc01ca3 -Trying to run Browserstack inside Circle CI 2020-09-19 18:46:26 -04:00
denyhs
51a822bf69 -Trying to run Browserstack inside Circle CI 2020-09-19 18:23:24 -04:00
denyhs
5c34456e6a -Trying to run Browserstack inside Circle CI 2020-09-19 18:01:31 -04:00
denyhs
8d88f59639 -Trying to run Browserstack inside Circle CI 2020-09-19 17:36:46 -04:00
denyhs
27e6d32e2e - Inserting the word modules in the header part on the function _getClosureHeader
- Testing Safari in the version 11
2020-09-18 09:58:14 -04:00
filipenevola
f6f7751e54 #11064 App broken on iOS Safari 9 due to SyntaxError
- replaces the user to run Browserstack
2020-08-11 16:24:57 -04:00
Michael Newman
aedcffab3b Convert parse-stack.js to TypeScript (#10653)
* rename

* we don't need underscore to check whether an array is empty

* add types, resolve type issues

* remove unused markTop in run.js

* Make the type a little more consistent

* Tweak a check for an empty array

Co-Authored-By: Marcelo T Prado <marceloterreiroprado@gmail.com>
2020-04-20 14:47:34 -04:00
Ben Newman
a8507b5b0b Fix self-test error: unknown package in top-level dependencies: jquery. 2019-12-18 13:49:40 -05:00
Ben Newman
8567390e7e Fix error stack trace parsing during Windows self-tests. 2019-11-12 16:38:22 -05:00
Michael Newman
e0eb210194 Convert tools/utils/processes.js to tools/utils/processes.ts (#10627) 2019-07-25 17:34:13 -04:00
Paulo Mogollón
2ae2690f3a Convert tools/utils/archinfo.js to TypeScript. (#10624)
* Updated code to use modern JS
* Added types
* Stopped using 2 underscore functions (1 remaining)
2019-07-21 12:01:24 -04:00
Ben Newman
01fb509fff Implement an official typescript compiler plugin. 2019-07-07 19:29:34 -04:00
Ben Newman
5ed64fb1db Remove explicit .js extension from tools/fs/files imports. 2019-07-04 10:32:09 -04:00
Ben Newman
5d88d9a1a4 Improve stack traces for self-test failures. 2019-01-05 16:54:38 -05:00
Toine van Kampen
499bb7ea25 Merge remote-tracking branch 'meteor/devel' into devel
Rebaseline
2018-06-06 20:28:03 +10:00
Ben Newman
6be0514eaf Add modern-browsers to self-test sandbox root packages list. 2018-04-25 11:39:30 -04:00
Toine van Kampen
f28710ec23 Add PhantomJS option back in
Per feedback keep PhantomJS
2018-04-19 21:34:33 +10:00
Ben Newman
c032b9c271 Disable longjohn, since Node 8 now supports async stack traces. 2018-04-18 18:36:44 -04:00
Toine van Kampen
4bbc204bb0 Remove PhantomJS from App-Config
Remove PhantomJS from App-Config, Dynamic Import and Modules.
Explicitly end page before browser to ensure both are null.
2018-04-16 06:40:31 +10:00
Toine van Kampen
cd28686c7c Fix comment
Make it clear that running with sandbox off is required for
Travis/Circle but is not recommended. This should be further enhanced.
2018-04-14 14:22:24 +10:00
Toine van Kampen
d2eabd74bc Initial Config for Puppeteer
Base config for puppeteer and replace PhantomJS
2018-04-14 12:58:36 +10:00
Ben Newman
5938e88a83 Scan packages/non-core in self-test, e.g. to find jquery. 2018-04-03 12:50:42 -04:00
Ben Newman
e7ad5d2a42 Call files.cp_r with { preserveSymlinks: true } in more places.
Now that symlinks can be used to enable selective compilation of
node_modules, it's important to preserve them.
2018-03-26 12:04:12 -04:00
Hugh Willson
540dc00230 Add a self-test skip option (#9579)
* Add a self-test skip option

Meteor's CI infrastructure is configured to exclude certain
`self-test`'s on each run. These excludes are specified in
each CI environment's config file, and included when running
`meteor self-test`. Developers running `meteor self-test`
locally however are not using these excludes by default,
so developer's have to manually look up the current exclude
list from one of the CI configs, then add these excludes to
their own `meteor self-test` call manually.

This commit adds a new `skip` option to Meteor's `self-test`
system, that can be used to skip adding/running a defined
`self-test` (similar in concept to Mocha's `skip` feature).
This provides a way to skip the running of older
`self-test`'s that are no longer needed, but allows them to
be preserved in the `self-test` suite, for future reference.
With this functionality in place, and the older test suites
updated to use it, Meteor's base CI excludes no longer need
to be maintained in their respective config files. The
excludes are all managed at the source (the test definition),
and can be leveraged by anyone/anything calling
`meteor self-test`.

* Log message describing skipped test

* Add manually-ignored count to self-test summary

* Small comment correction

* History.md entry with PR link
2018-01-29 14:25:09 +02:00
Jesse Rosenberger
1c796a69e1 Change some strings to be template literals.
There's probably a ways to go here, but these seemed like easy targets.
2017-11-29 21:51:15 +02:00
Jesse Rosenberger
936884e740 Address feedback from @benjamn regarding setRunningTest.
A great suggestion!

Refs: https://github.com/meteor/meteor/pull/9364#discussion_r150981769
2017-11-29 21:50:49 +02:00
Jesse Rosenberger
5475add47f Re-factor and re-enable BrowserStack Automate for meteor self-test.
Much of the infrastructure to run "self test" tests (those which test
core functionality of the `meteor` tool itself) in PhantomJS and
BrowserStack was already in place, though the BrowserStack portion had
been disabled some time ago, though the exact reason isn't entirely
clear.

BrowserStack could play an important roll in Meteor's future as Meteor
works to ensure that the bundle delivered to the client is appropriate
for that client's capabilities, including appropriate polyfills to
implement functionality not natively available in the browser (e.g.
ECMAScript features, SockJS, etc.).
2017-11-29 21:40:00 +02:00
Jesse Rosenberger
0ab298dd34 Change failedTests to live on the testList.
Since tests themselves already keep track of their failure, and the test
list (i.e. the `TestList` class) tracks other concepts of grouped tests,
such as "all tests", "filtered tests", etc. (like a `TestList` class
would!) I believe it makes sense for it to also maintain a collection of
"failed tests"... (in list form, of course!)

This will allow the `Run.runTest` logic to move into `run.js` file without
needing to pass back a separate `failed` variable in the event of a
failure, since that is already being tracked through the  `notifyFailed`
facility.
2017-11-29 21:33:26 +02:00