-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempt to make tests more consistent #1565
Merged
Merged
Changes from 36 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
dc7f7cf
Fixes to inventory tests
brent-hoover 2db705b
Create new versions of cart fixtures that create less "random" versio…
brent-hoover 4216401
Eliminate unneeded originals entries
brent-hoover e5e9712
Put expectations in callbacks rather than putting in sleeps
brent-hoover ebeccbc
Make this global wait more visible
brent-hoover 81af995
Merge branch 'development' into brent-inventory-tests-stage2
brent-hoover 689519d
The quantity on remove quantity should always be 1 now that we are us…
brent-hoover 1600a86
Allow direct importing of inventory function
brent-hoover 4cc48f2
creating createCart function
brent-hoover 2e93d6c
test for createCart function
brent-hoover 00b61db
Directly call registerInventory to avoid permissions check that doesn…
brent-hoover 721f386
Add singleVariant version of addProduct
brent-hoover c78a35b
Trying to get these tests to run reliably by trying to normalize the …
brent-hoover aa0c479
createCart function
brent-hoover 754ae97
test for createCart function
brent-hoover 3d473e6
Change currency symbol for PHP (wut?)
brent-hoover 9ab7b5c
Db-normalized inventory tests
brent-hoover 13736c1
Just blindly increase this timeout
brent-hoover 52d32e2
Add comment explaining why we need this long timeout
brent-hoover 68fa01d
Remove Logger
brent-hoover cf704b5
Merge branch 'development' into brent-inventory-tests-stage2
brent-hoover 4259e90
Merge branch 'development' into brent-inventory-tests-stage2
brent-hoover 1c5bd14
Merge branch 'release-0.18.0' into brent-inventory-tests-stage2
brent-hoover 1e90a19
Extend timeout on cart test
brent-hoover dc03a3c
Add sleep for createVariant tests
brent-hoover 85efcdb
Quiet inventory register logging that I should not have put there anyway
brent-hoover f7023af
Don't operate on product if it's not found
brent-hoover 8b08831
Merge branch 'release-0.18.0' into brent-inventory-tests-stage2
brent-hoover 92e1e9a
Update to fixed publication-collector
brent-hoover dde3153
Increase timeout on discount test
brent-hoover a801613
Update publication-collector
brent-hoover 74e50b5
Don't call Alert in a server method
brent-hoover 4f50e4c
Merge branch 'release-0.18.0' into brent-inventory-tests-stage2
brent-hoover ea14652
Merge branch 'release-0.18.0' into brent-inventory-tests-stage2
brent-hoover 37c5856
Merge branch 'release-0.18.0' into brent-inventory-tests-stage2
brent-hoover 7ba926b
Merge branch 'release-0.18.0' into brent-inventory-tests-stage2
bbfb815
Lint cleanup
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,13 +75,14 @@ tmeasday:publish-counts | |
vsivsi:job-collection | ||
react-meteor-data | ||
percolate:migrations | ||
johanbrook:[email protected] | ||
|
||
|
||
# Testing packages | ||
dburles:factory | ||
dispatch:mocha | ||
practicalmeteor:chai | ||
practicalmeteor:sinon | ||
johanbrook:publication-collector | ||
|
||
# Performance & Debugging Tools | ||
# meteorhacks:fast-render # improve initial page loads | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3434,7 +3434,7 @@ | |
}, | ||
"PHP": { | ||
"format": "%s %v", | ||
"symbol": "PHP" | ||
"symbol": "₱" | ||
}, | ||
"PLN": { | ||
"format": "%s%v", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
before(function () { | ||
this.timeout(6000); | ||
Meteor._sleepForMs(500); | ||
}); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just sneaking this in there, eh? 👍