This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //<debug> | |
| // If we have ?nolaunch query parameter, don't call Ext.application | |
| // | |
| if (location.search.match(/\bnolaunch\b/)) { | |
| Ext.require(''); // still need the reequires from Ext.application | |
| } else { | |
| //</debug> | |
| /* | |
| * This file is responsible for launching the application. Application logic should be |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Create first, main (top-left) console | |
| cmd.exe -cur_console:n /k pushd Q:\Data\Don\Git\configly & "%ConEmuBaseDir%\CmdInit.cmd" | |
| # Split it evenly vertical to create (2nd) bottom-left console | |
| cmd.exe -cur_console:s1TVn /k pushd Q:\Data\Don\Git\configly & "%ConEmuBaseDir%\CmdInit.cmd" & C:\Programs\Git\git-cmd.exe --no-cd --command=usr/bin/bash.exe -l -i | |
| # Split 1st console (top-left) horizontally by 1/3 to create top-right | |
| cmd.exe -cur_console:s1T33H /k pushd Q:\Data\Don\Git\phylo & "%ConEmuBaseDir%\CmdInit.cmd" | |
| # Split 1st console again now by 1/2 to create top-center |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- NOTE: Organizations have id and parentOrgId columns | |
| -- OrgClosure has parentId, childId, depth columns | |
| CREATE OR REPLACE TRIGGER Org_Add_Trigger | |
| AFTER INSERT ON Organization | |
| REFERENCING NEW AS NEW | |
| FOR EACH ROW | |
| BEGIN | |
| -- must insert in this order... | |
| insert into OrgClosure (parentId, childId, depth) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const webdriver = require('selenium-webdriver'); | |
| describe('Happy path', function() { | |
| let driver; | |
| const Page = { | |
| name : 'name', | |
| pswd : 'pswd', | |
| login : 'login', | |
| getEl(locator) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <!-- Required for IE11 compatibility--> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |
| <!-- Web interface --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const project = new Siesta.Project.Browser(); | |
| project.configure({ | |
| title : 'Basic browser test suite', | |
| pageUrl: '../index.html' | |
| }); | |
| project.plan( | |
| { | |
| group : 'Login', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe('Login to application', t => { | |
| const Page = { | |
| name : 'input[name="name"]', | |
| pswd : 'input[type="password"]', | |
| login : 'input[type="button"]' | |
| }; | |
| t.it('should login with name and password', async t => { | |
| await t.click(Page.name); | |
| await t.type(Page.name, 'dongryphon'); |