Skip to content

Commit 63f116a

Browse files
Merge pull request #54 from terminusdb/fix-group-by
fix woql.date, woql.datetime
2 parents 25bcdcf + 0f15b2f commit 63f116a

File tree

14 files changed

+68
-49
lines changed

14 files changed

+68
-49
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ packages/tdb-dashboard/cypress/integration/2-advanced-examples
1212
node_modules/
1313
lerna-debug.log
1414
packages/tdb-dashboard/local_file
15-
*.DS_Store
15+
*.DS_Store
16+
17+
packages/tdb-dashboard/cypress.config_local.js

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
env:{},
3+
defaultCommandTimeout: 120000,
4+
responseTimeout: 120000,
5+
requestTimeout: 120000,
6+
chromeWebSecurity: false,
7+
e2e: {
8+
// We've imported your old cypress plugins here.
9+
// You may want to clean this up later by importing these.
10+
setupNodeEvents(on, config) {
11+
return require('./cypress/plugins/index.js')(on, config)
12+
},
13+
baseUrl: 'https://dashboard-dev.terminusdb.com/',
14+
15+
16+
},
17+
}

packages/tdb-dashboard/cypress.json

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/// <reference types="cypress" />
2+
3+
describe('visit dashboard local', () => {
4+
const dashboard = "http://localhost:6364/dashboard"
5+
6+
7+
beforeAll(function () {
8+
// visit at the start
9+
cy.visit(dashboard)
10+
})
11+
12+
const user ="admin"
13+
const pass ="root"
14+
15+
16+
it('Check to see that you can login with an exists user', () => {
17+
//check to be in terminusdb - login page
18+
cy.get('#add_element_name').type(user).trigger('change');
19+
cy.get('#add_element_password').type(pass).trigger('change');
20+
cy.get('#add_element_button').click()
21+
cy.wait(5000)
22+
23+
//admin
24+
25+
})
26+
27+
//add_element_name
28+
29+
30+
})

packages/tdb-dashboard/cypress/integration/dashboard/workflow.js renamed to packages/tdb-dashboard/cypress/e2e/dashboard/workflow.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
describe('visit dashboard dev', () => {
99
const dashboard = "/"//"https://dashboard-dev.terminusdb.com/"
1010

11-
let emailAddressOwner = Cypress.env('COLLABORATOR_USER')
12-
let ownerPass = Cypress.env('COLLABORATOR_USER')
11+
let emailAddressOwner = "[email protected]"//Cypress.env('COLLABORATOR_USER')
12+
let ownerPass = "[email protected]"///Cypress.env('COLLABORATOR_USER')
1313

1414
//const collaboratorEmail =
1515

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
//group_by("v:type",["v:a"],"group_type").triple("v:a","rdf:type","v:type")

packages/tdb-dashboard/cypress/integration/dashboard/local_dashboard.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)