-
Notifications
You must be signed in to change notification settings - Fork 26
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
test(ui): implement automated browser testing #687
Conversation
Deploy preview for helix-ui ready! Built with commit 3c37df9 |
58c2bf9
to
723e2b4
Compare
c2faa40
to
dbbd906
Compare
eec7c04
to
78cf33c
Compare
78cf33c
to
c6831bb
Compare
7c36972
to
b1d7609
Compare
if ( name !== null ) { | ||
expect(name).to.be.equal(''); | ||
} else { | ||
expect(name).to.be.null; // IE11 and Legacy Edge | ||
} |
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.
This test was updated because IE11 and Legacy Edge (plus older modern browsers) do not have a "real" Shadow DOM. That's one of the main reasons why we need and use pollyfills.
f0c6db6
to
3c37df9
Compare
* implement automated browser testing in the CI pipeline * runs full test suite in TravisCI for each pull request * initial prototype of UI automated testing * `<hx-error>` update named slot test for IE11 and Legacy Edge
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.
DEV LGTM
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.
DEV LGTM
Description
Screenshot of automated test runs
Screenshot of
TravisCI
runWhat are the relevant story cards/tickets? Any additional PRs or other references?
Jira: SURF-2050
Before you request a review for this PR:
yarn test
to ensure they all pass?