UNPKG

ozone-login-form

Version:

generic login form for ozone authentication

51 lines (43 loc) 1.33 kB
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"> <title>ozone-video-player test</title> <script src="../../webcomponentsjs/webcomponents-lite.js"></script> <script src="../../web-component-tester/browser.js"></script> <script src="../build/index.js"></script> </head> <body> <!-- <dom-bind> --> <test-fixture id="BasicTestFixture"> <template> <ozone-login-form></ozone-login-form> </template> <!-- </dom-bind> --> </test-fixture> <script> describe('<ozone-login-form>', function() { describe('API', function(){ it('should expose expected properties', function() { var element = fixture('BasicTestFixture') expect(element).to.have.property('username') expect(element).to.have.property('password') }) it('should expose expected methods', function() { var element = fixture('BasicTestFixture') expect(element).to.respondTo('register') expect(element).to.respondTo('submitForm') }) }) describe('some func', function() { it('should do something ', function(done) { // Create a test fixture assert.equal(true, true) done() }); }); }); </script> </body> </html>