Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Shadow dom #9

Merged
merged 8 commits into from Mar 26, 2019
Merged

Shadow dom #9

merged 8 commits into from Mar 26, 2019

Conversation

duncdrum
Copy link
Contributor

@duncdrum duncdrum commented Mar 26, 2019

functional tests of the new and old dashboards.

old package-manager has a skipped test, fixing it seems not worth the effort. If anybody feels like having a go at it be my guest.

The 2 skipped monex test still point to actual errors

close #8 #1

@duncdrum duncdrum requested a review from a team March 26, 2019 15:53
Copy link
Member

@line-o line-o left a comment

Choose a reason for hiding this comment

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

Looks good, though I did not run the tests locally. But from static code analysis only the describe.skip instead of xdescribe caught my attention. Good stuff.

})
// Pending since index pages have console error
// see https://github.com/eXist-db/monex/issues/60
xdescribe('profiling', function () {
Copy link
Member

Choose a reason for hiding this comment

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

Have you tried describe.skip(...) here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

both work the same, for consistency i stuck with x

Copy link
Member

Choose a reason for hiding this comment

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

Oh really, interesting!

Copy link
Member

@line-o line-o Mar 26, 2019

Choose a reason for hiding this comment

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

I still prefer .skip being more readable and more obvious. Also, it is not mentioned in the mocha docs front page and could therefore be considered discouraged style. Moreover, is there a alternative representation for .only?
So, in the long run I would prefer to switch to .skip globally.

cy.contains('/db/apps/monex/controller.xql')
})
})
xdescribe('indexes', function () {
Copy link
Member

Choose a reason for hiding this comment

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

see above

@line-o line-o merged commit f566a25 into master Mar 26, 2019
@duncdrum duncdrum deleted the shadow-dom branch March 26, 2019 16:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix failing build due to Dashboard 2.0
2 participants