Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
runat-1128988: Audit test skips for PhantomJS 2.0
Browse files Browse the repository at this point in the history
Better comments for the existing skips and remove a skip that was no
longer needed.

Signed-off-by: Joe Walker <[email protected]>
  • Loading branch information
joewalker committed Feb 5, 2015
1 parent 32b0006 commit c8ccc9f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/gcli/test/testCli2.js
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ exports.testNestedCommand = function(options) {
}
},
{
skipIf: options.isPhantomjs,
skipIf: options.isPhantomjs, // PhantomJS gets predictions wrong
setup: 'tsn x',
check: {
input: 'tsn x',
Expand Down
2 changes: 1 addition & 1 deletion lib/gcli/test/testCompletion1.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ exports.testActivate = function(options) {
}
},
{
skipIf: options.isPhantomjs,
skipIf: options.isPhantomjs, // PhantomJS gets predictions wrong
setup: 'tsg d',
check: {
hints: ' [options] -> ccc'
Expand Down
5 changes: 1 addition & 4 deletions lib/gcli/test/testFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ var local = false;
exports.testBasic = function(options) {
return helpers.audit(options, [
{
// These tests require us to be using node directly or to be in
// PhantomJS connected to an execute enabled node server or to be in
// firefox.
skipRemainingIf: options.isPhantomjs || options.isFirefox,
skipRemainingIf: options.isFirefox, // No file implementation in Firefox
setup: 'tsfile open /',
check: {
input: 'tsfile open /',
Expand Down
4 changes: 2 additions & 2 deletions lib/gcli/test/testUnion.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ exports.testDefault = function(options) {
}
},
{
skipIf: options.isPhantomjs, // Phantom goes weird with predictions
skipIf: options.isPhantomjs, // PhantomJS gets predictions wrong
setup: 'unionc1 5',
check: {
input: 'unionc1 5',
Expand Down Expand Up @@ -136,7 +136,7 @@ exports.testDefault = function(options) {
}
},
{
skipRemainingIf: options.isPhantomjs,
skipIf: options.isPhantomjs, // PhantomJS URL type is broken
setup: 'unionc2 on',
check: {
input: 'unionc2 on',
Expand Down
2 changes: 1 addition & 1 deletion lib/gcli/test/testUrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var helpers = require('./helpers');
exports.testDefault = function(options) {
return helpers.audit(options, [
{
skipRemainingIf: options.isPhantomjs,
skipRemainingIf: options.isPhantomjs, // PhantomJS URL type is broken
setup: 'urlc',
check: {
input: 'urlc',
Expand Down

1 comment on commit c8ccc9f

@bgrins
Copy link

@bgrins bgrins commented on c8ccc9f Feb 24, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Please sign in to comment.