backoffice/node_modules/slimscroll/test/slimscroll.js

55 lines
1.4 KiB
JavaScript

/*
* slimscroll
* http://github.com/yawetse/slimscroll
*
* Copyright (c) 2014 Yaw Joseph Etse. All rights reserved.
*/
'use strict';
var should = require('chai').should(),
expect = require('chai').expect,
Linotype = require('../lib/slimscroll'),
Browser = require("zombie"),
path = require("path");
describe('DOM Manipulation', function () {
describe('Initializing Page Settings', function () {
var linotypeTest;
before(function(){
this.browser = new Browser();
this.browser.on("error",function(error){
console.error(error);
});
});
before(function(done){
this.browser.visit("file://"+path.resolve(__dirname,"../example/ssmaster/examples/index.html"),done);
});
it('should set the css of the linotype element', function () {
// linotypeTest = new this.browser.window.linotype();
// expect(true).to.equal(false);
});
it('should add navigation options to the page', function () {
// linotypeTest = new this.browser.window.linotype();
// expect(true).to.equal(false);
});
it('should have at least one section active', function () {
// linotypeTest = new this.browser.window.linotype();
// expect(true).to.equal(false);
});
it('should wrap each section with a table container if vertically centered',function(){});
it('should wrap each slide with a table container if vertically centered',function(){});
it('should activate anchor link of active slide',function(){});
});
});